ivo.welch at yale.edu
Tue May 20 17:42:43 CEST 2003
hi: still experimenting. is there a function that tells me what an S
object is, or how it is constructed?
s <- cor.test ( x, y );
s$estimate$name = 'correlation' ; <- try to rename 'cor' to
'correlation' fails. obviously, name is not a part here.
s$newfield = c("another info field", 3.2 ) ; <- this is not congruous
what.is(s) #tells me that this is a class called htest
what.is(s$statistic) # helps me
would allow me to see how things are constructed. does S contain such
More information about the R-help