Tagged: split

How to split vector and data frame in R

Split vector and data frame in R, splitting data into groups depending on factor levels can be done with R’s split() function. Split() is a built-in R function that divides a vector or data...