Description Usage Arguments Value Examples
View source: R/braidHymo_plot.R
Plot index (either W'*' or BRI'*')
1 2 3 4 5 6 7 | braidHymo_plot(
tib_morpho_index,
index = "BRI*",
position,
color,
threshold = "default"
)
|
tib_morpho_index |
the table with morphological indexes values, resulting from a call to braidHymo(). |
index |
the index used (can be either "W*" or "BRI*". Defaults to "BRI*"). |
position |
the variable according to which estimates should be placed on graphic. |
color |
the variable according to which estimates should be colored. |
threshold |
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
1 2 3 4 5 6 | rivers=readr::read_csv("data-raw/rivers.csv") %>%
dplyr::mutate(filepath=paste0("data-raw/",filepath)) %>%
dplyr::mutate(year=as.factor(year))
result=braidHymo(rivers)
braidHymo_plot(result,index="BRI*", position=year, color=river)
braidHymo_plot(result,index="W*", position=year, color=river)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.