[R] slice usage
Nair, Murlidharan T
mnair at iusb.edu
Fri Feb 16 04:15:11 CET 2007
I am trying to understand the usage of slice while plotting. Can any one provide me with some explanation to it or point me to a resource where I can read it in greater detail. I have an example from the usage page for SVM.
m2 <- svm(Species~., data = iris)
readline(prompt = "Pause. Press <Enter> to continue...")
plot(m2, iris, Petal.Width ~ Petal.Length, slice = list(Sepal.Width=3, Sepal.Length=4 ))
How do I decide Sepal.Width should be set to 3 and Sepal Length set to 4?
More information about the R-help