Skip to contents

Coerce a sample-size plan to a data frame

Usage

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

Arguments

x

A surveyframe object.

row.names

Passed to base::as.data.frame() by the methods that build a frame. Ignored by the methods that return a stored table.

optional

Passed to base::as.data.frame().

...

Ignored. Present for S3 consistency.

Value

A one-row data frame containing the analysis type, estimated sample size, alpha, and power.