[R] array of arrays

Yasir Kaheil kaheil at gmail.com
Thu Jun 5 00:36:15 CEST 2008


Is it possible to have one array for bias and one for variance? such as..
biasAr=

       b1     b2
a1 bias    bias
a2 bias    bias

and

varAr=
       b1     b2
a1 var     var
a2 var     var

then you can combine the two in a data frame?

thanks
y


Michael Prince wrote:
> 
> Dear R users,
> 
> I want to calculate the bias and variance of an estimator for several
> values
> of two parameters a and b.
> 
> For example :
> 
>     b1          b2
> a1 bias       bias
>      variance variance
> a2 bias       bias
>      variance variance
> 
> Can one do array of arrays ? I have tried and it did not work.
> 
> Actually I would like to get this array for several values of the number
> of
> observations. That would be an array of arrays of arrays :-)
> 
> Maybe there is a better way to do that...
> 
> Is there also a way to export arrays to Latex ?
> 
> Thank you very much
> 
> 	[[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.
> 
> 


-----
Yasir H. Kaheil
Catchment Research Facility
The University of Western Ontario 

-- 
View this message in context: http://www.nabble.com/array-of-arrays-tp17655733p17658264.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list