Learn R Programming

Rmpfr (version 0.6-0)

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)

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.

Value

typically a ‘matrix-like’ object, here typically of class "mpfrMatrix".

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.

See Also

cbind2, cbind, Methods.

Examples

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

Run the code above in your browser using DataLab