dzuswxbylw
2009-Apr-26 13:01 UTC
[R] Is their any function can generate orthogonal tables(e.g. L_8(2^7)
I want to generate some orthogonal tables in my experiment design. I searched http://search.r-project.org/ (RSiteSearch) whith key words such as "orthogonal table", "orthogonal design", "latin square" etc and get no useful result. the same result get by searching via google's insite search in r-cran main web. Some packages like "crossdes","AlgDesign" can Construction of Designs Based on Mutually Orthogonal Latin Squares, I tried des.MOLS(package=crossdes)> des.MOLS(4,3) # this may be 4 treatment, 3 period[,1] [,2] [,3] [1,] 1 2 3 [2,] 2 1 4 [3,] 3 4 1 [4,] 4 3 2 [5,] 1 3 4 [6,] 2 4 3 [7,] 3 1 2 [8,] 4 2 1 [9,] 1 4 2 [10,] 2 3 1 [11,] 3 2 4 [12,] 4 1 3 But it is not orthogonal tables which I want. If I misunderstand this function? So any one knows how to construct orthogonal tables for example L_8(2^7)---means 8 runs, 2 levels and 7 factors, and many other orthogonal tables such as L_4(2^3), L_18(2*3^7) and so on, with R. Thanks for any suggestions. Best wishes, xjx [[alternative HTML version deleted]]