RandomFields (version 3.0.62)

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
RFoptions(seed=0) ## *ANY* simulation will have the random seed 0; set
##                   RFoptions(seed=NA) to make them all random again
  a <- 4
  b <- list(c=5, g=7)
  m <- matrix(1:4, nc=2)
  Print(a, b, m)
FinalizeExample()

Run the code above in your browser using DataLab