print.graph: Print a 'graph' object

View source: R/print.graph.R

print.graphR Documentation

Print a graph object

Description

This function displays the information of a graph object.

Usage

## S3 method for class 'graph'
print(x, ...)

Arguments

x

a GeoPressureR graph object.

...

arguments passed to other methods

Value

graph is returned invisibly and unchanged

See Also

Other graph: graph_create(), graph_marginal(), graph_most_likely(), graph_set_movement(), graph_simulation()

Examples

withr::with_dir(system.file("extdata", package = "GeoPressureR"), {
  tag <- tag_create("18LX", quiet = TRUE) |>
    tag_label(quiet = TRUE) |>
    twilight_create() |>
    twilight_label_read() |>
    tag_set_map(
      extent = c(-16, 23, 0, 50),
      known = data.frame(stap_id = 1, known_lon = 17.05, known_lat = 48.9)
    ) |>
    geopressure_map(quiet = TRUE) |>
    geolight_map(quiet = TRUE)
})

graph <- graph_create(tag, quiet = TRUE)

print(graph)


Rafnuss/GeoPressureR documentation built on April 17, 2025, 12:58 p.m.