Description Usage Arguments Value Examples
See the documentation of lme in package nlme
1 | dssNlme_lme(..., async = TRUE, wait = TRUE, datasources = NULL)
|
... |
further arguments to be passed to nlme::lme. The data argument must pe passed as a character, the name of the input dataframe |
async |
same as in datashield.assign |
wait |
same as in datashield.assign |
datasources |
same as in datashield.assign |
newobj |
a character, name of the new dataframe |
a stripped down lmeObject (without the 'data' and 'call' elements). See the documentation for lme and lmeObject in package lme.
1 2 3 4 5 6 7 | # open a local pseudo connection:
opals <- dssCreatePseudoServers(servers = 1, tie_first_to_GlobalEnv = TRUE)
# load the Orthodont dataset
datashield.aggregate(opals[1], as.symbol('partialData("Orthodont", NULL, NULL, "nlme")'))
dssNlme_groupedData(newobj = 'grouped', formula = distance ~ age | Subject, data ='Orthodont', async = FALSE, datasources = opals[1] )
lme.model <- dssNlme_lme(fixed = distance ~ age, data = 'grouped', random = ~ 1, async = FALSE, datasources = opals[1])
summary(lme.model[[1]])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.