R/ssh.data.txt.r

Defines functions ssh.data.txt

Documented in ssh.data.txt

#' Prepare text data for Geodetector
#'
#' @description
#' Prepare the input from text files for the geographical detector model.
#'
#' @usage ssh.data.txt(object)
#'
#' @param object A list of two data frames generated by \code{\link{load.data.txt}}, including a file linking sampling and SSH layers linking reporting and SSH layers and a file.
#'
#' @return A list of two data frames.
#'
#' @import sf dplyr
#' @name ssh.data.txt
#' @export
#'
#' @examples
#' data(bc.data)
#' bc.join <- ssh.data.txt(object=bc.data)
# ---- End of roxygen documentation ----

ssh.data.txt <- function(object){

  object[[1]]
}

Try the sandwichr package in your browser

Any scripts or data that you put into this service are public.

sandwichr documentation built on April 27, 2023, 1:10 a.m.