gen_data: Build a dataset for easy testing

Description Usage Arguments Value

View source: R/helper_functions.R

Description

Build a dataset for easy testing

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
gen_data(
  sigma,
  phi,
  patients,
  time_points_per_patient,
  length_gp = 10,
  seed = 28,
  alpha_hier,
  beta_hier,
  offset_vec = NULL,
  num_add_covar = NULL
)

Arguments

sigma

scalar

phi

scalar

data_obj

list of objects to make relevant data matrices

mean_vec

vector, linear predictor without the GP

Value

list with data matrix vector or true values


nickseedorff/pmmhLong documentation built on Dec. 31, 2020, 12:05 a.m.