polyQuad: polyQuad Simulate a polynomial trivariate relationship

Description Usage Arguments Value

Description

polyQuad Simulate a polynomial trivariate relationship

Usage

1
polyQuad(x1, x2, x3, x4, npoly, coef, deg1, deg2, deg3, deg4)

Arguments

x1

A vector

x2

A vector

x3

A vector

x4

A vector

npoly

A numeric indicating the number of polynomial terms to simulate

coef

A vector indicating the coefficient for each polynomial term

deg1

A vector indicating the degree of the first polynomial term

deg2

A vector indicating the degree of the second polynomial term

deg3

A vector indicating the degree of the second polynomial term

coef

A numeric coefficient

Value

Quadvariate polynomial (see source code for details)


benkeser/haltmle.sim documentation built on May 12, 2019, noon