Displaying 1 result from an estimated 1 matches for "trial_design_id".
2012 Aug 14
2
Not able to filter factor, class
...ot;)
library("RODBC")
cdb_cnct <- odbcConnectExcel("AZIF_DC_GVK_NSCLC_MSALL_287papers_02072012_141450_v1_4.xls")
arm <- sqlFetch(cdb_cnct, "Arm")
inclusion <- sqlFetch(cdb_cnct, "Inclusion")
odbcClose(cdb_cnct)
rm(cdb_cnct)
names(inclusion)
[1] "Trial_Design_ID" "Reference_ID" "Inclusion_Criteria"
[4] "Value" "F5" "F6"
> class(inclusion$Value)
[1] "factor"
> nrow(inclusion)
[1] 4879
> length(inclusion$Value == 0)
[1] 4879
> length(inclusion$...