jumpTri: jumpTri

Description Usage Arguments Value

Description

Simulate a jump function trivariate relationship

Usage

1
jumpTri(x1, x2, x3, njump, jumpLoc1, jumpLoc2, jumpLoc3, jumpVal)

Arguments

x1

A vector

x2

A vector

x3

A vector

njump

The number of jumps the function takes

jumpLoc1

A vector of the locations of those jumps for x1

jumpLoc2

A vector of the locations of those jumps for x2

jumpLoc3

A vector of the locations of those jumps for x3

jumpVal

A vector of length njump indicating the value of the function at each jump

Value

The value of the jump function.


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