R/beta2.func.R

#' STARX: spatiotemporal autoregressive model with exogenous variables
#'
#' This function is the coefficient function in simulation example.
#'
#' @param x x coordinate
#' @param y y coordinate
#' @param z z coordinate
#' @export
beta2.func <- Vectorize(function(x, y, z) {
    2 * cos((0.5 * x + y^2)) * z
})
funstatpackages/STARX documentation built on Jan. 30, 2021, 11:47 p.m.