#' Generics for functions in class:
#' nc_helper
#' soilgrids
#' daymet
#' analysis
setGeneric('ManipulateDataFile',
function(object, rename = NULL, move = NULL) standardGeneric('ManipulateDataFile'))
setGeneric('SetupDataFile',
function(object, overwrite = F, backup = F) standardGeneric('SetupDataFile'))
setGeneric('FillArray',
function(object, df, nc = NULL) standardGeneric('FillArray'))
setGeneric('PrepInput',
function(object, df, ...) standardGeneric('PrepInput'))
setGeneric('randomForest',
function(object, ...) standardGeneric('randomForest'))
setMethod('randomForest',
signature(object = 'ANY'),
function(object, ...) {
message('Using randomForest::randomForest...')
y <- randomForest::randomForest(x = object, ...)
})
setGeneric('CoordVecsToList',
function(x, y = NULL) standardGeneric('CoordVecsToList'))
setGeneric('AddCoords',
function(object, lon, lat, sample, overwrite = F) standardGeneric('AddCoords'))
setGeneric('PullDataFrame',
function(object) standardGeneric('PullDataFrame'))
setGeneric('AggregateByDimension',
function(object, dim, FUN, ...) standardGeneric('AggregateByDimension'))
setGeneric('GetMeta',
function(class, ...) standardGeneric('GetMeta'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.