ds.neEffdecomp: Linear hypotheses for natural effect models

View source: R/ds.neEffdecomp.R

ds.neEffdecompR Documentation

Linear hypotheses for natural effect models

Description

This function is similar to R function neEffdecomp from the medflex package.

Usage

ds.neEffdecomp(model = NULL, datasources = NULL)

Arguments

model

the name of a fitted natural effect model object. This is the object saved on the server-side by the ds.neModel function.

datasources

a list of DSConnection-class objects obtained after login. If the datasources argument is not specified the default set of connections will be used: see datashield.connections_default.

Details

The function ds.neEffdecomp automatically extracts relevant causal parameter estimates from a natural effect model.

Value

a summary table of the object of class c("neLht", "glht") (see glht). The object additionally inherits from class "neEffdecomp".

Author(s)

Demetris Avraam, for DataSHIELD Development Team


datashield/dsMediationClient documentation built on June 15, 2022, 12:19 p.m.