neWeightDS | R Documentation |
This function is similar to R function neWeight
from the
mmedflex
package.
neWeightDS(object)
object |
a string character, the name of an object used to select a method. |
The function '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.