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
Other jam practical functions:
breakDensity()
,
checkLightMode()
,
check_pkg_installed()
,
colNum2excelName()
,
color_dither()
,
diff_functions()
,
exp2signed()
,
fileInfo()
,
fixYellow()
,
getAxisLabel()
,
handleArgsText()
,
heads()
,
isFALSEV()
,
isTRUEV()
,
jamba
,
jargs()
,
kable_coloring()
,
lldf()
,
log2signed()
,
make_html_styles()
,
make_styles()
,
match_unique()
,
mergeAllXY()
,
minorLogTicks()
,
newestFile()
,
printDebug()
,
renameColumn()
,
rmInfinite()
,
rmNAs()
,
rmNA()
,
rmNULL()
,
sclass()
,
sdim()
,
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.