prepare_data: Prepare data for loop within pmmh

Description Usage Arguments Value

View source: R/helper_functions.R

Description

Prepare data for loop within pmmh

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
prepare_data(
  data,
  distance_mat,
  length_gp,
  num_subjects,
  outcome,
  subject_index,
  time_index,
  position_index,
  offset_term
)

Arguments

data

list of objects to make relevant data matrices

distance_mat

matrix, distance between multivariate outcomes

length_gp

scalar, length of the multivariate outcomes

num_subjects

scalar, number of subjects

Value

list of matrices


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