Learn R Programming

mxfda (version 0.2.2-1)

add_summary_function: Add Summary Function

Description

Sometimes other ways of calculating summary functions is wanted and is done in other packages, in this instance the data can be loaded into the mxFDA object.

Usage

add_summary_function(mxFDAobject, summary_function_data, metric)

Value

an updated mxFDA object with a derived value added. See make_mxfda() for more details.

Arguments

mxFDAobject

object of class mxFDA

summary_function_data

data frame with summary_key from mxFDA object as key column for summary function

metric

character vector with either 'uni' or 'bi' and 'k', 'l', or 'g'; e.g. 'uni g'

Author

Alex Soupir alex.soupir@moffitt.org