[R] Formatting the length one vector to match another?
David Winsemius
dwinsemius at comcast.net
Wed Dec 9 00:09:01 CET 2009
Or perhaps just:
plot(xrange, yrange, type ="s")
--
On Dec 8, 2009, at 6:00 PM, Peter Alspach wrote:
> 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
David Winsemius, MD
Heritage Laboratories
West Hartford, CT
More information about the R-help
mailing list