scurve: An S curve function between two constant values.

View source: R/scurve.R

scurveR Documentation

An S curve function between two constant values.

Description

A function with which to generate nonstationary covariance structure.

Usage

scurve(x, a = 1, start = 1, end = 2)

Arguments

x

a sequence of x-values.

a

The coefficient of slope of the curve.

start

a starting value for the curve

end

an ending value for the curve

Value

y

the function values associated to x depicting an S-curve.

Author(s)

Matt Nunes

See Also

lincurve, simTexture

Examples


x<-seq(0,1,length=100)

y<-scurve(x,.4,1,2)

plot(x,y,type="l")


LS2Wstat documentation built on May 11, 2022, 5:10 p.m.