Giter VIP home page Giter VIP logo

vortexrdata's Introduction

vortexRdata

vortexRdata is the auxiliary data package for vortexR.

vortexRdata provides data from two publications, Campbell et al (2016) and Pacioni et al. (2017) both as original output from the population viability analysis software Vortex and as R objects.

The R package vortexR uses the raw data provided here to illustrate its functionality of parsing raw Vortex output into R objects.

Install

The stable versions of vortexRdata and vortexR can be installed with:

install.packages("vortexR", dependencies = TRUE)

The latest development versions of vortexRdata and vortexR can be installed with:

# install.packages("devtools")
devtools::install_github("carlopacioni/vortexRdata")
devtools::install_github("carlopacioni/vortexR")

See the vortexR README for detailed help with the installation of Java-based packages.

Use

Compiled data

You can use the data provided by vortexRdata as binary R objects as follows:

require(vortexRdata)
data("pac.clas")
head(pac.clas)

The full list of provided compiled data can be found in the package's documentation: help(package = "vortexRdata").

Raw data

If you wish to test vortexR's data handling functions on actual Vortex output files, you can use the raw data here as a starting point that is guaranteed to work.

pac.dir <- system.file("extdata", "pacioni", package="vortexRdata")
cam.dir <- system.file("extdata", "campbell", package="vortexRdata")
f <- file.path(pac.dir, "Pacioni_et_al_ST_Classic(Base).stdat")
require(vortexR)
one.st.classic <- collate_one_dat(f, 3)
head(one.st.classic)

The two folders of raw data are named "campbell" and "pacioni", respectively.

Using example data allows users of vortexR to trouble-shoot and validate their workflow before using their own Vortex output.

Cite

If you use data provided by vortexRdata, please use the citation generated from citation("vortexRdata").

Contribute

We are happy to receive feedback and contributions through bug reports and pull requests through the main package vortexR.

Future development

Stable version of vortexR and vortexRdata are available on CRAN. A paper describing vortexR is available here.

vortexrdata's People

Contributors

carlopacioni avatar

Watchers

Florian Mayer avatar James Cloos avatar

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.