lincurve {LS2Wstat} | R 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
Examples
x<-seq(0,1,length=128)
y<-lincurve(x,start=1,end=2,a=.25)
plot(x,y,type="l")
[Package LS2Wstat version 2.1-5 Index]