add_summary_function {mxfda}R Documentation

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)

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'

Value

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

Author(s)

Alex Soupir alex.soupir@moffitt.org


[Package mxfda version 0.2.1 Index]