get_background: Get background data

Description Usage Arguments Details Value See Also Examples

Description

get_background returns pre-generated background data.

Usage

1

Arguments

type

character. Either "random" or "targetgroup".

Details

The targetgroup background was created by subsampling an average of 37 occurrence records (20000 in total) from each species in the dataset providing in essence the same sampling bias as the entire dataset.

Value

A dataframe with all background points.

See Also

get_fold_data get_occurrences get_folds

Examples

1
2
3
4
5
6
7
8
## Not run: 
random_bg <- get_background("random")
plot(random_bg[,2:3], pch=".", main="random background")

targetgroup_bg <- get_background("targetgroup")
plot(targetgroup_bg[,2:3], pch=".", main="targetgroup background")

## End(Not run)

marinespeed documentation built on May 1, 2019, 10:26 p.m.