scurve: An S curve function between two constant values.

Description Usage Arguments Value Author(s) See Also Examples

View source: R/scurve.R

Description

A function with which to generate nonstationary covariance structure.

Usage

1
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

1
2
3
4
5
x<-seq(0,1,length=100)

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

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

LS2Wstat documentation built on May 30, 2017, 2:12 a.m.