Learn R Programming

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

Directional (version 2.2)

Directional Statistics

Description

A collection of R functions for directional data analysis.

Copy Link

Version

Install

install.packages('Directional')

Monthly Downloads

629

Version

2.2

License

GPL-2

Maintainer

Michail Tsagris

Last Published

August 1st, 2016

Functions in Directional (2.2)

Circurlar correlations between two circular variables

Circurlar correlations between two circular variables
BIC for the model based clustering using mixtures of von Mises-Fisher distributions

BIC to choose the number of components in a model based clustering using mixtures of von Mises-Fisher distributions
Tuning of the k-NN algorithm using the arc cosinus distance

k-NN algorithm using the arc cosinus distance. Tuning the k neigbours
Directional-package

This is an R package that provides methods for the statistical analysis of Directional data.
Circular-linear correlation

Circular-linear correlation
k-NN algorithm using the arc cosinus distance

k-NN algorithm using the arc cosinus distance
Habeck's rotation matrix generation

Generation of three-dimensional random rotations using Habeck's algorithm.
Summary statistics for circular data

Summary statistics for circular data
Test of equality of the concentration parameters for circular data

A test for testing the equality of the concentration parameter among g samples, where g >= 2 for ciruclar data
Summary statistics for grouped circular data

Summary statistics for grouped circular data
Hypothesis test for von Mises-Fisher distribution over Kent distribution

Hypothesis test for von Mises-Fisher distribution over Kent distribution
Saddlepoint approximations of the Fisher-Bingham distributions

Saddlepoint approximations of the Fisher-Bingham distributions
MLE of the angular central Gaussian distribution

MLE of the angular central Gaussian distribution
Rotation matrix on SO(3) from three Euler angles

Construct a rotation matrix on SO(3) from the Euler angles.
Inverse of the Euclidean transformation

Inverse of the Euclidean transformation
Euclidean transformation

Euclidean transformation
MLe of the generalised von Mises distribution

MLe of the geometrically generalised von Mises distribution
Rotation axis and angle of rotation given a rotation matrix

Rotation axis and angle of rotation given a rotation matrix
Goodness of fit test for grouped data

Goodness of fit test for grouped data
Simulating from a Bingham distribution

Simulating from a Bingham distribution
Contour plot of the Kent distribution without any data

Contour plot of the Kent distribution without any data
Contour plot of the Kent distribution for some data

Contour plot of the Kent distribution for some data
Logarithm of the Kent distribution normalizing constant

Logarithm of the Kent distribution normalizing constant
MLe of the Kent distribution

MLe of the Kent distribution
Anova for (hyper-)spherical data

Analysis of variance for (hyper-)spherical data
Anova for circular data

Analysis of variance for circular data
Uniformity test for circular data

Uniformity tests for circular data.
Tuning of the k-NN regression

Tuning of the k-NN regression with Euclidean or (hyper-)spherical response and or predictor variables
k-NN regression

k-NN regression with Euclidean or (hyper-)spherical response and or predictor variables
Inverse of Lambert's equal area projection

Inverse of Lambert's equal area projection
Contour plot of a mixture of von Mises-Fisher distributions model

Contour plot of a mixture of von Mises-Fisher distributions model for spherical data only.
Mixtures of Von Mises-Fisher distributions

Mixtures of Von Mises-Fisher distributions
Mle of the Matrix Fisher distribution on SO(3)

Mle of the Matrix Fisher distribution on SO(3)
Converting an unsigned unit quaternion to rotation matrix on SO(3)

Converting an unsigned unit quaternion to rotation matrix on SO(3)
Simulation from a Bingham distribution using any symmetric matrix A

Simulation from a Bingham distribution using any symmetric matrix A
Rayleigh's test of uniformity

Rayleigh's test of uniformity
Lambert's equal area projection

Lambert's equal area projection
Spherical and hyperspherical median

Fast calculation of the spherical and hyperspherical median
Test for a given mean direction

Test for a given mean direction
Probability density function of the von Mises-Fisher distribution

Probability density function of the von Mises-Fisher distribution
Rotation matrix to rotate a spherical vector along the direction of another

Rotation matrix to rotate a spherical vector along the direction of another
Simulation of random values from a spherical Fisher-Bingham distribution

Simulation of random values from a spherical Fisher-Bingham distribution
Simulation of random values from a spherical Kent distribution

Simulation of random values from a spherical Kent distribution
Simulation from a Matrix Fisher distribution on SO(3)

Simulation from a Matrix Fisher distribution on SO(3)
Random values simulation from a mixture of von Mises-Fisher distributions

Random values simulation from a mixture of von Mises-Fisher distributions
Converting a rotation matrix on SO(3) to an unsigned unit quaternion

Converting a rotation matrix on SO(3) to an unsigned unit quaternion
Random values simulation from a von Mises-Fisher distribution

Random values simulation from a von Mises-Fisher distribution
Random sample of matrices in SO(p)

Random sample of matrices in SO(p)
Euler angles from a rotation matrix on SO(3)

Compute the Euler angles from a rotation matrix on SO(3).
Rotation matrix from a rotation axis and angle of rotation

Rotation matrix from a rotation axis and angle of rotation
Spherical-Spherical regression

Spherical-Spherical regression
Test for equality of concentration parameters for spherical data

Test for equality of concentration parameters for spherical data
A test for testing the equality of the concentration parameters for ciruclar data

A test for testing the equality of the concentration parameter among g samples, where g >= 2 for ciruclar data
Circular or angular regression

Circular or angular regression
Contour plots of the von Mises-Fisher distribution

Contour plots of the von Mises-Fisher distribution on the sphere
von Mises kernel density estimation

Kernel density estimation of circular data with a von Mises kernel
Spherical-spherical correlation

Spherical-spherical correlation
Random values simulation from a von Mises distribution

Random values simulation from a von Mises distribution
Check visually whether matrix Fisher samples is correctly generated or not

Check visually whether matrix Fisher samples is correctly generated or not.
Unit vector(s) with a given angle

Unit vector(s) with a given angle
Tuning of the bandwidth parameter in the von Mises kernel

Tuning of the bandwidth parameter in the von Mises kernel for circular data
MLe of the Wood bimodal distribution on the sphere

MLe of the Wood bimodal distribution on the sphere
Prediction in discriminant analysis based on von Mises-Fisher distributions

Prediction of a new observation using discriminant analysis based on von Mises-Fisher distributions
Mises-Fisher kernel density estimation for (hyper-)spherical data

Kernel density estimation for (hyper-)spherical data using a von Mises-Fisher kernel
Tuning of the bandwidth parameter in the von Mises-Fisher kernel

Tuning of the bandwidth parameter in the von Mises-Fisher kernel for (hyper-)spherical data
Cross validation in von Mises-Fisher discrminant analysis

Cross validation for estimating the classification rate of a discrminant analysis for directional data assuming a von Mises-Fisher distribution
Contour plot of spherical data using a von Mises-Fisher kernel density estimate

Contour plot of spherical data using a von Mises-Fisher kernel density estimate
MLe of the von Mises-Fisher distribution

MLe of von Mises-Fisher distribution