Identifies number of missing points by strata between sample and collected data
smissing(sampdf, colldf, strata, col_name)
sampdf
: object containing data frame of sample pointscolldf
: object containing data frame of collected datastrata
: variable in both data frames by which to stratifycol_name
: common variable (i.e. key) in data frames by which to check for missing pointsReturns table of number of sample points by strata missing from collected data
alsample <- rsamp(df=albania, 544) alreceived <- rsamp(df=alsample, 390) smissing(sampdf=alsample, colldf=alreceived, strata=qarku, col_name=qvKod)
Simplified wrapper around dplyr::anti_join()