From ab2d1494fa191d6708a7efc94b822c0b1ed8c03d Mon Sep 17 00:00:00 2001 From: Will Cornwell Date: Thu, 21 Nov 2024 10:54:20 +1100 Subject: [PATCH] more formatting --- README.Rmd | 4 ++-- README.md | 15 +-------------- 2 files changed, 3 insertions(+), 16 deletions(-) diff --git a/README.Rmd b/README.Rmd index 66564f8..5c0a299 100644 --- a/README.Rmd +++ b/README.Rmd @@ -11,7 +11,7 @@ knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", - out.width = "100%" + out.width = "90%" ) library(saltbush) @@ -39,7 +39,7 @@ library(saltbush) 1. **Direct the package to the input files** in this case we use a drone image from Fowlers Gap, NSW, Australia the example data in this case is 5 bands sampled from a drone -```{r, message=FALSE} +```{r, message=FALSE, results='hide'} create_multiband_image("inst/extdata/create_multiband_image/", c('blue', 'green', 'red', 'red_edge', 'nir'), output_dir = tempdir(), diff --git a/README.md b/README.md index 8ef3f56..75dfcec 100644 --- a/README.md +++ b/README.md @@ -35,20 +35,7 @@ create_multiband_image("inst/extdata/create_multiband_image/", make_plot = TRUE, return_raster = TRUE) ``` - - - #> class : SpatRaster - #> dimensions : 1466, 1466, 5 (nrow, ncol, nlyr) - #> resolution : 0.01519, 0.01519 (x, y) - #> extent : 566521.2, 566543.5, 6561293, 6561316 (xmin, xmax, ymin, ymax) - #> coord. ref. : WGS 84 / UTM zone 54S (EPSG:32754) - #> sources : blue.tif - #> green.tif - #> red_edge.tif - #> ... and 2 more source(s) - #> names : blue, green, red, red_edge, nir - #> min values : 0.01265331, 0.01101853, 0.01276734, 0.01221969, 0.01856168 - #> max values : 0.23392145, 0.20722562, 0.22469597, 0.17767203, 0.21024320 + this can be combined with an area of interest mask: