Learn R Programming

sampler (version 0.2.4)

smissing: Identifies number of missing points by strata between sample and collected data

Description

Identifies number of missing points by strata between sample and collected data

Usage

smissing(sampdf, colldf, strata, col_name)

Arguments

sampdf

object containing data frame of sample points

colldf

object containing data frame of collected data

strata

variable in both data frames by which to stratify

col_name

common variable (i.e. key) in data frames by which to check for missing points

Value

Returns table of number of sample points by strata missing from collected data

References

Simplified wrapper around dplyr::anti_join()

Examples

Run this code
# NOT RUN {
alsample <- rsamp(df=albania, 544)
alreceived <- rsamp(df=alsample, 390)
smissing(sampdf=alsample, colldf=alreceived, strata=qarku, col_name=qvKod)
# }

Run the code above in your browser using DataLab