PrepareDataset: Rewrite the dataset into a usable format.

Description Usage Arguments Value

Description

PrepareDataset rewrites the dataset to make it useable for the Sampling function of this package. The function comibines the different columns and creates a new dataset. If there are now data from a column the Column will be filled with zeros.

Usage

1
2
PrepareDataset(data, plot, num.of.individuals, species, x.coord, y.coord,
  visit.year, visit.month, visit.day, habitat)

Arguments

data

The input dataset.

plot

Position of the row which contains the plot or cell IDs

num.of.individuals

Position of the row which contains the number of individuals

species

Position of the row which contains the species names

x.coord

Position of the row which contains the x coordinates

y.coord

Position of the row which contains the y coordinates

visit.year

Position of the row which contains the year date

visit.month

Position of the row which contains the month

visit.day

Position of the row which contains the day

habitat

The habitat of the plot

Value

A data frame with a least 10 rows Which are in an certain order.


fschirr/VirSysMon documentation built on May 16, 2019, 3:34 p.m.