Learn R Programming

bdpv (version 1.3)

as.data.frame.nPV: Coerce results of "nPV" to a data.frame.

Description

Coerce the possibly long sample size tables resulting from calling "nPV" to a data.frame.

Usage

# S3 method for nPV
as.data.frame(x, ...)

Arguments

x

an object of class "nPV"

further arguments to be passed to as.data.frame

Details

The lengthy lists in the output nPV, item nlist are coerced to a data.frame with columns propP, and the different NPV/PPV sample sizes for each of the parameters settings following.