seq: seq method for onions

Description Usage Arguments Author(s) Examples

Description

Rough equivalent of seq() for onions.

Usage

1
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(s)

Robin K. S. Hankin

Examples

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

onion documentation built on Feb. 11, 2021, 9:06 a.m.