Dear Luis,

You can use the pch argument to plot; assuming that class is numeric and consists of single-digit integers, you could specify something like plot( ...., pch=as.character(class)). If class is a factor, you could substitute pch=as.character(as.numeric(type)).

I hope that this helps,
John

At 03:42 PM 1/28/2003 +0000, Luis Silva wrote:
Dear R helpers

I would like to make a plot where the symbols were the numbers
of the corresponding classes, i.e, samples of class 1 would the
symbol 1, samples of class 2 would have symbol 2,....

Is this possible?
-----------------------------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario, Canada L8S 4M4
email: [EMAIL PROTECTED]
phone: 905-525-9140x23604
web: www.socsci.mcmaster.ca/jfox
-----------------------------------------------------

______________________________________________
[EMAIL PROTECTED] mailing list
http://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to