Learn R Programming

RandomFields (version 3.0.5)

Print: Nice print function 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
set.seed(0)
  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