R/utilizR.R
groupR.Rd
Extract first n groups in data frame
groupR(data, grps, n)
dataframe
grouping variable
number of groups to extract
filtered dataset including only n first groups