[R] Formatting the length one vector to match another?
Peter Alspach
Peter.Alspach at plantandfood.co.nz
Wed Dec 9 00:00:04 CET 2009
Tena koe Oliver
?seq
should help if I understand your question correctly ....
Peter Alspach
> -----Original Message-----
> From: r-help-bounces at r-project.org
> [mailto:r-help-bounces at r-project.org] On Behalf Of Wells Oliver
> Sent: Wednesday, 9 December 2009 11:19 a.m.
> To: r-help at r-project.org
> Subject: [R] Formatting the length one vector to match another?
>
> I have xrange which is a range of values from 1 to a max of 162.
>
> I have a yrange of values which really could be any values,
> but there's a min and a max. I'd like to create N number of
> steps between the min and the max so the length matches the
> xrange, so that I can plot them together.
>
> Any tips? Thank you!
>
> --
> Wells Oliver
> wells at submute.net
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> 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.
>
More information about the R-help
mailing list