Learn R Programming

spacejamr (version 0.2.1)

print.NetSim: Print information from a NetSim object

Description

Plots a NetSim object and returns a ggraph object

Usage

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

Arguments

x

a NetSim object

...

ignored.

Value

No return value, called for side effects

Examples

Run this code
# NOT RUN {
# Create spacejamr object
data("RI")

ri_points <- PointSim(points = 10, window = RI, seed = 42)
spl_points <- NetSim(ri_points, base_prob = 0.92, scale = 1, threshold = 0.5,
                     power = -2.4)
print(spl_points)

# }

Run the code above in your browser using DataLab