View source: R/plot_pressurepath.R
plot_pressurepath | R Documentation |
pressurepath
Display a pressurepath
data.frame as a time series or histogram
plot_pressurepath(
pressurepath,
type = "timeseries",
sd = attr(pressurepath, "sd"),
warning_std_thr = 3,
plot_plotly = TRUE
)
pressurepath |
a GeoPressureR |
type |
|
sd |
standard deviation of the pressure error . numeric of length 1 or number of stationary periods. |
warning_std_thr |
Threshold of outlier, coefficient of the z-score |
plot_plotly |
logical to use |
a plot or ggplotly object.
Other pressurepath:
geopressure_timeseries()
,
pressurepath_create()
withr::with_dir(system.file("extdata", package = "GeoPressureR"), {
tag <- tag_create("18LX", quiet = TRUE) |> tag_label(quiet = TRUE)
})
path <- data.frame(
stap_id = tag$stap$stap_id,
lat = c(48.5, 32.5, 30.5, 49.5, 41.6),
lon = c(17.5, 13.5, 16.5, 21.5, 12.7)
)
pressurepath <- pressurepath_create(tag, path = path, quiet = TRUE)
plot_pressurepath(pressurepath)
plot_pressurepath(pressurepath, type = "histogram")
plot_pressurepath(pressurepath, type = "altitude")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.