as.data.frame.pairwiseCI function

Coercing pairwiseCI objects to data.frames

Coercing pairwiseCI objects to data.frames

Creates a data.frame from the output of pairwiseCI.

## S3 method for class 'pairwiseCI' as.data.frame(x, ...)

Arguments

  • x: an object of class pairwiseCI
  • ...: currently not used

Returns

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

and if the argument by has been specified, - by: containing the levels by which the original data set has been split

and the conf.level and a character string naming the used method.

See Also

pairwiseCI, summary.pairwiseTest

Examples

data(repellent) out2<-pairwiseCI(decrease~treatment, data=repellent, control="H", alternative="two.sided", method="Param.diff") out2 as.data.frame(out2)
  • Maintainer: Frank Schaarschmidt
  • License: GPL-2
  • Last published: 2019-03-11

Useful links