Description Usage Arguments Value
This simply calls matrix_or_data_frame[row_index,,drop=FALSE] for you but is shorter and helps you avoid forgetting drop=FALSE. The need for drop=FALSE when selecting just one row is explained here: http://www.hep.by/gnu/r-patched/r-faq/R-FAQ_56.html
1 | oneRow(matrix_or_data_frame, row_index)
|
matrix_or_data_frame |
A matrix or data frame from which you want one row. |
row_index |
The integer index of the row |
The selected row of the data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.