Displaying 2 results from an estimated 2 matches for "3dguest".
2006 Nov 28
0
addition to R-bug (PR#9391)
Hi,
I created before a bug-entry:
http://bugs.r-project.org/cgi-bin/R/incoming?id=3D9390;expression=3Derkan;u=
ser=3Dguest
here is an addition which I can not add because the interface won't let me:
more info:
tripack_1.2-10.zip:
file version of tripack.dll: 2.10.50418.0
before installing tripack, I installed following packages:
ncf_1.0-8.zip
spdep_0.3-32.zip
original report:
Hi,
just installed R 2.4.0 (be...
2006 Oct 31
0
about mantelhaen.test (PR#7779)
...test() in R?
Any comments appreciated!
code follows:
------
# takes a 3-d array x, scores for rows, and scores for columns
# runs nominal-nominal, ordinal-nominal, and ordinal-ordinal CMH tests
# this function is based on one posted at
# http://bugs.r-project.org/cgi-bin/R/wishlist?id=3D7779;user=3Dguest
mh.test <- function(x, row_scores=3DNULL, col_scores=3DNULL) {
if (length(dim(x)) !=3D 3){
stop("x must be a 3 dimensional array")
}
if (any(apply(x, 3, sum) < 2)){
stop("sample size in each stratum must be > 1")
}
I <- dim(x)[1];...