Function sphkde.plot provides a graphical representation of the parametrically guided kernel density estimator for spherical and circular data. For circular data, both linear and circular representations are available. For spherical data, an interactive 3D spherical representation is provided.
Usage
sphkde.plot(object, type = "sph", axis = TRUE, shrink = 1.2)
Value
sphkde.plot is called for the side effect of drawing the plot.
Arguments
object
Object of the class sphkde.
type
Character string giving the desired type of plot. For circular data, it can be "sph" for a circular representation or "line" for a linear representation. For spherical data the value "sph" is required.
axis
Logical; if TRUE, the axis are represented in the spherical representation. If FALSE, axis are not represented. Only for spherical representations.
shrink
Numeric parameter that controls the size of the plotted circle in the circular representations. Default is 1.3. Larger values shrink the circle, while smaller values enlarge the circle.
Details
See Alonso-Pena et al. (2023) for details.
References
Alonso-Pena, M., Claeskens, G. and Gijbels, I. (2023) Nonparametric estimation of densities on the hypersphere using a parametric guide. Under review.