Explanation:Vectors are basic objects in R and they can be subsetted using the [ operator. 2. Point out the correct statement :
A. There are three operators that can be used to extract subsets of R objects
B. The [ operator is used to extract elements of a list or data frame by literal name
C. The [[ operator is used to extract elements of a list or data frame by string name
D. All of the mentioned
Answer:A
Explanation:Vectors are basic objects in R and they can be subsetted using the [ operator. 2. Point out the correct statement :
A. There are three operators that can be used to extract subsets of R objects B. The [ operator is used to extract elements of a list or data frame by literal name C. The [[ operator is used to extract elements of a list or data frame by string name D. All of the mentioned
Explanation:Three operators are [,[[ and $. 3. Which of the following extracts first four element from the following vector ?