search for: methodsforobj

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

2018 Oct 17
2
methods(class = class(<obj>)) - improve for |cl.| > 1 ?
With new "strict" settings in R-devel, the following glm() example > data(anorexia, package = "MASS") > fm <- glm(Postwt ~ Prewt + Treat + offset(Prewt), family = gaussian, data = anorexia) > methods(class = class(fm)) Warning in grep(name, row.names(info)) : argument 'pattern' has length > 1 and only the first element will be used Warning in