powered by
Grouped head function for data.frames.
# S3 method for data.frame ghead(x, nh=3, …, group.by)
A data.frame.
Integer, the number of rows per group.
A string, giving the name of the grouping variable. If missing, defaults to the first string or factor, with non-unique values.
Ignored.
Currently, returns a formatted character matrix, however, it's possible this may change in the future.
select, selectf
headt.data.frame
# NOT RUN { ghead (iris) # }
Run the code above in your browser using DataLab