powered by
This function allows to set groups for rows, columns or clusters that shall be summarised.
setGroups(schema = NULL, rows = NULL, columns = NULL)
An object of class schema.
schema
[schema(1)] In case this information is added to an already existing schema, provide that schema here (overwrites previous information).
schema(1)
[list(3)] the output of .sum indicating the rows and a function according to which those rows should be summarised.
list(3)
.sum
[list(3)] the output of .sum indicating the columns and a function according to which those columns should be summarised.
Other functions to describe table arrangement: setCluster(), setFilter(), setFormat(), setIDVar(), setObsVar()
setCluster()
setFilter()
setFormat()
setIDVar()
setObsVar()
# please check the vignette for examples
Run the code above in your browser using DataLab