| sample_x3p {bulletr} | R Documentation | 
Sample every X element of a data frame
Description
Sample every X element of a data frame in x and y direction
Usage
sample_x3p(dframe, byxy = c(2, 2))
Arguments
| dframe | data frame with x and y variable | 
| byxy | (vector) of numeric value indicating the sapling resolution. If a single number, the same resolution is used for x and y. | 
Value
subset of the input variable
Examples
data(br411)
br411_fort <- fortify_x3p(br411)
br411_sample <- sample_x3p(br411_fort, byxy = c(4, 4))
head(br411_sample)
[Package bulletr version 0.1 Index]