Displaying 2 results from an estimated 2 matches for "xstrata".
Did you mean:
strata
2010 Nov 30
1
warning creating an as.array method in a package
...1, Win Xp, using Eclipse/StatET]
In a package I'm working on, I want to create as.matrix() and as.array()
methods for a particular kind of
object (log odds ratios). These are returned in a loddsratio object as
the $coefficients component,
a vector, but really reflect an underlying (R-1)x(C-1)xstrata array,
whose attributes are contained in other
components.
I define coef, dim and dimnames methods, and then want an as.array method,
## dim methods
dimnames.loddsratio <- function(object, ...) object$dimnames
dim.loddsratio <- function(object, ...) object$dim
coef.loddsratio <- functio...
2010 Dec 09
1
warning creating an as.array method in a package
...1, Win Xp, using Eclipse/StatET]
In a package I'm working on, I want to create as.matrix() and as.array()
methods for a particular kind of
object (log odds ratios). These are returned in a loddsratio object as
the $coefficients component,
a vector, but really reflect an underlying (R-1)x(C-1)xstrata array,
whose attributes are contained in other components.
These are all properly declared in the NAMESPACE as S3 methods,
...
S3method(dim, loddsratio)
S3method(dimnames, loddsratio)
S3method(print, loddsratio)
S3method(vcov, loddsratio)
S3method(as.matrix, loddsratio)
S3method(as.array, loddsr...