Learn R Programming

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

skpr (version 1.7.1)

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.7.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Tyler Morgan-Wall

Last Published

March 26th, 2024

Functions in skpr (1.7.1)

eval_design_custom_mc

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

Fit Anova for Effect Power Calculation in Monte Carlo
calculate_power_curves

Calculate Power Curves
eval_design_mc

Monte Carlo Power Evaluation for Experimental Designs
eval_design

Calculate Power of an Experimental Design
effectpower

Calculate Effect Power
disallowed_combinations

Detect and list disallowed combinations in candidate set
convert_rownames_to_covariance

Converts dot operator to terms
eval_design_survival_mc

Evaluate Power for Survival Design
generate_factor_input_panel

Generate Factor Input Panel
extractPvalues

Extract p-values from a model object
convert_model_dots

Converts dot operator to terms
generate_block_panel

Generate Block Panel
contr.simplex

Orthonormal Contrast Generator
convert_blockcolumn_rownames

Convert Block Column to Rownames
is_rendering_in_knitr

Determines if rendering in knitr
gen_momentsmatrix

Generates the moment matrix
gen_anticoef

Generates Anticipated Coefficients
get_block_groups

Calculate block structure lengths
gen_binomial_anticoef

Generates Binomial Anticipated Coefficients
plot_correlations

Plots design diagnostics
plot_fds

Fraction of Design Space Plot
gen_poisson_anticoef

Generates Poisson Anticipated Coefficients
is_intralayer_interaction

Layer Interaction
skprGUI

Graphical User Interface for skpr
run_documentation

Run Documentation
normalize_design

Normalize Design
get_optimality

Get optimality values
print.skpr_power_curve_output

Print evaluation information
set_up_progressr_handler

Set up progressr handler
gen_exponential_anticoef

Generates Exponential Anticipated Coefficients
parameterpower

Calculates parameter power
gen_design

Generate optimal experimental designs
get_power_curve_output

Get Power Curve Warnings and Errors
priorlevels

Prior levels
genhypmatrix

Generate Hypothesis Matrix
generate_noise_block

Generate Noise Block
genparammatrix

Generate Parameter Matrix
get_attribute

Get attribute values
print.skpr_eval_output

Print evaluation information
quad

quadratic
%>%

re-export magrittr pipe operator
potential_permuted_factors

Find potential permuted interactions
remove_skpr_blockcols

Remove skpr-generated blocking columns
reduceRunMatrix

Remove columns not in model
generate_optimality_results

Generate Optimality Results
permutations

Permutations
rearrange_formula_by_order

Rearrange formula by order
add_ci_bounds_mc_power

Calculate CI bounds on Monte Carlo
calcblocksizes

Calculate block sizes
check_for_suggest_packages

check_for_suggest_packages
calc_conservative_anticoef

Calculate Conservative Anticipated Coefficients
blockingstructure

Find block sizes in column
aliasmodel

Alias terms
calculatepower

Calculate Power
calc_interaction_degrees

Calculate Interaction Degrees of Freedom
calculate_block_nesting

Determine Nesting Level of Blocks
calculate_level_vector

Calculate level vector
calcnoncentralparam

Calculate Non-Centrality Parameter
calculate_gefficiency

Calculate G Efficiency
constructRunMatrix

Construct Run Matrix given rows
check_model_validity

Check Model Formula Validity
calculate_degrees_of_freedom

Calculate Degrees of Freedom
anticoef_from_delta_surv

Generates Anticipated Coefficients from delta for eval_design_suvival_mc
calculate_split_columns

Calculate Split Plot Columns
anticoef_from_delta

Generates Anticipated Coefficients from delta
calculate_v_from_blocks

Calculate V from Blocks