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
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.
Step by Step Solution
3.40 Rating (147 Votes )
There are 3 Steps involved in it
Here are the R commands to perform the t... View full answer
Get step-by-step solutions from verified subject matter experts
