Learn R Programming

skpr (version 0.64.2)

print.skpr_eval_output: Print evaluation information

Description

Prints design evaluation information below the dataframe of power values

Usage

# S3 method for skpr_eval_output
print(x, ...)

Arguments

x

The x of the evaluation functions in skpr

...

Additional arguments.

Examples

Run this code
# NOT RUN {
#Generate/evaluate a design and print it's information
factorialcoffee = expand.grid(cost = c(1, 2),
                              type = as.factor(c("Kona", "Colombian", "Ethiopian", "Sumatra")),
                              size = as.factor(c("Short", "Grande", "Venti")))

designcoffee = gen_design(factorialcoffee,
                         ~cost + size + type, trials = 29, optimality = "D", repeats = 100)

eval_design(designcoffee)
# }

Run the code above in your browser using DataLab