Re: [R] create arrays

From: <Adele_Thompson_at_cargill.com>
Date: Fri, 06 May 2011 14:17:51 -0500

Beautiful.

-----Original Message-----
From: Greg.Snow_at_imail.org [mailto:Greg.Snow_at_imail.org] Sent: Friday, May 06, 2011 02:17 PM
To: Thompson, Adele - Adele_Thompson_at_cargill.com; r-help_at_r-project.org Subject: RE: [R] create arrays

?seq

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow_at_imail.org
801.408.8111



> -----Original Message-----
> From: r-help-bounces_at_r-project.org [mailto:r-help-bounces_at_r-
> project.org] On Behalf Of Schatzi
> Sent: Friday, May 06, 2011 1:12 PM
> To: r-help_at_r-project.org
> Subject: [R] create arrays
>
> In Matlab, an array can be created from 1 - 30 using the command
> similar to R
> which is 1:30. Then, to make the array step by 0.1 the command is
> 1:0.1:30
> which is 1, 1.1, 1.2,...,29.9,30. How can I do this in R?
>
> -----
> In theory, practice and theory are the same. In practice, they are not
> - Albert Einstein
> --
> View this message in context: http://r.789695.n4.nabble.com/create-
> arrays-tp3503988p3503988.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.
______________________________________________ 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.
Received on Fri 06 May 2011 - 19:22:33 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 07 May 2011 - 00:50:06 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive