Skip to content
Prev 295822 / 398503 Next

rpart space in column names

On 28/05/2012 08:27, Jeff Newmiller wrote:
In any case, rpart pre-dates the `` notation that made this possible.

Note that this looks very like the iris data set, which does have 
syntactic names.  Not that we have the reproducible code the posting 
guide asked for ....

 From ?formula

      Variable names can be quoted by backticks ?`like this`? in
      formulae, although there is no guarantee that all code using
      formulae will accept such non-syntactic names.
You don't need `` unless the name is non-syntactic, e.g. contains a space.