Learn R Programming

⚠️There's a newer version (1.8.2) of this package.Take me there.

skpr (version 1.4.0)

Design of Experiments Suite: Generate and Evaluate Optimal Designs

Description

Generates and evaluates D, I, A, Alias, E, T, and G optimal designs. Supports generation and evaluation of blocked and split/split-split/.../N-split plot designs. Includes parametric and Monte Carlo power evaluation functions, and supports calculating power for censored responses. Provides a framework to evaluate power using functions provided in other packages or written by the user. Includes a Shiny graphical user interface that displays the underlying code used to create and evaluate the design to improve ease-of-use and make analyses more reproducible. For details, see Morgan-Wall et al. (2021) .

Copy Link

Version

Install

install.packages('skpr')

Monthly Downloads

1,172

Version

1.4.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Tyler Morgan-Wall

Last Published

June 16th, 2023

Functions in skpr (1.4.0)

eval_design_custom_mc

Monte Carlo power evaluation for experimental designs with user-supplied libraries
eval_design_mc

Monte Carlo Power Evaluation for Experimental Designs
gen_anticoef

Generates Anticipated Coefficients
eval_design_survival_mc

Evaluate Power for Survival Design
get_attribute

Get attribute values
get_optimality

Get optimality values
get_power_curve_output

Get Power Curve Warnings and Errors
extractPvalues

Extract p-values from a model object
gen_binomial_anticoef

Generates Binomial Anticipated Coefficients
gen_momentsmatrix

Generates the moment matrix
gen_poisson_anticoef

Generates Poisson Anticipated Coefficients
convert_blockcolumn_rownames

Convert Block Column to Rownames
genparammatrix

Generate Parameter Matrix
eval_design

Calculate Power of an Experimental Design
gen_design

Generate optimal experimental designs
plot_correlations

Plots design diagnostics
potential_permuted_factors

Find potential permuted interactions
effectpowermc

Fit Anova for Effect Power Calculation in Monte Carlo
normalize_design

Normalize Design
is_rendering_in_knitr

Determines if rendering in knitr
gen_exponential_anticoef

Generates Exponential Anticipated Coefficients
is_intralayer_interaction

Layer Interaction
print.skpr_eval_output

Print evaluation information
quad

quadratic
rearrange_formula_by_order

Rearrange formula by order
print.skpr_power_curve_output

Print evaluation information
priorlevels

Prior levels
remove_skpr_blockcols

Remove skpr-generated blocking columns
plot_fds

Fraction of Design Space Plot
reduceRunMatrix

Remove columns not in model
%>%

re-export magrittr pipe operator
generate_noise_block

Generate Noise Block
effectpower

Calculate Effect Power
genhypmatrix

Generate Hypothesis Matrix
permutations

Permutations
run_documentation

Run Documentation
disallowed_combinations

Detect and list disallowed combinations in candidate set
skprGUIserver

Graphical User Interface for skpr
skprGUIbrowser

skprGUIbrowser
skprGUI

Graphical User Interface for skpr
parameterpower

Calculates parameter power
calc_interaction_degrees

Calculate Interaction Degrees of Freedom
calculate_power_curves

Calculate Power Curves
contr.simplex

Orthonormal Contrast Generator
calcnoncentralparam

Calculate Non-Centrality Parameter
check_model_validity

Check Model Formula Validity
anticoef_from_delta

Generates Anticipated Coefficients from delta
calc_conservative_anticoef

Calculate Conservative Anticipated Coefficients
constructRunMatrix

Construct Run Matrix given rows
calculatepower

Calculate Power
convert_rownames_to_covariance

Converts dot operator to terms
calculate_level_vector

Calculate level vector
calculate_degrees_of_freedom

Calculate Degrees of Freedom
blockingstructure

Find block sizes in column
anticoef_from_delta_surv

Generates Anticipated Coefficients from delta for eval_design_suvival_mc
calculate_gefficiency

Calculate G Efficiency
convert_model_dots

Converts dot operator to terms
calculate_split_columns

Calculate Split Plot Columns
aliasmodel

Alias terms
calcblocksizes

Calculate block sizes