mdaplotg.prepareData: Prepare data for mdaplotg

View source: R/mdaplotg.R

mdaplotg.prepareDataR 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.


mdatools documentation built on Sept. 11, 2024, 7:59 p.m.