a) Using factors with labels is better than using integers because factors are self-describing b) Factors are used ...
View Question
What will be the output of the following R code?
> x < – data.frame(foo = 1:4, bar = c(T, T, F, F))
> ncol(x)
What will be the output of the following R code? > x < - data.frame(foo = 1:4, bar ...
View QuestionData frames can be converted to a matrix by calling data _______
a) as.matr() b) as.mat() c) as.matrix() d) as.max() Answer: c Explanation: as.matrix() function should be used to ...
View QuestionPoint out the wrong statement?
a) is.nan() is used to test objects if they are NA b) is.nan() is used to test for ...
View QuestionThe _________ function returns a list of densities (y) corresponding to bin values (x).
a) Spline b) Density c) Lists d) Locator Answer: a Explanation: The spline function returns a list ...
View QuestionLocator function gives output as ___________
a) Matrix b) Lists c) Vector d) Number Answer: b Explanation: To extract a sublist, we use ...
View QuestionDensity function gives output as ________
a) Matrix b) Lists c) Vector d) Number Answer: b Explanation: There are also many functions ...
View QuestionWhich function gives the list as output?
a) Spline b) Matrix c) Vector d) Alphabet Answer: a Explanation: There are also many functions within ...
View QuestionJoining two lists can be achieved either using the _________ function.
a) Concat b) Join c) Reduce d) Delete Answer: a Explanation: Joining two lists can be ...
View QuestionWhich function can be used to determine the names assigned to a list?
a) Names b) Name c) Nam d) Nem Answer: a Explanation: To determine the names assigned to ...
View Question