Learn R Programming

ggloop (version 0.1.0)

recycle.vector: A vector recycler using the contents of the shorter vector to do the recycling.

Description

The shorter of the two vectors will be recycled. Imitates R's internal recycling mechanism.

Usage

recycle.vector(x, y)

Arguments

x, y
Vectors, of which the shorter will be recycled.