Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


⚠️There's a newer version (1.17.1) of this package.Take me there.

shipunov (version 1.6)

Miscellaneous Functions from Alexey Shipunov

Description

A collection of functions for data manipulation, plotting and statistical computing, to use separately or with the book "Visual Statistics. Use R!": Shipunov (2019) . Most useful functions are probably Bclust(), Jclust() and BootA() which bootstrap hierarchical clustering; Recode...() which multiple recode in a fast, flexible and simple way; Misclass() which outputs confusion matrix even if classes are not concerted; Overlap() which calculates overlaps of convex hulls from any projection; and Pleiad() which is fast and flexible correlogram. In fact, there are much more useful functions, please see documentation.

Copy Link

Version

Install

install.packages('shipunov')

Monthly Downloads

286

Version

1.6

License

GPL (>= 2)

Maintainer

Alexey Shipunov

Last Published

March 4th, 2020

Functions in shipunov (1.6)

Adj.Rand

Adjusted Rand index
Class.sample

Samples along the class labels
Biarrows

Adds correlation arrows to the scatterplot
Biokey

Convert diagnostic keys and classification lists
Cor.vec

Calculates correlation and converts results into the named long vector
Gower.dist

Gower distance
BootA

Bootstrap clustering
BootKNN

Bootstrap with kNN
Cosine.dist

Cosine distance
Classproj

Class projection
Ex.col

Examples of colors
Gradd

Classification grid and decision boundaries
Coeff.det

Average coefficients of determination for each variable
Coml

Compare checklists
Hcl2mat

Clustering to matrix
Linechart

Dotchart-like plot sfor every scaled variable grouped by factor
Gridmoon

Draw with 'R'
Dotcharts

Improved dotcharts
Ell

Plot ellipse
Files

Textual file system browser
Cor

Correlation matrix with p-values
Ls

Ls
Normality

Check normality
MRH

Matrix Representation of Hierarchical Clustering
Peaks

Find local maxima
Infill

Rarefaction curves
Fill

Fill data values downstream, like in spreadsheets
MDSv

MDS: explained variance (surrogate)
Jclust

Simple bootstrap and jackknife clustering
Overlap

Polygons' overlap
Ex.font

Examples of fonts
Bclust

Bootstrapped hclust
Phyllotaxis

Plant phyllotaxis
BestOverlap

Calculates the best overlap
Rpart2newick

Converts 'rpart' object into Newick tree
CVs

Coefficients of variation
Rresults

Rresults shell script
Cdate

System date, time plus easy save history
Saynodynamite

Say ``no'' to dynamite plots!
Gap.code

Gap coding
Root1

Roots phylogenetic trees even if outgroup is not monophyletic
Gen.cl.data

Generates datasets for clustering
eq

eq
Histr

Histogram with overlaid curve
Squares

Polygons' squares
haltica

Haltica flea beetles
Updist

Educated distances for semi-supervised clustering
Rostova.tbl

Calculates multiple correlation matrices (via 'factor1') and stacks them together
Topm

Stacks correlation matrix
chaetocnema

Chaetocnema flea beetles
classifs

Classification lists
Ellipses

Groups' confidence ellipses
Ex.boxplot

Boxplot explanation
Hulls

Groups' hulls
hwc

hwc
Missing.map

Textual plot of missing data
Ex.plots

Examples of plot types
Ex.pch

Point examples
Hclust.match

Counts matches between two hierarchical clusterings
Alldups

Finds all duplicates
PlotBest.mdist

Plots dotchart with best distance method, use multiple non-base distances
Read.tri.nts

Read 'NTSYSpc' files
%-%

Minus names
MrBayes

Calls MrBayes
keys

Diagnostic keys
Recode

Basic multiple recoding
Str

'str()' enchanced for data frames
Ploth

Changes the appearance of cluster dendrogram
Hcoords

Plot bootstrap values on 'hclust' plot
Misclass

Misclassification (confusion) table
Bclabels

Plot bootstrap values
Table2df

Convert table to data frame saving structure
BootRF

Bootstrap with 'randomForest()'
Plot.phylocl

Plot phylogenetic tree with clades collapsed
DNN

Distance matrix based kNN classification
Ditto

Removes duplicated data values downstream
dolbli

dolbli
Boxplots

Grouped boxplots
Pleiad

Correlation circles (correlation pleiads)
Pull

Select rows from data frame
Rro.test

Robust rank order test
Points

Number of cases in each location reflected in the point size
drosera

drosera
plantago

plantago
S.value

S-value
Ex.lty

Examples of line types
Xpager

Separate terminal pager for Linux
atmospheres

atmospheres
salix_leaves

salix_leaves
Ex.margins

Example of plot margins
pairwise.Rro.test

Robust rank order test post hoc derivative
K

Coefficient of divergence
Life

Game of Life
Mag

Interpreter for effect sizes
PlotBest.dist

Plots dotchart with best base distance method
Miney

Miney game
PlotBest.hclust

Plots dotchart with best clustering method
R.logo

Imitation (!) of the modern 'R' logo
Read.fasta

Read 'FASTA' files
pairwise.Table2.test

Pairwise Chi-squared or Fisher test for 2-dimensional tables
Tobin

Binarize (make dummy variables)
moldino

moldino
VTcoeffs

Effect sizes of association between categorical variables
Write.fasta

Write 'FASTA' files
pairwise.Eff

Pairwise table of effects with magnitudes
Toclip

Insert content to Linux X11 clipboard
Aggregate1

Aggregates by one vector and uses it for row names
Cladd

Adds confidence bands to the simple linear model plots