Dear all,

I am trying to define an array as follows:

a=array(NA,c(m,2,N,G)),

Even though the numbers N and G are fixed, m is a vector. So, I can't define
'a' as above.

 For eg,

N=3
G=6,
but m=c(2,7,5) and length(m)=N.


Can anyone suggest me how can I define 'a' when m is a vector?


Thanks in advance for your help.


Cassie

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to