trTime,GPR-method | R Documentation |
#' @name vel<- #' @rdname vel #' @export setGenericVerif("vel<-",function(x,value)standardGeneric("vel<-"))
## S4 method for signature 'GPR'
trTime(x)
#' @name vel<- #' @rdname vel #' @export setReplaceMethod( f="vel", signature="GPR", definition=function(x, value) if(typeof(value) != "list") value <- list(as.numeric(value)) x@vel <- value x@proc <- c(x@proc, "vel<-") return(x) ) #' @name setVel #' @rdname vel #' @export setGenericVerif("setVel", function(x, v) standardGeneric("setVel"))
#' @name setVel #' @rdname vel #' @export setMethod("setVel", "GPR", function(x, v) vel(x) <- v return(x) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.