1  | der2phiBY3(s, y, c3)
 | 
s | 
|
y | 
|
c3 | 
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21  | ##---- 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)
    Fs = exp(-(log(1 + exp(-abs(s))) + abs(s) * (s < 0)))
    ds = Fs * (1 - Fs)
    dev = log(1 + exp(-abs(s))) + abs(s) * ((y - 0.5) * s < 0)
    Gprim1 = log(1 + exp(-abs(s))) + abs(s) * (s < 0)
    Gprim2 = log(1 + exp(-abs(s))) + abs(s) * (s > 0)
    der2 = (derpsiBY3(dev, c3) * (Fs - y)^2) + (ds * psiBY3(dev, 
        c3))
    der2 = der2 + (ds * (1 - 2 * Fs) * (psiBY3(Gprim1, c3) - 
        psiBY3(Gprim2, c3)))
    der2 = der2 - (ds * ((derpsiBY3(Gprim1, c3) * (1 - Fs)) + 
        (derpsiBY3(Gprim2, c3) * Fs)))
    der2
  }
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.