Which one of the following can be considered as a Data Matrix?
Which one of the following can be considered as a Data Matrix?
Select an option to attempt
Correct Answer: Option B
Explanation
Data matrix definition in bioinformatics/statistics:In R programming and bioinformatics:• A matrix is a two-dimensional data structure with ROWS and COLUMNS, where all elements are of the same data type.• A data matrix (data frame) can have multiple variable types in different columns.Examples:• 'Marks AND ages of students': TWO different variables (numeric marks, numeric age) for each student — forms a 2-column matrix/data frame. ✔ This is a DATA MATRIX.• 'A single weight measurement': a scalar (single value), not a matrix.• 'Your name': a single character string, not a matrix.• 'A to-do list': an ordered list (vector), not a matrix.A data matrix requires at least two dimensions with multiple observations (rows) and variables (columns).Answer: 'Marks AND ages of students' forms a data matrix (2-variable, multi-observation).