[R] help:Vector vs array

jim holtman jholtman at gmail.com
Wed Aug 5 14:14:12 CEST 2009


"Intro to R" should tell you.  A vector is basically a one-dimensional
object (addressed x[i]) and an array has multiple dimensions
(addressed x.array[i,j,k]).  What confusion do you have?  Think of a
2-dimensional array as a matrix or an Excel worksheet.

On Wed, Aug 5, 2009 at 12:42 AM, chalie epps<wangfengmadking at gmail.com> wrote:
> Greetings R-help community,
>
> I am relatively new to R, which may be why I am having trouble
> understanding this problem. I want to know the differences between
> vector and array. could someone tell me something about this question.
>
> Thanks in advance,
>
> ______________________________________________
> 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.
>



-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem that you are trying to solve?




More information about the R-help mailing list