Displaying 3 results from an estimated 3 matches for "anemdef".
2010 Sep 07
0
AHRQ - Creation of Comorbidity Variables
...RC','PERIVASC',
# 'HTN_C','PARA','NEURO','CHRNLUNG','DM',
# 'DMCX','HYPOTHY','RENLFAIL','LIVER','ULCER',
# 'AIDS','LYMPH','METS','TUMOR','ARTH',
# 'ANEMDEF','ALCOHOL','DRUG','PSYCH','DEPRESS') )
flag = function(data, k) {
data = data[k, ]
print(data)
print(k)
id = as.matrix(data[1])
DX = data[4:53]
DX = as.matrix(DX)
DRG = as.matrix(data[2])
##########format##########################...
2010 Mar 25
3
Returning Data Frame from Function for use Outside Function
...ot;20", "21", "22",
"23"), first=TRUE)
#f <- mpr100 ~ time + nhb + hispanic + other +
# rural + hrural +
# factor(age) + factor(gender) + factor(mstat) +
factor(svcpct2) + nvaclass +
# a1cgrp8 + anemdef + cbd + chf + chrnlung + htn_c +
# hypothy + obese + perivasc + pulmcirc + tumor +
# depress + psych +
# nhb*rural + hispanic*rural + other*rural +
# nhb*hrural + hispanic*hrural + other*hrural +
#...
2010 Mar 25
0
Counting a number of "elements" in an object
...er and I don't know the proper terms to search under.
I have an object:
f <- mpr100 ~ time + nhb + hispanic + other +
rural + hrural +
factor(age) + factor(gender) + factor(mstat) +
factor(svcpct2) + nvaclass +
a1cgrp8 + anemdef + cbd + chf + chrnlung + htn_c +
hypothy + obese + perivasc + pulmcirc + tumor +
depress + psych +
nhb*rural + hispanic*rural + other*rural +
nhb*hrural + hispanic*hrural + other*hrural +...