Learn R Programming

LS2Wstat (version 2.1-1)

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)

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.

See Also

lincurve, simTexture

Examples

Run this code
# NOT RUN {
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