View source: R/regress_utils.R
U | R Documentation |
Creates a partial formula of the form ~var1 + var2
. The partial formula can be named
by adding an equals sign before the tilde.
U(...)
... |
partial formula of the form |
A partial formula (potentially named) for use in regress
.
regress
# Reading in a dataset
data(mri)
# Create a named partial formula
U(ma=~male+age)
# Create an unnamed partial formula
U(~male+age)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.