Which of the following operator is used to create integer sequences?

Which of the following operator is used to create integer sequences?
A. :
B. ;
C. –
D. ~
 
Answer: a
Explanation: “:” operator is used to create an integer sequence. The other operators are used for other purposes. Integer sequence is the basic operator used in R. The [ operator can be used to extract multiple elements of a vector by passing the operator an integer sequence.
 

Tìm kiếm

Back
Top