designOneGroup: Create a Design Matrix for One Group of Observations

Description Usage Arguments Value Author(s) See Also Examples

Description

A design matrix is created, to be used for the analysis of data assumed to come from one normal distribution.

Usage

1

Arguments

n

The number of data values.

Value

A matrix consisting only of 1's, with one column and with the number of rows given by n.

Author(s)

Petter Mostad <mostad@chalmers.se>

See Also

designTwoGroups, designManyGroups, designBalanced, designFactorial

Examples

1
2
3
4
data <- simulate(normal(4, log(1.3)), 9)
design <- designOneGroup(9)
posterior <- linearmodel(data, design)
credibilityinterval(marginal(posterior, 1))

lestat documentation built on May 2, 2019, 2:09 p.m.