prepare_data_LMMsolver {TwoTimeScales} | R Documentation |
Process data to fit model with LMMsolver
Description
Process data to fit model with LMMsolver
Usage
prepare_data_LMMsolver(Y = Y, R = R, Z = NULL, bins = bins)
Arguments
Y |
A matrix (or 3d-array) of event counts of dimension nu by ns (or nu by ns by n). |
R |
A matrix (or 3d-array) of exposure times of dimension nu by ns (or nu by ns by n). |
Z |
(optional) A regression matrix of covariates values of dimensions n by p. |
bins |
a list with the specification for the bins. This is created by
the function |
Value
A dataset in long form to fit the model with LMMsolver