in Education by
The dimension attribute is itself an integer vector of length _______ (a) 1 (b) 2 (c) 3 (d) 4 I had been asked this question during an interview for a job. Question is taken from Overview of R in division History, Overview and Getting Started of R Programming Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
The correct option is (b) 2 To explain I would say: It is itself an integer vector of length 2. The dimension attribute in R is an integer vector. Real values larger in modulus than the largest integer are coerced to NA. Matrices are vectors with a dimension attribute. The dimension attribute is itself an integer vector of length 2 (number of rows, number of columns).

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
    Which of the following operator is used to create integer sequences? (a) : (b) ; (c) - (d) ~ I ... Getting Started of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    In R language, a vector is defined that it can only contain objects of the ________ (a) Same class (b) ... Started of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    A list is represented as a vector but can contain objects of ___________ (a) Same class (b) Different class ... of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    How many atomic vector types does R have? (a) 5 (b) 6 (c) 8 (d) 10 This question was addressed ... Getting Started of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    A single element of a character vector is referred as ________ (a) Character string (b) String (c) Data ... Started of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    _______ will divert all subsequent output from the console to an external file. (a) sink (b) div (c) exp ... Started of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    Elementary commands in R consist of either _______ or assignments. (a) utilstats (b) language (c) expressions (d ... of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    In order to use the R-related functionality in Dundas BI, you must have access to an existing _________ (a ... Started of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    If commands are stored in an external file, say commands.R in the working directory work, they may be executed ... 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
    R files has an extension ______ (a) .R (b) .S (c) .Rp (d) .c I got this question in quiz. ... and Getting Started of R Programming Select the correct answer from above options...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    Which of the following is not an object of R? (a) calls (b) expressions (c) strings (d) names The ... Getting Started of R Programming Select the correct answer from above options...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    In which year R-Core group was formed? (a) 1993 (b) 1996 (c) 1997 (d) 1998 This question was ... Getting Started of R Programming Select the correct answer from above options...
asked Feb 16, 2022 in Education by JackTerrance
0 votes
    Version of R released to the public in 2000 was_________ (a) 1.0.0 (b) 1.0.3 (c) 2.0.1 (d) ... and Getting Started of R Programming Select the correct answer from above options...
asked Feb 16, 2022 in Education by JackTerrance
...