Make sure you comma is after htn. I think you put it before, placing htn as an option and not a variable. If you write the command exactly as your did in your message. It should work:
tab male htn, chi2
tab smoke htn, chi2
Make sure you comma is after htn. I think you put it before, placing htn as an option and not a variable. If you write the command exactly as your did in your message. It should work:
tab male htn, chi2
tab smoke htn, chi2