fpc_plot_helper: Extract Data for FPC Plot

View source: R/helperfunctions_plots.R

fpc_plot_helperR Documentation

Extract Data for FPC Plot

Description

This function gives as an output the data set necessary to plot the eigenfunctions. It is meant to be general enough to also include more than two dimensions.

Usage

fpc_plot_helper(model, mcomp, component, dimlabels, two_d = FALSE,
  multi = TRUE, m_fac = 2)

Arguments

model

The multifamm model from which to extract the estimates.

mcomp

The extracted model components as given by the internal function extract_components().

component

Which FPC component to extract. Possible values ("B", "C", "E")

dimlabels

The dimensions of the model.

two_d

Is a two dimensional representation (e.g. x and y coordinate) a better representation for the data. Defaults to FALSE (one variable).

multi

Is the model a multifamm or a sparseFLMM model. Defaults to TRUE (multifamm model).

m_fac

Multiplication factor to represent the difference from the overall mean.


alexvolkmann/multifammPaper documentation built on Sept. 9, 2024, 8:47 p.m.