in Education by
Which of the following operator is used to create integer sequences? (a) : (b) ; (c) – (d) ~ I got this question by my college director while I was bunking the class. Enquiry is from Overview of R topic in section History, Overview and Getting Started of R Programming Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
Right choice is (a) : To explain: “:” 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.

Related questions

0 votes
    How do you create an integer suppose 5 in R? (a) 5L (b) 5l (c) 5i (d) 5d I got this question ... and Getting Started of R Programming Select the correct answer from above options...
asked Feb 16, 2022 in Education by JackTerrance
0 votes
    What is the function used to test objects (returns a logical operator) if they are NA? (a) is.na() ... Started of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    What is the function used to test objects (returns a logical operator) if they are NaN? (a) as.nan() ... Started of R Programming Select the correct answer from above options...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    The dimension attribute is itself an integer vector of length _______ (a) 1 (b) 2 (c) 3 (d) 4 I ... Getting Started of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    Which of the following can be used to display the names of (most of) the objects which are currently stored ... of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    If the code is stored in the external file, which of the following function is used to call them to a ... Started of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    Which of the following command is used to print an object x in R? (a) printf(x) (b) print(x) ... Getting Started of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    Which function is used to automatically vectorize? (a) lapply() (b) kapply() (c) mapply() (d) happly( ... Started of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    __________ function is used to watch for all available packages in library. (a) lib() (b) fun.lib() (c ... Started of R Programming Select the correct answer from above options...
asked Feb 16, 2022 in Education by JackTerrance
0 votes
    R is mostly used in ______________ (a) Problem solving (b) Statistics (c) Probability (d) All of the ... Started of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    ___________ hosts many add-on packages that can be used to extend the functionality of R. (a) CRAN (b) ... Started of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    Which of the following is default prompt for UNIX environment? (a) > (b) >> (c) < (d)...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    Which of the following packages does not contain in base R system? (a) utils, graphics (b) mesh, ... Started of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    Which one of the following is not a basic datatype? (a) Numeric (b) Character (c) Data frame (d) ... Getting Started of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    Which of the following is Recommended package in R? (a) util (b) lang (c) stats (d) spatial This ... Getting Started of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
...