Learn R Programming

rscopus (version 0.8.1)

print.token: Print method for token

Description

Print method for token

Usage

# S3 method for token
print(x, reveal = FALSE, ...)

reveal(x, ...)

Arguments

x

an object used to select a method.

reveal

Should the token be revealed

...

further arguments passed to or from other methods

Examples

Run this code
x = "asdf"
class(x) = "token"
print(x)
print(x, reveal = TRUE)

Run the code above in your browser using DataLab