jumpBiv: jumpBiv

Description Usage Arguments Value

Description

Simulate a jump function bivariate relationship

Usage

1
jumpBiv(x1, x2, njump, jumpLoc1, jumpLoc2, jumpVal)

Arguments

x1

A vector

x2

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

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