in Education by
If you explicitly want an integer, you need to specify the _____ suffix. (a) D (b) R (c) L (d) K I have been asked this question during an online interview. Question is from Data Types topic in section Nuts and Bolts and Getting Data In and Out of R Programming Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
Correct choice is (c) L To elaborate: Entering 1 in R gives you a numeric object; entering 1L explicitly gives you an integer object.

Related questions

0 votes
    A __________ is a set of elements appearing in rows and columns where the elements are of the same mode whether ... of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    Attributes of an object (if any) can be accessed using the ______ function. (a) objects() (b) attrib() (c ... and Out of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    An ordered collection of objects or components are called ________ (a) Data frames (b) Datasets (c) Databases ( ... of R Programming Select the correct answer from above options...
asked Feb 16, 2022 in Education by JackTerrance
0 votes
    A __________ is an R-object which can contain many different types of elements inside it. (a) Vector (b) ... Out of R Programming Select the correct answer from above options...
asked Feb 16, 2022 in Education by JackTerrance
0 votes
    To bind a row onto an already existing matrix, the ______ function can be used. (a) Rbind (b) Sbnd (c) ... and Out of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    Computation with vectors is achieved using an element-by-element operation for avoiding _________ (a) Loops (b) ... of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    An ordered factor is used to represent an __________ (a) Ordinal variable (b) Simple variable (c) Coordinal ... of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    The ________ stores the nominal values as a vector of integers in the range of 1 to unique values in the ... Out of R Programming Select the correct answer from above options...
asked Feb 16, 2022 in Education by JackTerrance
0 votes
    Which function is used to combine the elements into a vector? (a) C() (b) D() (c) E() (d) F() I ... Data In and Out of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    Lists can be coerced with which function? (a) As.lists (b) Has.lists (c) In.lists (d) Co.lists The ... In and Out of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    Locator function gives output as ___________ (a) Matrix (b) Lists (c) Vector (d) Number I had been asked this ... Out of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    R objects can have attributes, which are like ________ for the object. (a) metadata (b) features (c) ... Out of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    Factors are created using the _______ function. (a) C() (b) Function() (c) Array() (d) Lists() I got ... In and Out of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    What should we use to access elements with a value greater than five? (a) Subsetting commands (b) Use ... Out of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    A _________ is a two-dimensional rectangular data set. (a) Vector (b) Lists (c) Matrix (d) Functions I had ... and Out of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
...