Description Usage Arguments Value
Standard way to replace & replicate values for class-creation functions
1 | calc_val(vec, length_out, replace_val = 0)
|
vec |
The vector to replace and replicate values throughout |
length_out |
The target length of the vector |
replace_val |
The value to replace missing values with |
A vector of length length_out
with missing values replaced by
replace_val
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.