Description Usage Arguments Details Value Author(s) References
View source: R/cleanUpFormula.R
Massage a provided vector of intended model character strings
into the format necessary for a formula
-class object.
1 |
var |
The character vector of data intended to be used and formatted as
"clean" formula strings (as least in terms of the R-object
|
As coded here, the out
object is assumed to possible contain
a "hyphen," serving as a minus sign, as well as commas, due to typical
syntax involving fits against the binomial
family and associated
cbind
usage. It is possible that the syntax of replacement steps
performed here is not ideal for your situation.
The original character vector var
with slashes "/
"
replaced with a single underscore "_
," hyphens "-
" replaced
with a double underscore "__
," and commas "," replaced with a
triple underscore "___
."
WEST, Inc.
Wilkinson G.N., and Rogers C.E. (1973). "Symbolic Description of Factorial Models for Analysis of Variance." Applied Statistics, 22, 392-399
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.