GithubHelp home page GithubHelp logo

visa's Introduction

visa

CRAN status R-CMD-check Travis build status Build status codecov HitCount

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 version from CRAN:

The very first version of visa (0.1.0) is now 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 the all the dependencies.

install the dev-version from GitHub:

if (!require("devtools")) install.packages("devtools")
# devtools::install_github("kang-yu/visa") # install without vignettes
devtools::install_github("kang-yu/visa", build_opts = c("--no-resave-data", "--no-manual"))

You might encounter this problem of install_github(), and in this case, you could try update the {remotes} devtools::install_github("r-lib/remotes").

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.

visa's People

Contributors

kang-yu avatar

Stargazers

 avatar 李伟@CAU avatar

Watchers

James Cloos avatar  avatar

Forkers

grseb9s hsiyjnd

visa's Issues

Installation failed: Does not appear to be an R package (no DESCRIPTION)

Installation via the github devtools::install_github("kang-yu/visa") might fail:
tar.exe: Archive entry has empty or unreadable filename ... skipping.
tar.exe: Archive entry has empty or unreadable filename ... skipping.
...
Installation failed: Does not appear to be an R package (no DESCRIPTION)
...
To solve the issue do the settings: Sys.setenv("TAR" = "internal")
The similar problem has been described here r-lib/devtools#1939

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.