[R] 3dimensional array in r
Tsjerk Wassenaar
tsjerkw at gmail.com
Thu Jun 3 07:09:39 CEST 2010
Hi Suman,
Try:
array(1:24,c(4,3,2))
Cheers,
Tsjerk
On Thu, Jun 3, 2010 at 6:52 AM, suman dhara <suman.dhara89 at gmail.com> wrote:
> Sir,
> I want to use a 3-dimensional array in R. How can I initialize the array?
> Can you give me a eaxmple?
>
> Thanks & Regards,
>
> Suman Dhara
>
> [[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.
>
--
Tsjerk A. Wassenaar, Ph.D.
post-doctoral researcher
Molecular Dynamics Group
Groningen Institute for Biomolecular Research and Biotechnology
University of Groningen
The Netherlands
More information about the R-help
mailing list