Learn R Programming

mulgar (version 1.0.5)

Functions for Pre-Processing Data for Multivariate Data Visualisation using Tours

Description

This is a companion to the book Cook, D. and Laa, U. (2023) "Interactively exploring high-dimensional data and models in R". by Cook and Laa. It contains useful functions for processing data in preparation for visualising with a tour. There are also several sample data sets.

Copy Link

Version

Install

install.packages('mulgar')

Monthly Downloads

183

Version

1.0.5

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Di Cook

Last Published

April 7th, 2025

Functions in mulgar (1.0.5)

ggslice

Generate an axis-parallel slice display
gen_vc_ellipse

Generate points on the surface of an ellipse
hierfly

Generate a dendrogram to be added to data
ggslice_projection

Generate slice display
ggmcbic

Produces an mclust summary plot with ggplot
rmvn

Generate a sample from a multivariate normal
plane_nonlin

Non-linear relationship in 5D
pooled_vc

Compute pooled variance-covariance matrix
pca_model

Create wire frame of PCA model
norm_vec

Normalise a vector to have length 1
simple_clusters

Two clusters in 2D
sketches_test

Images of sketches for testing
sketches_train

Images of sketches for training
mc_ellipse

Computes the ellipses of an mclust model
multicluster

Multiple clusters of different sizes, shapes and distance from each other
mulgar-package

mulgar: Functions for Pre-Processing Data for Multivariate Data Visualisation using Tours
copula

Data sets generated using copulas
plane

2D plane in 5D
som_model

Process the output from SOM to display the map and data
pisa

PISA scores
aflw

AFLW player statistics
calc_norm

Calculate the norm of a vector
calc_mv_dist

Compute Mahalanobis distances between all pairs of observations
convert_proj_tibble

This function turns a projection sequence into a tibble
ggscree

This function produces a simple scree plot
gen_xvar_ellipse

Ellipse matching data center and variance
clusters_nonlin

Four unusually shaped clusters in 4D
associations

Data sets with different types of association
clusters

Three clusters in 5D
bushfires

Australian bushfires 2019-2020
box

3D plane in 5D
clusterchallenges

Cluster challenge data sets
anomalies

Data sets with anomalies