
The “seq_len” Function in R
Generates a sequence of integers from 1 to a specified length.
The “which” Function in R
Returns the indices of the elements that are TRUE in a logical vector.
The “ifelse” Function in R
Provides a vectorized way to perform conditional (if-else) operations on elements of a vector.
The “factor” Function in R
Converts a vector into a factor, which represents categorical data.
The “cut” Function in R
Divides a numeric vector into intervals (bins) and labels each interval.
The “aggregate” Function in R
Applies a function to the data in each group of a data frame.
The “aov” Function in R
Fits analysis of variance (ANOVA) models for comparing means across multiple groups.
The “chisq.test” Function in R
Performs chi-squared tests of independence and goodness-of-fit.
The “wilcox.test” Function in R
Performs Wilcoxon signed-rank tests and Wilcoxon rank sum tests (Mann-Whitney tests).
The “ks.test” Function in R
Performs the Kolmogorov-Smirnov test for comparing the distribution of a sample to a specified distribution.