This function displays the information of a graph
object.
Usage
# S3 method for class 'graph'
print(x, ...)
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)
#>
#> ── GeoPressureR `graph` object for 18LX ────────────────────────────────────────
#> Note: All green texts are fields of `graph` (i.e., `graph$field`).
#>
#> ── Parameters param
#> Run `graph$param` to display full table
#>
#> ── Stationary periods stap
#> 5 stationary periods
#> stap_id start end known_lon known_lat include
#> 1 1 2017-07-26 23:57:30 2017-08-04 19:47:30 17.05 48.9 TRUE
#> 2 2 2017-08-04 23:17:30 2017-08-05 19:27:30 NA NA TRUE
#> 3 3 2017-08-06 02:52:30 2017-08-06 19:12:30 NA NA TRUE
#> ...
#> Run `graph$stap` to see full stap table
#>
#> ── Map
#> • Extent (W, E, S, N): -16°, 23°, 0°, 50°
#> • Dimensions (lat x lon): 500 x 390 (res. 0.1°)
#>
#> ── Graph size
#> • 1 equipement node
#> • 79 retrieval nodes
#> • 3,055 nodes
#> • 2,263,266 edges
#>
#> ── Movement model
#> ! Windspeed not computed. Use `graph_add_wind()`
#> ✖ No movement model defined. Use `graph_set_movement()`