polyJump2Quad: polyJump2Quad Simulate a polynomial trivariate relationship

Description Usage Arguments Value

Description

polyJump2Quad Simulate a polynomial trivariate relationship

Usage

1
polyJump2Quad(x1, x2, x3, x4, npoly, coef, deg1, deg4, jumpLoc2, jumpLoc3)

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

deg4

A vector indicating the degree of the first polynomial term

jumpLoc2

Random quantile for x2 jump

jumpLoc3

Random quantile for x2 jump

coef

A numeric coefficient

Value

Quadvariate polynomial (see source code for details)


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