rep: Replicate elements of a vector-like object

Description Usage Arguments Value See Also Examples

Description

rep.int replicates the elements in x.

NOTE: This man page is for the rep.int S4 generic function defined in the BiocGenerics package. See ?base::rep.int for the default method (defined in the base package). Bioconductor packages can define specific methods for objects (typically vector-like) not supported by the default method.

Usage

1
rep.int(x, times)

Arguments

x

The object to replicate (typically vector-like).

times

See ?base::rep.int for a description of this argument.

Value

See ?base::rep.int for the value returned by the default method.

Specific methods defined in Bioconductor packages will typically return an object of the same class as the input object.

See Also

Examples

1
2
3
rep.int
showMethods("rep.int")
selectMethod("rep.int", "ANY")  # the default method

nturaga/BiocGenerics documentation built on May 7, 2019, 11:15 a.m.