mc.despack.linear.conjoint: mc.despack.linear.conjoint

Description Usage Arguments Details Value Author(s) Examples

Description

Given a list of designs and the data find the coefficients of the linear fit for each design and each column of data.

Usage

1

Arguments

despack

a design pack with the fields $cards. $designs and possibly $samps

data

Each column consist of the ranks given to the m cards in despack$cards by a single subject.

Details

The function will only work correctly if the sample, despack$samps[i] correspond correctly to despack$desings[i] (eg. the sample consists of the corresponding row numbers from despack$cards). If despack$samps is null the the row names of despack$designs[i] are assumed to be the correct row numbers. (in practice this is often true)

Value

A despack is returned with the following fields filled

cards

copy of despack$cards

samps

copy of despack$samps

designs

copy of despack$designs

coeffs

the calculated coefficients

Author(s)

William Hughes

Examples

1
2
3
4

MConjoint documentation built on May 1, 2019, 7:56 p.m.