R/get_unclicked.R

Defines functions get_unclicked

Documented in get_unclicked

#' subsets the rows in the data that were not selected in dataViewer
#'
#' subsets the rows in the data that were not selected in dataViewer
#'
#' @param data the dataframe
#' @param clicked_data the dataframe of clicked points
#' @export

get_unclicked <- function(data, clicked_data){
  x.1p <- do.call("paste", data)
  x.2p <- do.call("paste", clicked_data)
  data[!x.1p %in% x.2p, ]
}
padpadpadpad/dataViewer documentation built on May 24, 2019, 5:59 p.m.