fuzzydouble.Rd
Double value of numbers with an error
fuzzydouble(number, sd = 1)
number | a numeric vector. |
---|---|
sd | the standard deviation of the Gaussian error added. |
A vector of the same length as number
containing the transformed values.
Calculate the double values of numbers and add a random error to the result.
fuzzydouble(2)#> [1] 2.599956fuzzydouble(1:4)#> [1] 2.255317 1.562736 5.994429 8.621553