MyNixOS website logo
Description

Example Data for R Package 'vortexR'.

Contains selected data from two publications, Campbell 'et' 'al'. (2016) <DOI:10.1080/14486563.2015.1028486> and 'Pacioni' 'et' 'al'. (2017) <DOI:10.1071/PC17002>. The data is provided both as raw outputs from the population viability analysis software 'Vortex' and packaged 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.

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

We are in the process of releasing vortexR and vortexRdata to CRAN. In addition, a paper describing vortexR is in press. Once both packages are available through CRAN, installation, citation, and usage of vortexR and vortexRdata are likely to change.

Metadata

Version

1.0.5

License

Unknown

Platforms (77)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-freebsd
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64-windows
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows