ds.neLht: Linear hypotheses for natural effect models

View source: R/ds.neLht.R

ds.neLhtR Documentation

Linear hypotheses for natural effect models

Description

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

Usage

ds.neLht(model = NULL, linfct = 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.

linfct

a specification of the linear hypothesis to be tested.

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.neLht allows to calculate linear combinations of natural effect model parameter estimates.

Value

a summary table of the object of class c("neLht", "glht") (see glht).

Author(s)

Demetris Avraam, for DataSHIELD Development Team


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