Brobdingnag (version 1.2-9)

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

Author

Robin K. S. Hankin

See Also

brob

Examples

Run this code
x <- as.brob(-10:10)
sign(x) <- TRUE

Run the code above in your browser using DataLab