View source: R/tcgaretriever_v_1_7.R
show_head | R Documentation |
Show the first part of an object (vector, matrix, data frame, or list). For two-dimensional objects, the operation returns up to a certain number of rows and columns as indicated by the user.
show_head(x, i = 6, j = 6)
x |
an object. |
i |
an integer vector of length 1. Maximum number of rows (or elements) to be shown. |
j |
an integer vector of length 1. Maximum number of columns (or inner elements) to be shown. |
This function is a simple error-compliant version of a header function. NULL is returned if a header cannot be computed (e.g., if a funciton is passed as object 'x'.
an object (subset) of the same class as 'x'. NULL is returned if the header cannot be extracted.
Damiano Fantini, damiano.fantini@gmail.com
https://www.data-pulse.com/dev_site/TCGAretriever/
my_x <- data.frame(A=1:5, B=2:6, C=3:7)
show_head(my_x, 2, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.