lincurve: A linear function between two constant values.

View source: R/lincurve.R

lincurveR Documentation

A linear function between two constant values.

Description

A function with which to generate nonstationary covariance structure.

Usage

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


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

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

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


LS2Wstat documentation built on Sept. 17, 2023, 9:06 a.m.