onion (version 1.5-0)

seq: seq method for onions

Description

Rough equivalent of seq() for onions.

Usage

seq_onion(from=1,to=1,by=((to-from)/(length.out-1)),length.out=NULL,slerp=FALSE, ...)

Arguments

from

Onion for start of sequence

to

Onion for end of sequence

by

Onion for interval

length.out

Length of vector returned

slerp

Boolean, with default FALSE meaning to use linear interpolation and TRUE meaning to use spherical linear interpolation (useful for animating 3D rotation)

...

Further arguments (currently ignored)

Author

Robin K. S. Hankin

Examples

Run this code
seq(from=O1,to=Oil,length.out=6)
seq(from=H1,to=(Hi+Hj)/2,len=10,slerp=TRUE)

Run the code above in your browser using DataLab