cubic: Creates cubic terms for Scheffe' full cubic model (3)

Description Usage Arguments Value Author(s)

View source: R/cubic.R

Description

Creates cubic terms that are used by the function MixModel when fitting model (3)

Usage

1
cubic(a, b)

Arguments

a

input - vector of mixture components in a column in the data frame

b

input - another vector of mixture components in a column in the data frame

Value

vector of elementwise a^2*b-a*b^2 function of terms in the a and b vectors

Author(s)

John Lawson


mixexp documentation built on May 29, 2017, 7:09 p.m.