1. Consider a data frame called myDF that contains only two factor variables. Enter the R command...
Question:
1. Consider a data frame called myDF that contains only two factor variables. Enter the R command that produces a two-way (contingency) table of this data.
2. Presume you've created an R table myTable that is a two-by-two table. (So if you simply type in myTable at the R prompt, R will output the two-by-two table.) Enter the R command that produces the two-by-two row proportions table.
3. Presume you've created an R table myTable that is a two-by-two table. (So if you simply type in myTable at the R prompt, R will output the two-by-two table.) Enter the R command that produces the column totals.
4. Presume you've created an R table myTable that is a two-by-two table. (So if you simply type in myTable at the R prompt, R will output the two-by-two table.) Enter the R command that produces the row totals.