1.

___________ provides optional labels with the columns and rows.(a) Disnames(b) Dimnames(c) Denmes(d) DemnesdThis question was addressed to me during an online interview.I'd like to ask this question from Data Types topic in chapter Nuts and Bolts and Getting Data In and Out of R Programming

Answer» RIGHT answer is (b) Dimnames

The EXPLANATION is: byrow=TRUE indicates that the matrix should be filled by rows. byrow=FALSE indicates that the matrix should be filled by COLUMNS (the default). dimnames provides optional LABELS with the columns and rows.


Discussion

No Comment Found

Related InterviewSolutions