geoSpectral

Classes and Methods for Working with Spectral Data with Space-Time Attributes


Keywords
geospatial-data, r, spectral-data
Licenses
CNRI-Python-GPL-Compatible/CNRI-Python-GPL-Compatible

Documentation

Spectral

Spectral is an R package providing a new data type for R that stores spectral, temporal and spatial attributes of measurement data as well as methods for accessing and manipulating the spectral (and non-spectral) data. Once spectral data is imported into Spectral, the statistical and data processing power of R is available for various kinds of scientific analyses.

It provides the S4 classes: Spectra (stores spatial/temporal/spectral aspects of data), SpcHeader (stores metadata in an R list object) and SpcList (makes a collection of Spectra objects in an R list) as well as basic data access and manipulation methods for importing, acessing and subsetting, converting into R objects, analyzing, plotting and exporting scientific data.

License

The package is issued with a GPLv3 license. Please consult the license documentation if you would like to use Spectral in your software projects.

Requirements

Spectral depends on the R packages rgdal, spacetime and xlsx. You need to install them before you can install Spectral. If you don't have them already, try :

install.packages(c("rgdal","spacetime","xlsx"),dep=T)

Installation

First install the devtools package using install.packages() and then :

require(devtools)
install_github("PranaGeo/Spectral")

Usage

The R code documentation is very incomplete. Sorry. After installing the package, you can try from the R prompt : ?Spectral to consult the brief documentation of the package or ?Spectra to see the help of the constructor function the main class : Spectra().

You can view the documentation wiki to learn how to use the package.

Contributions

Your comments,suggestions and contributions are very welcome. Please feel free to open issues here.

Help the development

If you would like to contribute to the development, get a GitHub account, fork the dev branch of this project to your GitHub account, clone it to your local machine, work on it, commit your changes, push your changes to your GitHub fork and send us a pull request and we will discuss. For more information, visit the fork & pull development model page.