View source: R/RcppExports.R
G2
G2_fun(z, type)
z
Data
type
Choice of the G2 function:
1: -1/z, z < 0
2: 0.5/sqrt(-z), z < 0
3: 1/z^2, z < 0
4: 1 / (1 + exp(-z))
5: exp(z)
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.