Learn R Programming

Rmpfr (version 0.9-5)

bind-methods: "mpfr" '...' - Methods for Functions cbind(), rbind()

Description

cbind and rbind methods for signature ... (see dotsMethods are provided for class Mnumber, i.e., for binding numeric vectors and class "mpfr" vectors and matrices ("mpfrMatrix") together.

Usage

cbind(..., deparse.level = 1)
rbind(..., deparse.level = 1)

Value

typically a ‘matrix-like’ object, here typically of

class "mpfrMatrix".

Arguments

...

matrix-/vector-like R objects to be bound together, see the base documentation, cbind.

deparse.level

integer determining under which circumstances column and row names are built from the actual arguments' ‘expression’, see cbind.

Methods

... = "Mnumber"

is used to (c|r)bind multiprecision “numbers” (inheriting from class "mpfr") together, maybe combined with simple numeric vectors.

... = "ANY"

reverts to cbind and rbind from package base.

Author

Martin Maechler

See Also

cbind2, cbind, Documentation in base R's methods package

Examples

Run this code
  cbind(1, mpfr(6:3, 70)/7, 3:0)

Run the code above in your browser using DataLab