as.numeric-methods: Coerce to numeric

Description Usage Arguments Examples

Description

Extract the slot "value" from an object.

Usage

1
2
3
4
5
## S4 method for signature 'Balance'
as.numeric(x, ...)

## S4 method for signature 'Amount'
as.numeric(x, ...)

Arguments

x

object to be coerced or tested.

...

further arguments passed to or from other methods.

Examples

1
2
x <- Amount(1, "USD")
as.numeric(x)

hmalmedal/ripplerestr documentation built on May 17, 2019, 4:34 p.m.