Learn R Programming

RandomFieldsUtils (version 1.2.5)

Print: Print method returning also the names automatically

Description

prints variable names and the values

Usage

Print(..., digits = 6, empty.lines = 2)

Arguments

...

any object that can be print-ed

digits

see print

empty.lines

number of leading empty lines

Value

prints the names and the values; for vectors cat is used and for lists str

Examples

Run this code
# NOT RUN {
  a <- 4
  b <- list(c=5, g=7)
  m <- matrix(1:4, nc=2)
  Print(a, b, m)
# }

Run the code above in your browser using DataLab