spin3R: spin3R

Description Usage Arguments Details Note Author(s) References See Also Examples

View source: R/spin3R.R

Description

Simple spin function to rotate and to inspect a 3-dimensional cloud of points

Usage

1
  spin3R(x, alpha = 1, delay = 0.015, na.rm=FALSE)

Arguments

x

(nx3)-matrix of points

alpha

angle between successive projections

delay

delay in seconds between two plots

na.rm

if TRUE 'NA' values are removed otherwise exchanged by mean

Details

spin3R computes two-dimensional projections of (nx3)-matrix x and plots them on the graphics device. The cloud of points is rotated step by step. The rotation is defined by a tcl/tk control widget. spin3R requires tcl/tk package of R.

Note

version 05/2008

Author(s)

Peter Wolf

References

Cleveland, W. S. / McGill, M. E. (1988): Dynamic Graphics for Statistics. Wadsworth & Brooks/Cole, Belmont, California.

See Also

spin of S-Plus

Examples

1
2
  xyz<-matrix(rnorm(300),100,3)
  # now start:     spin3R(xyz) 

aplpack documentation built on July 29, 2019, 9:04 a.m.

Related to spin3R in aplpack...