Brobdingnag (version 1.2-6)

getP: Get and set methods for brob objects

Description

Get and set methods for brobs: sign and value

Usage

getP(x)
getX(x)
sign(x) <- value

Arguments

x

Brobdingnagian object

value

In function sign<-(), Boolean specifying whehter the brob object is positive

See Also

brob

Examples

Run this code
# NOT RUN {
x <- as.brob(-10:10)
sign(x) <- TRUE
# }

Run the code above in your browser using DataCamp Workspace