Learn R Programming

LS2Wstat (version 2.1-5)

scurve: 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)

Value

y

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

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

Author

Matt Nunes

See Also

lincurve, simTexture

Examples

Run this code

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

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

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

Run the code above in your browser using DataLab