Dear all,
I just started using DataSHIELD. The purpose is to evaluate the possibility to use DataSHIELD in our upcoming medical research. Do do so I am trying to do a linear mixed model analysis.
My code looks like this:
tryCatch(
{
m1 <- ds.lmerSLMA(
formula = "Var1 ~ Time * Group + (1|ID)",
data = "D_Supine",
datasources = conns,
newobj = "m1"
)
}, error = function(e) {
print(e)
print(datashield.errorMessages())
}
)
My questions:
- Are there any good tutorials on doing lmer analysis with DataSHIELD?
- How could I calculate contrasts etc using the object DataSHIELD returns?
Thanks for any help and ideas.
Best, Jonathan