Learn R Programming

valuer (version 1.1.2)

sq: Square root utility function

Description

Takes square root if positive otherwise returns zero. To be used with mean reverting squared root processes (CIR SDE)

Usage

sq(x)

Arguments

x

numeric scalar