Learn R Programming

mosaic (version 1.9.1)

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().

Arguments

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

do()