spher.sespc.contour: Contour plot (on the sphere) of the SESPC distribution

View source: R/spher.sespc.contour.R

Contour plot (on the sphere) of the SESPC distributionR Documentation

Contour plot (on the sphere) of the SESPC distribution

Description

The contour plot (on the sphere) of the SESPC distribution is produced.

Usage

spher.sespc.contour(mu, theta, bgcol = "snow", dat = NULL, col = NULL,
lat = 50, long = 50)

Arguments

mu

The mean vector the SESPC distribution, a vector in R^3.

theta

The two \theta parameters of the SESPC distribution.

bgcol

The color of the surface of the sphere.

dat

If you have you want to plot supply them here. This has to be a numerical matrix with three columns, i.e. unit vectors.

col

If you supplied data then choose the color of the points. If you did not choose a color, the points will appear in red.

lat

A positive number determing the range of degrees to move left and right from the latitude center. See the example to better understand this argument.

long

A positive number determing the range of degrees to move up and down from the longitude center. See the example to better understand this argument.

Details

The goal of this function is for the user to see how the SESPC distribution looks like.

Value

A plot containing the contours of the distribution.

Author(s)

Michail Tsagris.

R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.

References

Tsagris M. and Alzeley O. (2024). Circular and spherical projected Cauchy distributions: A Novel Framework for Circular and Directional Data Modeling. https://arxiv.org/pdf/2302.02468.pdf

See Also

spher.esag.contour, spher.spcauchy.contour

Examples


mu <- colMeans( as.matrix( iris[, 1:3] ) )
theta <- c(1 ,0.5)
## the lat and long are decreased to 30. Increase them back to 50 to
## see the difference
spher.sespc.contour(mu, theta, lat = 30, long = 30)


Directional documentation built on Oct. 30, 2024, 9:15 a.m.