mdaplotg.prepareData {mdatools} | R Documentation |
Prepare data for mdaplotg
Description
Prepare data for mdaplotg
Usage
mdaplotg.prepareData(data, type, groupby)
Arguments
data |
datasets (in form of list, matrix or data frame) |
type |
vector with type for dataset |
groupby |
factor or data frame with factors - used to split data matrix into groups |
Value
list of datasets
The method should prepare data as a list of datasets (matrices or data frames). One list element will be used to create one plot series.
If 'data' is matrix or data frame and not 'groupby' parameter is provided, then every row will be taken as separate set. This option is available only for line or bar plots.
[Package mdatools version 0.14.1 Index]