wfu | R Documentation |
Function of the elements of md
, which is 1 for arguments smaller
than ca
, 0 for arguments larger than ca2
and linear
(default: continuous) in between.
Thought for use in fixmahal
.
wfu(md, ca, ca2, a1 = 1/(ca - ca2), a0 = -a1 * ca2)
md |
vector of positive numericals. |
ca |
positive numerical. |
ca2 |
positive numerical. |
a1 |
numerical. Slope. |
a0 |
numerical. Intercept. |
A vector of numericals between 0 and 1.
Christian Hennig christian.hennig@unibo.it https://www.unibo.it/sitoweb/christian.hennig/en/
fixmahal
md <- seq(0,10,by=0.1)
round(wfu(md,ca=5,ca2=8),digits=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.