Last updated: 2020-07-28
Checks: 6 1
Knit directory: baumarten/analysis/
This reproducible R Markdown analysis was created with workflowr (version 1.6.2). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.
The R Markdown file has unstaged changes. To know which version of the R Markdown file created these results, you’ll want to first commit it to the Git repo. If you’re still working on the analysis, you can ignore this warning. When you’re finished, you can run wflow_publish to commit the R Markdown file and build the HTML.
Great job! The global environment was empty. Objects defined in the global environment can affect the analysis in your R Markdown file in unknown ways. For reproduciblity it’s best to always run the code in an empty environment.
The command set.seed(20200723) was run prior to running the code in the R Markdown file. Setting a seed ensures that any results that rely on randomness, e.g. subsampling or permutations, are reproducible.
Great job! Recording the operating system, R version, and package versions is critical for reproducibility.
Nice! There were no cached chunks for this analysis, so you can be confident that you successfully produced the results during this run.
Great job! Using relative paths to the files within your workflowr project makes it easier to run your code on other machines.
Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.
The results in this page were generated with repository version 5c8ccad. See the Past versions tab to see a history of the changes made to the R Markdown and HTML files.
Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish or wflow_git_commit). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:
Ignored files:
Ignored: .Rhistory
Ignored: .Rproj.user/
Ignored: analysis/.Rhistory
Untracked files:
Untracked: data/reference/
Unstaged changes:
Modified: analysis/evaluation.Rmd
Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.
These are the previous versions of the repository in which changes were made to the R Markdown (analysis/evaluation.Rmd) and HTML (docs/evaluation.html) files. If you’ve configured a remote Git repository (see ?wflow_git_remote), click on the hyperlinks in the table below to view the files as they were in that past version.
| File | Version | Author | Date | Message |
|---|---|---|---|---|
| html | f400426 | wiesehahn | 2020-07-23 | init |
| Rmd | 369d039 | wiesehahn | 2020-07-23 | wflow_git_commit(all = T) |
| Rmd | 27a9ab6 | wiesehahn | 2020-07-23 | wflow_git_commit(“evaluation.Rmd”) |
(classification steps and validation possibilities)
Reference data sampling locations
Number of reference data polygons by tree species
| BA | n |
|---|---|
| 112 | 99 |
| 211 | 102 |
| 511 | 120 |
| 611 | 66 |
| 711 | 49 |
| 811 | 70 |
Number of reference data polygons by site
| site | n |
|---|---|
| Solling | 202 |
| Harz | 200 |
| Heide | 104 |
Number of reference data polygons by tree species and site
| BA | Solling | Harz | Heide |
|---|---|---|---|
| 112 | 58 | 28 | 13 |
| 211 | 35 | 57 | 10 |
| 511 | 40 | 54 | 26 |
| 611 | 32 | 19 | 15 |
| 711 | 13 | 8 | 28 |
| 811 | 24 | 34 | 12 |
Tree species classification result for Solling
Tree species classification result for Harz
Tree species classification result for Heide
The Random Forest algorithm simply counts the fraction of trees in a forest that vote for a certain class to generate the predicted class. This class probability can be generated separately and provides insights in classification certainty.
Pixelwise classification probability (and average by latitude and longitiude) for the entire study region
Pixelwise classification probability (and average by latitude and longitiude) for Solling
Pixelwise classification probability (and average by latitude and longitiude) for Harz
Pixelwise classification probability (and average by latitude and longitiude) for Heide
Classification probabilities were extracted for each pixel inside reference polygons. The extracted values grant insight in classification certainty by tree species and reference site.
Classification probability by site and tree species for reference data locations
R version 4.0.2 (2020-06-22)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18362)
Matrix products: default
locale:
[1] LC_COLLATE=German_Germany.1252 LC_CTYPE=German_Germany.1252
[3] LC_MONETARY=German_Germany.1252 LC_NUMERIC=C
[5] LC_TIME=German_Germany.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] plotly_4.9.2.1 rasterVis_0.48 latticeExtra_0.6-29
[4] lattice_0.20-41 RColorBrewer_1.1-2 forcats_0.5.0
[7] stringr_1.4.0 dplyr_1.0.0 purrr_0.3.4
[10] readr_1.3.1 tidyr_1.1.0 tibble_3.0.3
[13] ggplot2_3.3.2 tidyverse_1.3.0 formattable_0.2.0.1
[16] raster_3.3-13 leaflet_2.0.3 rgdal_1.5-12
[19] sp_1.4-2
loaded via a namespace (and not attached):
[1] httr_1.4.2 viridisLite_0.3.0 jsonlite_1.7.0
[4] modelr_0.1.8 assertthat_0.2.1 highr_0.8
[7] blob_1.2.1 cellranger_1.1.0 yaml_2.2.1
[10] pillar_1.4.6 backports_1.1.7 glue_1.4.1
[13] digest_0.6.25 promises_1.1.1 rvest_0.3.6
[16] colorspace_1.4-1 leaflet.providers_1.9.0 htmltools_0.5.0
[19] httpuv_1.5.4 pkgconfig_2.0.3 broom_0.7.0
[22] haven_2.3.1 scales_1.1.1 whisker_0.4
[25] jpeg_0.1-8.1 later_1.1.0.1 git2r_0.27.1
[28] generics_0.0.2 farver_2.0.3 ellipsis_0.3.1
[31] withr_2.2.0 lazyeval_0.2.2 hexbin_1.28.1
[34] cli_2.0.2 magrittr_1.5 crayon_1.3.4
[37] readxl_1.3.1 evaluate_0.14 fs_1.4.2
[40] fansi_0.4.1 xml2_1.3.2 data.table_1.12.8
[43] tools_4.0.2 hms_0.5.3 lifecycle_0.2.0
[46] munsell_0.5.0 reprex_0.3.0 compiler_4.0.2
[49] rlang_0.4.7 grid_4.0.2 rstudioapi_0.11
[52] htmlwidgets_1.5.1 crosstalk_1.1.0.1 rmarkdown_2.3
[55] gtable_0.3.0 codetools_0.2-16 DBI_1.1.0
[58] R6_2.4.1 zoo_1.8-8 lubridate_1.7.9
[61] knitr_1.29 workflowr_1.6.2 rprojroot_1.3-2
[64] stringi_1.4.6 parallel_4.0.2 Rcpp_1.0.5
[67] vctrs_0.3.2 png_0.1-7 dbplyr_1.4.4
[70] tidyselect_1.1.0 xfun_0.15