randomize_vl_cpp {dbnR}R Documentation

Randomize a velocity with the given probabilities

Description

Randomize a velocity with the given probabilities

Usage

randomize_vl_cpp(vl, probs)

Arguments

vl

a velocity list

probs

the probabilities of each value in the set {-1,0,1}

Value

a velocity list with randomized values


[Package dbnR version 0.7.9 Index]