inst/examples/LAI.Example.R

## @knitr LAIExample

library(raster)

test_image <-  system.file("extdata", "IMG_7595.JPG", package = "LAI")

# See the image
plotRGB(
  brick(test_image),
  asp = 1
)

# Calculate LAI
LAI_from_gf_at_57(test_image)
cmartin/LAI documentation built on Aug. 20, 2017, 3:19 a.m.