Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

repeater-class

Repeater objects


Description

Repeater objects can be used with the * operator to repeat things multiple time using a different syntax and different output format from that used by, for example, replicate().

Slots

n:

Object of class "numeric" indicating how many times to repeat something.

cull:

Object of class "function" that culls the output from each repetition.

mode:

Object of class "character" indicating the output mode ('default', 'data.frame', 'matrix', 'vector', or 'list'). For most purposes 'default' (the default) should suffice.

algorithm:

an algorithm number.

parallel:

a logical indicating whether to attempt parallel execution.

See Also


mosaic

Project MOSAIC Statistics and Mathematics Teaching Utilities

v1.8.3
GPL (>= 2)
Authors
Randall Pruim [aut, cre], Daniel T. Kaplan [aut], Nicholas J. Horton [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.