Learn R Programming

mason (version 0.3.0)

design: Design the blueprint for an analysis.

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

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

Run this code
# NOT RUN {
design(iris, 'gee')
design(iris, 'cor')
design(iris, 'glm')
design(iris, 't.test')

# }

Run the code above in your browser using DataLab