Learn R Programming

clubpro (version 0.6.1)

as.data.frame.clubprorand: Convert the output of pcc_replicates() to a data.frame.

Description

Convert the output of pcc_replicates() to a data.frame.

Usage

# S3 method for clubprorand
as.data.frame(x, row.names = NULL, optional = FALSE, ...)

Arguments

x

an object of class "clubprorand"

row.names

ignored

optional

ignored

...

ignored

Details

This function is useful to format pcc replicates data for plotting.

Examples

Run this code
mod <- club(rate ~ dose, data = caffeine)
z <- pcc_replicates(mod)
as.data.frame(z)

Run the code above in your browser using DataLab