Learn R Programming

episode (version 1.0.0)

print.plk: Print 'plk' object

Description

Prints objects of class plk, including visualising the powers.

Usage

# S3 method for plk
print(x, ...)

Arguments

x

Object of class plk.

...

Additional arguments passed to print.

See Also

plk

Examples

Run this code
# NOT RUN {
# Power law system
A <- matrix(
c(1, 0, 0, 0,
  0, 1, 2, 0,
  0, 0, 0, 0), ncol = 4, byrow = TRUE)
p <- plk(A)
p
# }

Run the code above in your browser using DataLab