braidHymo_plot.Rd
Plot index (either W`*` or BRI`*`)
braidHymo_plot(
tib_morpho_index,
index = "BRI*",
position,
color,
threshold = "default"
)
the table with morphological indexes values, resulting from a call to braidHymo().
the index used (can be either "W*" or "BRI*". Defaults to "BRI*").
the variable according to which estimates should be placed on graphic.
the variable according to which estimates should be colored.
the threshold for a section to be considered as braiding (defaults to "default", i.e. 0.004 if the index considered is BRI or 10 if the index considered is W*).
plot of index
rivers=readr::read_csv("data-raw/rivers.csv") %>%
dplyr::mutate(filepath=paste0("data-raw/",filepath)) %>%
dplyr::mutate(year=as.factor(year))
#> Error: 'data-raw/rivers.csv' does not exist in current working directory ('/home/lvaudor/Documents/Developpement/geomorpho/braidHymo/docs/reference').
result=braidHymo(rivers)
#> Error in UseMethod("mutate"): no applicable method for 'mutate' applied to an object of class "c('double', 'numeric')"
braidHymo_plot(result,index="BRI*", position=year, color=river)
#> Error in dplyr::filter(., type == index): object 'result' not found
braidHymo_plot(result,index="W*", position=year, color=river)
#> Error in dplyr::filter(., type == index): object 'result' not found