onion (version 1.2-7)

seq.onion: seq method for onions

Description

Rough equivalent of seq() for onions.

Usage

# S3 method for onion
seq(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)

Examples

Run this code
# NOT RUN {
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