View source: R/lme_analysis.R View source: R/comb.R
lme_analysis | R Documentation |
lme_analysis
analyzes the data from a single simulated trial
lme_analysis(trialdesign_set, dat, op)
trialdesign_set |
The set of all pathways for the clinical trial |
dat |
A dat file as generated by generateData |
op |
an options file with the following components:
|
Analyzes the simulated data (including all paths) from a single simulated
trial. Most often called by generateSimualtedResults
. See vignettes
for additional information.
Generally returns a one row data table with components:
out$beta
The coefficient corresponding to an interaction
between biomarker and outcome
out$betaSE
Standard error of the above coefficient
out$p
p-value conveying the statistical significance of the coefficient
out$issingular
Was the model fit flagged as singular?
out$warning
Any warnings from fitMsgs
However, if you have full_model_out set to TRUE, you will instead get an array with components:
form
The model fit by lmer
fit
The output of lmer
datamerged
The data in the form it was provided to lmer
stdout
The standard one row data table that's usually returned when
full_mode_out is set to FALSE, with beta, betaSE, etc
# See vignettes 1 & 2 for examples of how to call from the function generateSimualtedResults.R
# See vignette 3 for an example of how to apply lme_analysis to actual clincal trial results
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.