[R] Customise a symbol in a scatterplot with for loop

Greg Snow 538280 at gmail.com
Tue Mar 25 17:51:16 CET 2014


The mk_pent function returns a matrix with 2 columns that is stored
into a variable I called tmp.  The x-values are in the first column
and tmp[,1] is the first column of tmp, tmp[,2] is the second column,
the y-values.

This is covered in "An Introduction to R" and you can also find
discussion in the help page by doing ?"[".

On Mon, Mar 24, 2014 at 1:48 PM, amcc <martinangelamccourt at eircom.net> wrote:
> Apologies Greg for asking you more but what is tmp[,1] doing, I've tried
> googling it and looking here for it but it's not making sense.
> A
>
>
>
> --
> View this message in context: http://r.789695.n4.nabble.com/Customise-a-symbol-in-a-scatterplot-with-for-loop-tp4687386p4687470.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



-- 
Gregory (Greg) L. Snow Ph.D.
538280 at gmail.com




More information about the R-help mailing list