When using a spreadsheet file (e g, an Excel xlsx file) to import data into R us
ID: 3298544 • Letter: W
Question
When using a spreadsheet file (e g, an Excel xlsx file) to import data into R using the "read.table" function, you must convert the file to text file using a delimiter symbol (i.e., a comma-delimited file or a tab-delimited file, for example). Your file must NOT have: a. A header record describing the columns or variables b. Variables as columns and records as rows. c. Commas or tabs separating the columns d. Any extraneous information such as column totals and subtotals Which of the following are legal names for R objects? Check all that apply. a. newCar b. horseshoe c. number of cases d. carbon-fiberExplanation / Answer
Q.2> In this case we should not have any extraneous information such as column totals and subtotals. Hence, Option (d) is the correct choice. (Ans).
Q.3> In this case newCar and horsehoe are legal R objects, as we should not have space or '-' between two phrases.
Hence, Option (a) and Option(b) are correct choices. (Ans).
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.