inst/extdata/R/SOM-zaffos-fragmentation_fragment_20170424_23/18_zaffos.R

#' Function to load in a specific variable

#' @param dir path to temporary directory.
#' @param verbose  Should feedback be output to the console?
#' @param attach  Should feedback be output to the console?

assignInNamespace(
	"loadVar", 
	function(dir, verbose=FALSE, attach=FALSE){
		# read in the data
		dat <- read.csv(file.path(dir, "ContinuousTimeSeries.csv"))

		# return
		return(dat)
	}, 
	ns="chronosphere")
adamkocsis/chronosphere documentation built on Aug. 24, 2023, 8:50 p.m.