as.data.frame.pairwiseCI {pairwiseCI} | R Documentation |
Creates a data.frame from the output of pairwiseCI.
## S3 method for class 'pairwiseCI': as.data.frame(x, ...)
x |
an object of class "pairwiseCI" |
... |
currently not used |
A data.frame with the columns
estimate |
containing the estimates |
lower |
containing the lower bounds |
upper |
containing the upper bounds |
comparison |
containing character strings, specifying which levels have been compared |
by |
containing the levels by which the original data set has been split |
and the conf.level and the a character string naming the used method as attributes
"conf.level" and "methodname".
pairwiseCI
, summary.pairwiseTest
data(bean) out<-pairwiseCI(yield~P, data=bean, by="T", method="Param.diff", var.equal=FALSE, alternative="greater") out dat<-as.data.frame(out) dat str(dat) # # # # data(repellent) out2<-pairwiseCI(decrease~treatment, data=repellent, control="H", alternative="two.sided", method="Param.ratio") out2 as.data.frame(out2)