Learn R Programming

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

skpr (version 1.3.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.3.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Tyler Morgan-Wall

Last Published

April 4th, 2023

Functions in skpr (1.3.0)

calc_interaction_degrees

Calculate Interaction Degrees of Freedom
constructRunMatrix

Construct Run Matrix given rows
calculate_power_curves

Calculate Power Curves
calculate_level_vector

Calculate level vector
disallowed_combinations

Detect and list disallowed combinations in candidate set
convert_rownames_to_covariance

Converts dot operator to terms
anticoef_from_delta

Generates Anticipated Coefficients from delta
effectpower

Calculate Effect Power
effectpowermc

Fit Anova for Effect Power Calculation in Monte Carlo
contr.simplex

Orthonormal Contrast Generator
eval_design

Calculate Power of an Experimental Design
convert_blockcolumn_rownames

Convert Block Column to Rownames
gen_exponential_anticoef

Generates Exponential Anticipated Coefficients
get_power_curve_output

Get Power Curve Warnings and Errors
eval_design_survival_mc

Evaluate Power for Survival Design
eval_design_mc

Monte Carlo Power Evaluation for Experimental Designs
convert_model_dots

Converts dot operator to terms
extractPvalues

Extract p-values from a model object
calculate_split_columns

Calculate Split Plot Columns
calculatepower

Calculate Power
gen_anticoef

Generates Anticipated Coefficients
gen_binomial_anticoef

Generates Binomial Anticipated Coefficients
gen_poisson_anticoef

Generates Poisson Anticipated Coefficients
gen_momentsmatrix

Generates the moment matrix
eval_design_custom_mc

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

Generate Parameter Matrix
skprGUIbrowser

skprGUIbrowser
genhypmatrix

Generate Hypothesis Matrix
is_intralayer_interaction

Layer Interaction
get_attribute

Get attribute values
get_optimality

Get optimality values
plot_fds

Fraction of Design Space Plot
%>%

re-export magrittr pipe operator
parameterpower

Calculates parameter power
print.skpr_eval_output

Print evaluation information
skprGUIserver

Graphical User Interface for skpr
print.skpr_power_curve_output

Print evaluation information
generate_noise_block

Generate Noise Block
gen_design

Generate optimal experimental designs
remove_skpr_blockcols

Remove skpr-generated blocking columns
plot_correlations

Plots design diagnostics
skprGUI

Graphical User Interface for skpr
potential_permuted_factors

Find potential permuted interactions
rearrange_formula_by_order

Rearrange formula by order
is_rendering_in_knitr

Determines if rendering in knitr
normalize_design

Normalize Design
reduceRunMatrix

Remove columns not in model
priorlevels

Prior levels
quad

quadratic
permutations

Permutations
calculate_degrees_of_freedom

Calculate Degrees of Freedom
calc_conservative_anticoef

Calculate Conservative Anticipated Coefficients
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
calcblocksizes

Calculate block sizes
calcnoncentralparam

Calculate Non-Centrality Parameter
aliasmodel

Alias terms