Previous: Usage | Up: Function va() | Next: Value |
formula=cbind(fever, coughing, chestpain, dizziness, shortbreath)~deathor for short:
formula=cbind(fever, ... ,shortbreath)~deathNote that the short way of writing formula requires the symptoms variables are located in a consecutive block in the data starting from fever and ending with shortbreath. Note that the current version requires the variable on the right hand side of the formula, death in this example, to be present in the community sample. If it is unknown in the community sample, the user needs to create such variable with arbitrary numerical values.