MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

DATA STRUCTURES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of the following is not an attribute of an ordered factor?
A
levels
B
class
C
order
D
None of the above
Explanation: 

Detailed explanation-1: -The incorrect answer is Quantity of inputs.

Detailed explanation-2: -Attributes of a factor It is the input vector which is to be transformed into a factor. It is an input vector that represents a set of unique values which are taken by x. It is a character vector which corresponds to the number of labels. It is a logical attribute which determines if the levels are ordered.

Detailed explanation-3: -4.3 Ordered factors The levels of factors are stored in alphabetical order, or in the order they were specified to factor if they were specified explicitly. Sometimes the levels will have a natural ordering that we want to record and want our statistical analysis to make use of.

Detailed explanation-4: -R – Level Ordering of Factors Factors are data objects used to categorize data and store it as levels. They can store a string as well as an integer. They represent columns as they have a limited number of unique values. Factors in R can be created using factor() function.

There is 1 question to complete.