search for: drugindex

Displaying 1 result from an estimated 1 matches for "drugindex".

Did you mean: argindex
2011 Feb 08
1
Just another pattern matching / indexing question
...use particularly important drugs' presence or absence as categorical covariates in a model. I've tried grep, to search along the rows, and I can generate a vector of identifiers, but I cannot seem to generate the vector of logicals. I realise I'm doing something simply wrong. names(drugindex) [1] "book.MRN" "DRUG1" "DRUG2" "DRUG3" "DRUG4" "DRUG5" [7] "DRUG6" "DRUG7" "DRUG8" "DRUG9" "DRUG10" "DRUG11" [13] "DRUG12" "DRUG...