InterviewSolution
Saved Bookmarks
| 1. |
In syntax of linear model lm(formula,data,..), data refers to ______(a) Matrix(b) Vector(c) Array(d) ListThis question was posed to me in an online quiz.My doubt is from Linear Regression topic in section Commands, Packages, Visualizing Data and Linear Regression of R Programming |
|
Answer» CORRECT ANSWER is (b) Vector To explain: Formula is just a symbol to show the RELATIONSHIP and is APPLIED on data which is a vector. In General, data.frame are used for data. |
|