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

View source: R/cubic.R

cubicR Documentation

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

Description

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

Usage

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 28, 2022, 3:01 a.m.