compute_mu_sim: Compute the Fitted Mean Trajectories

compute_mu_simR Documentation

Compute the Fitted Mean Trajectories

Description

This function takes the fitted curves object of the simulation and the random effects object and calculates the estimated mu functions.

Usage

compute_mu_sim(fitted_cu, ran_preds, I = 10, J = 16, reps = 5,
  nested = FALSE, mul = TRUE)

Arguments

fitted_cu

Object of fitted curves saved from the simulation.

ran_preds

Object of random effects saved from the simulation.

I

Number of levels for component B. Defaults to 9.

J

Number of levels for component C. Defaults to 16.

reps

Number of repetitions of the levels of B and C. Defaults to 5.

nested

TRUE if the model component C is nested. Defaults to FALSE.

mul

FALSE if the univariate estimate is extracted from fitted_cu. Defaults to TRUE which is the multivariate estimate.


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