1. This doesn't make much sense:
smoothdf <- data.frame(
x = 1:n,
y = as.vector(smooth(dat$g)),
method = "smooth()"
)
What do you think the "method" invocation does (data.frame has no "method"
argument)?
2. Show us what you have tried -- it depends on what graphics system you
use. In latti
Dear all,
I have panel data for a series (g) for three time periods. The variable is
likely autocorrelated. I would like to generate a new variable using
exponential/loess smoothing by group (gid).
For time series, I could have done something like this;
smoothdf <- data.frame(
x = 1:n,
y = a
2 matches
Mail list logo