R/tri-wave-constructor.R

#' Constructor of \code{tri.wave} class
#'
#' Construct an \code{tri.wave} object to simulate the triangular wave model.
#'
#' @return an object of \code{tri.wave} class
#'
#' @keywords constructor
#'
#' @author Stephen H. Lihn
#'
#' @export
#'
#' @examples
#' w <- tri.wave()
#'
### <======================================================================>
"tri.wave" <- function()
{
    call <- match.call()
    w <- new("tri.wave",
             call = call)
    invisible(w)
}
### <---------------------------------------------------------------------->

Try the jubilee package in your browser

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

jubilee documentation built on Jan. 24, 2020, 5:10 p.m.