Displaying 2 results from an estimated 2 matches for "0010188".
2011 Feb 08
1
Just another pattern matching / indexing question
...UG13" "DRUG14" "DRUG15" "DRUG16"
> truvec<-drugindex$book.MRN[as.vector(unlist(apply(drugindex[,2:17], 2,
> grep, pattern="Lamotrigine")))]
> truvec
truvec
[1] 0024633 0008291 0008469 0030599 0027667
37 Levels: 0008291 0008469 0010188 0014217 0014439 0015822 ... 0034262
> head(drugindex)
book.MRN DRUG1 DRUG2 DRUG3 DRUG4
DRUG5
4 0008291 Venlafaxine Procyclidine Flunitrazepam Amisulpiride
Clozapine
31 0008469 Venlafaxine Mirtazapine Lithium Olanzapine
Metoprolol
3...
2011 Jul 01
3
Multilevel Survival Analysis - Cox PH Model
...quot;)= chr "FullyOrientated"
mysurv is constructed from the following data:
head(data.frame(MRN, ORIENTATION, FullyOrientated))
MRN ORIENTATION FullyOrientated
1 0008291 20 2
2 0008469 20 2
3 0008469 15 2
4 0010188 20 2
5 0013664 30 1
6 0014217 40 1
I had planned to use a Cox PH model to analyse time to waking (ORIENTATION =
10, 15, 20 mins ....... 50 mins) and whether or not people (MRN) are fully
awake within an hour (FullyOrientated)...