.lyr.sample {SESraster}R Documentation

Internal function to resample a vector according to the observed frequency

Description

Internal function to resample a vector according to the observed frequency

Usage

.lyr.sample(x, fr)

Arguments

x

numeric. A vector containing values to resampling.

fr

data.frame A data.frame with 3 columns (layer, value, count).

Value

vector

Author(s)

Neander Marcel Heming


[Package SESraster version 0.7.1 Index]