Displaying 3 results from an estimated 3 matches for "ageband".
Did you mean:
agebands
2011 Mar 16
2
Numeric vector converted mysteriously to characters in data frame?
...to plot them in
the df, R labels the numeric axis with default factor values and treats the
numeric vector as character. Why is this? Apologies if this is blindingly
obvious, I am new to R.
Here is some sample code that demonstrates the problem:
library(lattice)
# Load in some sample data ...
ageband <- c(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18)
agenames <-
c("00-04","05-09","10-14","15-19","20-24","25-29","30-34","35-39",
"40-44","45-49","50-54","55-59","60-64...
2011 Oct 13
0
xyplot() and confidence interval polygons
...and Oscar Lamigueiro refers to here and provides sample code for:
http://www.r-bloggers.com/confidence-bands-with-lattice-and-r/
where a polygon is generated around lines on panels to display the
confidence interval bounds for that line as a polygon around the line. My
data consists of counts by ageband and confidence intervals around those
counts. I cannot seem to get the prepanel function that the above threads
describe to function with my data - I get a message that "Argument is not
interpretable as logical". I am clearly doing something wrong, but I can't
work out where.
Here...
2009 Jul 28
5
Summarising Data for Forrest Plots
I tried to post this a few times last week and it seems to have got stuck somehow so I'm trying from a different email in the hope that works. If somehow this has appeared on the list 20 tiems and I never saw any of them I apologize ;-)
I'm basically an R-newbie. But I am VERY computer literate. But this has me stumped...
All the examples for using the rmeta package to create a