Displaying 1 result from an estimated 1 matches for "nonexposed".
Did you mean:
nonexported
2003 Aug 22
2
"subscript out of range" message
...code to subset the table:
y <- x[,,ASBIN=">0.05"]
# When I do this, R throws an error message stating "subscript out of
range". However, it runs fine if I change the labels for my ASBIN variable
from "<0.05" and ">=0.05" to words like "Nonexposed" and "Exposed"
respectively.
I searched the archives and the documentations for this, but could not find
a solution. I understand that sometimes it is more expressive to use
expressions like "<0.05" (or something similar) as headings in
cross-tabulations. What was...