Google News
logo
R - Quiz(MCQ)
The first component can be accessed using __________ operator.
A)
OR
B)
AND
C)
Intraction
D)
Extraction

Correct Answer :   Extraction


Explanation : There are a number of ways of accessing the first component of a list. We can either access it through the name of that component (if names are assigned) or by using a number corresponding to the position the component corresponds to. The former approach can be performed using subsetting ([[]]) or alternatively, by the extraction operator ($).

Advertisement