search for: agegr

Displaying 4 results from an estimated 4 matches for "agegr".

Did you mean: agegp
2012 Sep 24
1
Adding textbox to multiple panels in lattice
...ow to add the text centered with a white box around it automatically? Is there something like panel.textbox for lattice? Thanks in advance and here is the example Erich install.packages("Giza") library(Giza) panel.tpop <- function(x,y,...){ panel.grid(h=length(agegrs),v=5,col="lightgrey",lty=1) ls1 <<- list(...) y <<- y iFrame <- iEduDat[ls1$subscripts,] iSex <- with(iFrame,unique(sex)) if (iSex=="Female"){...
2010 Feb 05
2
sum a particular column by group
Dear all, I have a table like this: > eds R.ID Region Gender Agegr Time nvisits 1 1 A F 60--64 1:00 1 2 2 O F 55--59 1:20 1 3 3 O F 55--59 3:45 3 4 4 S M 60--64 1:10 3 5 5 W F 55--59 1...
2008 Sep 10
2
relsurv package
Dear R-users, I have a couple of questions about the relsurv package: 1) when I try to run the example: fit <- rsmul(Surv(time,cens)~sex+as.factor(agegr)+ratetable(age=age*365.24,sex=sex,year=year),ratetable=slopop,data=rdata) with the datasets in the package (rdata and slopop) it gives me an error: Error in nrow(x) : object "x" not found 2) If I have a date format like:"6/17/1997 " "9/10/1990 " "12/4/1996 &quo...
2012 Feb 24
1
package relsurv
...In particular I've tried to reproduce the examples proposed in the R-documentation about rsadd, rsmul and rstrans functions in R latest version (R 2.14.1). These examples don't run and the error message is always the following: data(slopop) data(rdata) rsadd(Surv(time,cens)~sex+as.factor(agegr)+ratetable(age=age*365,sex=sex,year=year),ratetable=slopop,data=rdata,int=5) Errore in .Call("pyears3b", as.integer(death), as.integer(rfac), as.integer(atts$dim), : C symbol name "pyears3b" not in DLL for package "survival" However I've tried to reproduce the...