search for: dw_nadler_bv

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

2010 Aug 03
2
Specifying interactions in rms package... error
...ncountering an error I do not know how to debug. The error arises when I 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 'di...