1 | phiBY3(s, y, c3)
|
s |
|
y |
|
c3 |
1 2 3 4 5 6 7 8 9 10 11 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function (s, y, c3)
{
s = as.double(s)
dev = log(1 + exp(-abs(s))) + abs(s) * ((y - 0.5) * s < 0)
return(rhoBY3(dev, c3) + GBY3Fs(s, c3) + GBY3Fsm(s, c3))
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.