I saw in a tutorial about regression modeling the following command :
myFormula
What exactly does this command do, and what is the role of ~ (tilde) in the command?
解决方案
The thing on the right of
The myFormula
Other common uses of formula objects in R
The lattice package uses them to specify the variables to plot.
The ggplot2 package uses them to specify panels for plotting.
The dplyr package uses them for non-standard evaulation.