add_summary_function function

Add Summary Function

Add Summary Function

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.

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'

Returns

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

Author(s)

Alex Soupir alex.soupir@moffitt.org