Hi all,
First of all thanks for the answers.
I'd like to add some objects to a plot.svm graphic.
To give a more precise idea here I make a simple example.
First I train a SVM.
> m.svm <- svm(status~., data = dati.svm,
kernel="radial", cross=20, scale=TRUE
)
Then I generates a scatter plot of a svm fit:
> plot.svm(m.svm, data=dati.svm, v.1 ~ v.2, slice = list(...),
grid = 100)
This works well.
Now I have several data frames of points relatives to different samples,
say dati.1, dati.2,... (of course of the same kind of dati.svm). I'd like to
add them to the plot, each with different symbol and their (elliptic) hull.
How can I do it?
BTW: Are there any way to reppresent the model giving (the idea of) a
third dimension?
Thanks,
Alessandro
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Alessandro Ambrosi, Ph.D. |
Oncological Surgical Sc. Dept. | mail: [EMAIL PROTECTED]
Surg. Cl. II | [EMAIL PROTECTED]
University of Padua | fax: +39 049 651891
via Giustiniani, 2 | tel: +39 049 8212055
I-35128 Padua (ITALY) | url: www.stat.unipd.it/~ambrosi
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------------------------------------------
This mail sent through IMP: webmail.unipd.it
______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html