Convert the output of csi() to a data.frame.
Usage
# S3 method for clubprocsi
as.data.frame(x, row.names = NULL, optional = FALSE, ...)
Examples
mod <- club(rate ~ dose, data = caffeine)
z <- csi(mod)
as.data.frame(z)
#> y x
#> 1 1 1.0000000
#> 2 2 0.6367145
#> 3 3 0.8728716
#> 4 4 0.6741999
#> 5 5 0.9128709
#> 6 6 0.6741999
#> 7 7 1.0000000
#> 8 8 0.8728716
#> 9 9 0.7319251
#> 10 10 1.0000000
#> 11 11 0.6741999
#> 12 12 0.7319251
#> 13 13 0.6367145
#> 14 14 0.9128709
#> 15 15 0.6741999
#> 16 16 0.9258201
#> 17 17 0.9128709
#> 18 18 0.7319251
#> 19 19 1.0000000
#> 20 20 0.8728716
#> 21 21 0.7319251
#> 22 22 0.6741999
#> 23 23 0.9258201
#> 24 24 1.0000000
#> 25 25 0.6741999
#> 26 26 0.9258201
#> 27 27 0.7319251
#> 28 28 0.6741999
#> 29 29 0.6367145
#> 30 30 0.9258201