search for: ptno

Displaying 10 results from an estimated 10 matches for "ptno".

Did you mean: pino
2017 Jul 11
2
Extracting sentences with combinations of target words/terms from cancer patient text medical records
...se = "") sentence_match } #### Working code #### sampletxt <- "This sentence contains the word metastatic and the word breast. This sentence contains no target words." sentence_match(sampletxt) #### Non-working code #### sampletxt <- structure( list( PTNO = c(1, 2, 2, 2), DATE = structure(c(16436, 16436, 16832, 16845), class = "Date"), TYPE = c("Progress note", "CAT scan", "Progress note", "Progress note"), TVAR = c( "This sentence contains the word metastatic. This sen...
2017 Jul 12
2
Extracting sentences with combinations of target words/terms from cancer patient text medical records
...### Working code #### > >sampletxt <- "This sentence contains the word metastatic and the word breast. This sentence contains no target words." > >sentence_match(sampletxt) > >#### Non-working code #### > >sampletxt <- > structure( > list( > PTNO = c(1, 2, 2, 2), > DATE = structure(c(16436, 16436, 16832, 16845), class = "Date"), > TYPE = c("Progress note", "CAT scan", "Progress note", "Progress note"), > TVAR = c( > "This sentence contains the word meta...
2011 Jul 07
2
How do I overlay two trellis plots of lme fitted lines produced by plot.augPred?
...to work. trellis.par.set() does not have a component called "new" so I cannot use that to imitate what I would do with par. Does anyone know how to overlay two or more plots produced by plot.augPred? Thank you! Ramzi # Here is code that reproduces my problem: tmpdat = structure(list(ptno = c(4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 8L, 10L, 10L, 10L, 10L, 10L, 10L, 10L, 10L, 10L, 10L, 20L, 20L, 20L, 20L, 20L, 20L, 20L, 20L, 20L, 20L, 20L, 20L, 20L, 23L, 23L, 23L, 23L, 23L, 23L, 23L, 23L, 23L, 23L, 24L, 24L, 24L, 24L, 24L, 24L, 24L, 24L, 24L, 24L), age =...
2017 Jul 11
0
Extracting sentences with combinations of target words/terms from cancer patient text medical records
...code #### > > sampletxt <- "This sentence contains the word metastatic and the word > breast. This sentence contains no target words." > > sentence_match(sampletxt) > > #### Non-working code #### > > sampletxt <- > structure( > list( > PTNO = c(1, 2, 2, 2), > DATE = structure(c(16436, 16436, 16832, 16845), class = "Date"), > TYPE = c("Progress note", "CAT scan", "Progress note", "Progress > note"), > TVAR = c( > "This sentence contains the...
2017 Jul 12
0
Extracting sentences with combinations of target words/terms from cancer patient text medical records
...### Working code #### > >sampletxt <- "This sentence contains the word metastatic and the word breast. This sentence contains no target words." > >sentence_match(sampletxt) > >#### Non-working code #### > >sampletxt <- > structure( > list( > PTNO = c(1, 2, 2, 2), > DATE = structure(c(16436, 16436, 16832, 16845), class = "Date"), > TYPE = c("Progress note", "CAT scan", "Progress note", "Progress note"), > TVAR = c( > "This sentence contains the word meta...
2017 Jul 13
1
Extracting sentences with combinations of target words/terms from cancer patient text medical records
...(str_which(sentence_extract, "breast"), str_which(sentence_extract, "metastatic|stage IV")) sentence_match <- str_c(sentence_number, ": ", sentence_extract[sentence_number], collapse = "") sentence_match } sampletxt <- structure( list( PTNO = c(1, 2, 2, 2), DATE = structure(c(16436, 16436, 16832, 16845), class = "Date"), TYPE = c("Progress note", "CAT scan", "Progress note", "Progress note"), TVAR = c( "This sentence contains the word metastatic. This sen...
2013 Apr 24
2
Trouble Computing Type III SS in a Cox Regression
...x Regression using either drop1 or Anova from the car package. Am hoping that people will take a look to see if they can tell what's going on. > > Here is my R code: > > cox3grp<- subset(survData, > Treatment %in% c("DC", "DA", "DO"), > c("PTNO", "Treatment", "PFS_CENSORED", "PFS_MONTHS", "AGE", "PS2")) > cox3grp<- droplevels(cox3grp) > str(cox3grp) > > coxCV<- coxph(Surv(PFS_MONTHS, PFS_CENSORED == 1) ~ AGE + PS2, data=cox3grp, method = "efron") > coxCV...
2017 Jul 13
0
Extracting sentences with combinations of target words/terms from cancer patient text medical records
...(str_which(sentence_extract, "breast"), str_which(sentence_extract, "metastatic|stage IV")) sentence_match <- str_c(sentence_number, ": ", sentence_extract[sentence_number], collapse = "") sentence_match } sampletxt <- structure( list( PTNO = c(1, 2, 2, 2), DATE = structure(c(16436, 16436, 16832, 16845), class = "Date"), TYPE = c("Progress note", "CAT scan", "Progress note", "Progress note"), TVAR = c( "This sentence contains the word metastatic. This sen...
2013 Apr 24
1
Trouble Computing Type III SS in a Cox Regression using drop1 and Anova
...mputing Type III SS in a Cox Regression using either drop1 or Anova from the car package. Am hoping that people will take a look to see if they can tell what's going on. Here is my R code: cox3grp <- subset(survData, Treatment %in% c("DC", "DA", "DO"), c("PTNO", "Treatment", "PFS_CENSORED", "PFS_MONTHS", "AGE", "PS2")) cox3grp <- droplevels(cox3grp) str(cox3grp) coxCV <- coxph(Surv(PFS_MONTHS, PFS_CENSORED == 1) ~ AGE + PS2, data=cox3grp, method = "efron") coxCV drop1(coxCV, test=&q...
2007 Oct 01
3
Apparently Conflicting Results with coxph
Dear List: I have a data frame prepared in the couting process style for including a binary time-dependent covariate. The first few rows look like this. PtNo Start End Status Imp 1 1 0 608.0 0 0 2 2 0 513.0 0 0 3 2 513 887.0 0 1 4 3 0 57.0 0 0 5 3 57 604.0 0 1 6 4 0 150.0 1 0 The outcome is mortality and the covariate is for an implantable defibrilla...