visa

This R package is to facilitate Vegetation Imaging Spectroscopy Analysis (VISA). For more details of this package, you can browseVignettes("visa").

Installation

Install the released stable version:

To install the stable version (v1.0.0) available on CRAN.

install.packages("visa")

You might encounter problem of package dependencies, such as some functions depend on ggplot2, ggpmisc. In such cases, you would have to install all the dependencies.

Install the latest dev-version:

if (!require("devtools")) install.packages("devtools")
# devtools::install_github("kang-yu/visa")
install.packages("visa", repos = c('https://kang-yu.r-universe.dev', 'https://cloud.r-project.org'))

Usage

library(visa)
data(NSpec.DF)
x <- NSpec.DF$N # nitrogen
S <- NSpec.DF$spectra[, seq(1, ncol(NSpec.DF$spectra), 10)] # resampled to 10 nm steps
cm.nsr(S, x, cm.plot = TRUE)

Bug report contributions welcome

You can report your issues of using visa here. Don't know how to report a bug? Check RStudio's Instructions on Writing Good Bug Reports.

You might find useful information by checking the issues reported by others.