R/spherical.R

"spherical" <-
function(rang1, sill, nugget, x)
{
        x <- x/rang1
        return((((sill - nugget) * (1.5 * x - 0.5 * x^3) + nugget) * (1 - sign(
                x - 1)))/2 + (sill * (1 + sign(x - 1)))/2)
}

Try the geo package in your browser

Any scripts or data that you put into this service are public.

geo documentation built on May 2, 2019, 5:22 p.m.