design: Design the blueprint for an analysis.

Description Usage Arguments Value Examples

View source: R/design.R

Description

Sets up the initial design (i.e. the blueprint) of a statistical analysis to use on the data. As in creating a building or structure, a blueprint is first needed to guide the construction. This function only creates that blueprint, but does not do any construction (e.g. actually running statistics).

Usage

1
design(data, statistic = c("gee", "cor", "glm", "pls", "t.test"))

Arguments

data

The dataset you want to analyze

statistic

The type of statistical test to use

Value

Creates a blueprint object that will be used to construct the analysis in a later phase.

Examples

1
2
3
4
design(iris, 'gee')
design(iris, 'cor')
design(iris, 'glm')
design(iris, 't.test')

mason documentation built on July 1, 2020, 5:48 p.m.