glmSLMADS1 {dsBase}R Documentation

glmSLMADS1 called by ds.glmSLMA

Description

This is the first serverside aggregate function called by ds.glmSLMA

Usage

glmSLMADS1(formula, family, weights, offset, data)

Arguments

formula

a glm() formula consistent with R syntax eg U~x+y+Z to regress variables U on x,y and Z. Fully specified by <formula> argument in ds.glmSLMA

family

a glm() family consistent with R syntax eg "gaussian", "poisson", "binomial". Fully specified by <family> argument in ds.glmSLMA

weights

an optional variable name (as a character sting) identifying a vector of prior regression weights. Fully specified by <weights> argument in ds.glmSLMA

offset

an optional variable name (as a character string) identifying an offset vector. Fully specified by <offset> argument in ds.glmSLMA

data

an optional character string specifying the name of a data.frame object holding the data to be analysed under the specified model. Fully specified by <dataName> argument in ds.glmSLMA

Details

It is an aggregate function that sets up the generalized linear model structure and feeds this structural information via ds.glmSLMA into the call to glmSLMADS2 that enacts fitting of the specified generalized linear model (to completion) in each of the studies to be included in the study-level meta-analysis. For more details please see the extensive header for ds.glmSLMA in DataSHIELD and help on the glm function in native R.

Value

All quantitative, Boolean, and character objects required by glmSLMADS2 to fit the glm in each study. Also, returns warning flags and associated information enabling DataSHIELD to halt analysis in any given study if a disclosure trap is triggered and to inform the user what trap has been triggered.

Author(s)

Paul Burton for DataSHIELD Development Team


[Package dsBase version 5.0.0 ]