| middle | R Documentation |
Return the middle portion of data similar to head and tail
middle(x, n = 10, evenly = TRUE, ...)
x |
input data that can be subset |
n |
|
evenly |
|
... |
additional arguments are ignored. |
This function is very simple, and is intended to mimic head()
and tail() to inspect data without looking at every value
an object of class equivalent to x.
Other jam practical functions:
breakDensity(),
call_fn_ellipsis(),
checkLightMode(),
check_pkg_installed(),
colNum2excelName(),
color_dither(),
exp2signed(),
getAxisLabel(),
isFALSEV(),
isTRUEV(),
jargs(),
kable_coloring(),
lldf(),
log2signed(),
minorLogTicks(),
newestFile(),
printDebug(),
reload_rmarkdown_cache(),
renameColumn(),
rmInfinite(),
rmNA(),
rmNAs(),
rmNULL(),
setPrompt()
x <- 1:101;
middle(x);
middle(x, evenly=TRUE)
xdf <- data.frame(n=1:101,
excel_colname=jamba::colNum2excelName(1:101));
middle(xdf)
middle(xdf, evenly=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.