For starters, use 'pmin' (parallel min) instead of 'min'.
substitute(MIN(psi/K14,EXP(((ABS(H14)/peak)^omega)*LN(psi/K14))),
list(MIN=quote(pmin), K14=quote(VaR), ABS=quote(abs),
EXP=quote(exp), LN=quote(log), H14=quote(Bmax),
omega=quote(w2)))
# pmin(psi/VaR, exp(((abs(Bma
Dear R users,
I am trying to generate a 3D plot using the wireframe() function in the lattice
package.
The corresponding formula in Excel looks as follows and is applied to the
wireframe() function:
MIN(psi/K14,EXP(((ABS(H14)/peak)^omega)*LN(psi/K14)))
I tried to "translate" this formula in R
2 matches
Mail list logo