This function is similar to R function neWeight from the mmedflex package.

neWeightDS(object)

Arguments

object

a string character, the name of an object used to select a method.

Value

a data frame of class c("data.frame", "expData", "weightData") is assigned at the server-side of each study.

Details

The function 'neWeight' both expands the data along hypothetical exposure values and calculates ratio-of-mediator probability weights.

Author

Demetris Avraam, for DataSHIELD Development Team