cov_sample_stratified: Get random sample points

Description Usage Arguments Value Author(s)

Description

Get approximately n samples out of the given coverage. Each label gets approximately the same number of samples

Usage

1
cov_sample_stratified(cov, n, label = NULL, cores = 1L)

Arguments

cov

A coverage.

n

A numeric. The number of samples per class.

label

A character. The name of the stratification field.

cores

A numeric. The number of cores for parallel processing. The defailt is one.

Value

A simple feature object of type point (sf).

Author(s)

Alber Sanchez, alber.ipia@inpe.br


albhasan/sits.prodes documentation built on Sept. 3, 2020, 2:03 p.m.