search for: adjresid

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

Did you mean: addressid
2002 Jul 02
1
subscript out of bounds
...uff) Error: subscript out of bounds I don't understand where I'm wrong because the functions in MyStuff individually work well when I just paste them from my editor. Thanks for any help Fred Linux debian potato R 1.5.0 here below, the file MyStuff ----------------------------- "adjresid" <- function(tab) { # calcul des residus normes sur un tableau de contingence # adjusted Pearson residuals # Brett Presnell <presnell at stat.ufl.edu> # tot <- sum(tab) rp <- apply(tab, 1, sum) / tot cp <- apply(tab, 2, sum) / tot mu <- tot * ( rp %...