search for: dw_race_eth

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

2010 Aug 03
2
Specifying interactions in rms package... error
...try to add an interaction term involving two continuous variables (defined using rcs functions) to an existing (and working) model. The new model reads: model5 <- lrm( B_fainting ~ gender+ rcs(exactage, 7) + rcs(DW_nadler_bv, 7) + rcs(drawtimefrom8am, 7)+ DW_firsttime+ DW_race_eth + rcs(DW_BPS, 5)+ rcs(DW_BPD, 5)+ rcs(pulse3, 5)+ locat2+ (rcs(exactage, 3) * rcs(drawtimefrom8am, 3)) ) This gives rise to the following error: ---- Error in dimnames(X)[[2]] <- atr$colnames : length of 'dimnames' [2] not equal to array extent In addition: Warning message:...