View source: R/helperfunctions_plots.R
covariate_plot_helper | R Documentation |
This function gives as an output the data set necessary to plot the covariate effects. It is meant to be general enough to also include more than two dimensions.
covariate_plot_helper(model, mcomp, dimlabels, int_include = TRUE,
multi = TRUE, m_fac = 1.96)
model |
The multifamm model from which to extract the estimates. |
mcomp |
The extracted model components as given by the internal function extract_components(). |
dimlabels |
The dimensions of the model. |
int_include |
Include the estimate and uncertainty of the scalar intercept in the values of the functional intercept. Defaults to TRUE. |
multi |
Is the model a multifamm or a sparseFLMM model. Defaults to TRUE (multifamm model). |
m_fac |
Multiplication factor to represent the confidence interval of the estimates. Defaults to 1.96. |
Note that the final data set might be differently ordered depending on whether the model or the model components are used as a starting point.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.