search for: chem97

Displaying 5 results from an estimated 5 matches for "chem97".

Did you mean: chem
2011 Mar 05
2
lattice: drawing strips for single-panel plots
The strip argument to panel.xyplot seems to be ignored for single-panel plots. Here is an example: data(Chem97, package = "mlmRev") myStrip <- function(...) { ltext(.5, .5, 'strip text') } densityplot(~ gcsescore, data = Chem97, strip=myStrip) The figure is printed with no strip. The strip.default documentation suggests that Deepayan intended this behavior. Still, it would hel...
2012 Nov 20
1
lattice density plot: add vertical lines at groupwise medians for all panels
Suppose you have the following code: ########## Start code########## data(Chem97, package="mlmRev") densityplot(~gcsescore | factor(score), groups=gender, data=Chem97, auto.key=TRUE, plot.points=FALSE, ref=TRUE, panel=function(x,...){ panel.densityplot(x,...) median.values <- median(x) panel.ablin...
2008 Dec 02
1
legend idea for latticeExtra
Dear list, I've written a small utility function to add arbitrary legend(s) to a lattice graph (or a combination of them), much like the legend function of base graphics. I though perhaps it could be useful to someone else, or improved by suggestions. I understand this goes against the lattice paradigm somewhat, in that you short-cut the link between group variables and the
2011 Jun 29
1
lmer() computational performance
Hello, running a mixed model in the package LME4, lmer() Panel data, have about 322 time periods and 50 states, total data set is approx 15K records and about 20 explanatory variables. Not a very large data set. We run random intercepts as well as random coefficients for about 10 of the variables, the rest come in as fixed effects. We are running into a wall of time to execute these models.
2011 Jun 30
0
help with interpreting what nnet() output gives:
...ably get more informed answers on the r-sig-mixed-models list. Please direct follow-ups there. (2) I'm not really sure whether this counts as "large" in the mixed/ multilevel model world. It's certainly not very large for a standard linear regression. For comparison, the 'Chem97' dataset in the mlmRev package is 31022 observations x 8 variables x 2280 blocks and is described as "relatively large" -- so the raw data matrix is about the same size (twice as long, half as wide) but there are many more blocks. (3) Fitting 10 random effects (including the interce...