lincurve: A linear function between two constant values.

Description Usage Arguments Value Author(s) See Also Examples

Description

A function with which to generate nonstationary covariance structure.

Usage

1
lincurve(x, start = 1, end = 2, a = 0.25)

Arguments

x

a sequence of x-values.

start

a starting value for the linear function.

end

an ending value for the linear function.

a

a proportion of the x-values for the linear part of the function.

Value

y

the y-values associated to the linear function.

Author(s)

Matt Nunes

See Also

scurve, simTexture

Examples

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

y<-lincurve(x,start=1,end=2,a=.25)

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

LS2Wstat documentation built on May 2, 2019, 5:45 a.m.