Explanation:Data frames are represented as a special type of list where every element of the list has to have the same length. 5. Point out the correct statement :
A. Using factors with labels is better than using integers because factors are self-describing
B. Factors are used to represent categorical data and can be unordered or ordered
C. Factors are important in statistical modeling and are treated specially by modelling functions like lm() and glm()
D. All of the mentioned
Answer:A
Explanation:Data frames are represented as a special type of list where every element of the list has to have the same length. 5. Point out the correct statement :
A. Using factors with labels is better than using integers because factors are self-describing B. Factors are used to represent categorical data and can be unordered or ordered C. Factors are important in statistical modeling and are treated specially by modelling functions like lm() and glm() D. All of the mentioned
Explanation:Having a variable that has values “Male” and “Female” is better than a variable that has values 1 and 2. 6. Which of the following is invalid assignment ?