search for: arraydat

Displaying 1 result from an estimated 1 matches for "arraydat".

Did you mean: array_t
2007 Sep 05
1
Question about making array dataset inside a package
...ray of 2-by-2-by-8 as dataset in the package, so users can load the data using data(dataname). We prefer to load the data as dataset, rather than include the long syntax in the help file for users to copy and paste. I can generate array in R console using long chain of syntax like: > arraydat=array(.....omitted.......) However, I cannot figure a way to save the data in 3D array data frame format using write(), write.table(), or use data.frame() etc. If I directly copy-paste the screen output to a text file. I cannot read it into R using like: > arraydat=read.table("array.t...