Displaying 5 results from an estimated 5 matches for "ageg".
Did you mean:
age
2011 Feb 14
1
problem running scripts
...es)
Then, I ran every scripts individually (not using source () ) selecting all (Ctrl + a) and running the selection (Ctrl + r).
R read every line in my script but, again, not all of the procedures were executed.
For example:
X$DATEACCI<-as.Date(X$DATEACCI) stayed as a factor.
Or
X$AgeG bellow was not created
ageg<-c(0, 4, 11, 50, Inf)
X$AgeG<-cut(X$AGE, ageg, include.lowest=TRUE,
labels=c("0-4", "5-11", "12-50", "51+"))
X data.set is approximately dim( 345,000, 33) for year one but I will need to run the scripts on 10 years....
2008 Jan 30
1
"hist" combines two lowest categories -- is there a workaround?
When preparing a series of histograms I found that hist was combining
the two lowest categories or bins, 1 and 2. Specifying breaks, as
illustrated below, resulted in the correct histogram:
values <- sample(10,500,replace=TRUE)
hist(values)
hist(values,breaks = 0:10)
Apparently, the number of values strictly less than 1 is shown in the
first bin (and since none is less than 1,
2009 Feb 02
1
survfit using quantiles to group age
I am using the package Design for survival analysis. I want to plot a
simple Kaplan-Meier fit of survival vs. age, with age grouped as
quantiles. I can do this:
survplot(survfit(Surv(time,status) ~ cut(age,3), data=veteran)
but I would like to do something like this:
survplot(survfit(Surv(time,status) ~ quantile(age,3), data=veteran)
#will not work
ideally I would like to superimpose
2010 Aug 25
1
accessing the attr(*,label.table) after importing from spss
...5 7 7 5 ...
$ Ho : int NA NA NA NA NA NA NA NA NA NA ...
$ coh : int 1 1 1 1 1 1 1 1 1 1 ...
$ Comp : int 1 1 1 1 1 1 1 1 1 1 ...
$ Ethan : int 2 2 2 2 2 2 2 2 2 2 ...
$ Pro : num NA NA NA NA NA NA NA NA NA NA ...
$ Ye : int 1 1 1 3 3 3 1 1 1 3 ...
$ Ageg : int 1 1 1 1 1 1 1 1 1 1 ...
$ BAC : int 0 0 0 0 0 0 0 0 0 0 ...
- attr(*, "val.labels")= chr "" "VL_Gender" "" "VL_Amnesia" ...
- attr(*, "var.labels")= chr "Age (years)" "Gender" "GCQSSA&quo...
2005 Jun 24
5
Memory limits using read.table on Windows XP Pro
Hello,
When I try:
geno
<-read.table("2500.geno.tab",header=TRUE,sep="\t",na.strings=".",quote="
",comment.char="",colClasses=c("factor"),nrows=2501)
I get, after hour(s) of work:
Error: cannot allocate vector of size 9 Kb
I have:
Rgui.exe --max-mem-size=3Gb
and
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft