Constrain a numeric column to the range [min,max] of the training set
1 | truncator_fn(x)
|
x |
an atomic vector |
digits |
how many decimal places you would like your numeric number to contain after its been truncated |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.