powered by
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.
md
ca
ca2
Thought for use in fixmahal.
fixmahal
wfu(md, ca, ca2, a1 = 1/(ca - ca2), a0 = -a1 * ca2)
A vector of numericals between 0 and 1.
vector of positive numericals.
positive numerical.
numerical. Slope.
numerical. Intercept.
Christian Hennig christian.hennig@unibo.it https://www.unibo.it/sitoweb/christian.hennig/en/
md <- seq(0,10,by=0.1) round(wfu(md,ca=5,ca2=8),digits=2)
Run the code above in your browser using DataLab