ds.neWeight | R Documentation |
This function is similar to R function neWeight
from the
mmedflex
package.
ds.neWeight(object = NULL, newobj = NULL, datasources = NULL)
object |
a string character, the name of an object used to select a method. |
newobj |
a character string that provides the name for the output object
that is stored on the data servers. Default |
datasources |
a list of |
The function ds.neWeight
both expands the data along hypothetical
exposure values and calculates ratio-of-mediator probability weights.
a data frame of class c("data.frame", "expData", "weightData") is assigned at the server-side of each study.
Demetris Avraam, for DataSHIELD Development Team
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.