Alex Karner ucdavis.edu> writes:
> I realize these limitations. However, I know that my actual dataset is
> reasonably well behaved in the range I want to predict, and I'm not using
> the predicted values for any further analysis, only for schematic purposes
> in the plot.
>
> I'm still curious
locfit can extrapolate:
library(locfit)
X <- seq(min(time(Nile)), max(time(Nile))+50)
plot(range(X), range(Nile), type = "n")
lines(Nile)
fit <- locfit(Nile ~ time(Nile))
lines(X, predict(fit, new = X), col = "red")
On Fri, Oct 10, 2008 at 4:42 PM, Alex Karner <[EMAIL PROTECTED]> wrote:
> Hi R
Thanks for your response, Dieter.
I realize these limitations. However, I know that my actual dataset is
reasonably well behaved in the range I want to predict, and I'm not using
the predicted values for any further analysis, only for schematic purposes
in the plot.
I'm still curious if this type
Alex Karner ucdavis.edu> writes:
> I'm trying to (1) plot loess lines for each of my groupings using the same
> color for each group; (2) plot loess predicted values.
>
> The first part is easy:
.. Example removed... Thanks, it was a good example of what you wanted!
> My question is, how do I
Hi R community,
I'm running R 2.7.2 on Windows XP SP2.
I'm trying to (1) plot loess lines for each of my groupings using the same
color for each group; (2) plot loess predicted values.
The first part is easy:
data1 <-
data.frame(Names=c(rep("Jon",9),rep("Karl",9)),Measurements=c(2,4,16,25,36,4
5 matches
Mail list logo