generateWeightEntry | R Documentation |
Utility function to catch formula errors passed to makeWeight, and to generate the appropriate entry.
generateWeightEntry(expr)
expr |
An expression |
A list of the variable id and the target weights.
## Not run:
validateWeightExpression(ds$var ~ c(10, 30, 60))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.