View source: R/datalow_utils.r
magnitude | R Documentation |
magnitude is useful when using an optimizer such as optim, which uses a parscale parameter. magnitude can determine the respective parscale value for each parameter value.
magnitude(x)
x |
the vector of numbers (parameters) whose magnitudes are needed |
a vector of magnitudes
## Not run:
x <- c(0,0.03,0.3,3,30,300,3000)
magnitude(x)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.