eyeBall: A novel approach to visualizing random rotations.

Description Usage Arguments Value References Examples

Description

This function produces a three-dimensional globe onto which the on column of the provided sample is drawn. The data are centered around a provided matrix and the user can choose to display this center or not. Based on ggplot2 package by Wickham (2009).

Usage

1
2
3
  eyeBall(Rs, center = id.SO3, column = 1,
    show_estimates = FALSE, xlimits = c(-1, 1),
    ylimits = c(-1, 1), ...)

Arguments

Rs

the sample of n random rotations

center

point about which to center the observations

column

integer 1 to 3 indicating which column to display

show_estimates

rather to display the four estimates of the principal direction or not

xlimits

limits for the x-axis, appropriate range is [-1,1]

ylimits

limits for the y-axis, appropriate range is [-1,1]

...

Additional arguments passed to ggplot2

Value

a ggplot2 object with the data dispalyed on a blank sphere

References

Wickham H (2009). _ggplot2: elegant graphics for data analysis_. Springer New York. ISBN 978-0-387-98140-6, <URL: http://had.co.nz/ggplot2/book>.

Examples

1
2
3
r<-rvmises(20,1.0)
Rs<-genR(r)
plot(Rs,center=mean(Rs),show_estimates=TRUE,shape=4)

heike/rotations documentation built on May 17, 2019, 3:24 p.m.