R/plot_facies_importance.R
plot_facies_importance.RdHistogramme des faciès (Courant / Plat / Profond)
plot_facies_importance(
yaml_path,
code_station = NULL,
code_point_prelevement_aspe = NULL,
annee_debut = NULL,
annee_fin = lubridate::year(Sys.Date()),
n_last = 12
)Chemin YAML
Code Sandre de la station (ou NULL si code_point_prelevement_aspe fourni)
Code du point ASPE (ou NULL si code_station fourni)
Année de début (défaut 1900)
Année de fin (défaut = année courante)
Nombre d'opérations (dates distinctes) à afficher
Un ggplot2 (ou NULL si aucune donnée)
if (FALSE) { # \dontrun{
plot_facies_importance(".../config.yml", code_station = "04207400", annee_debut = 1950, n_last = 12)
} # }