R/PointProcessLasso.R

Defines functions ppLasso

Documented in ppLasso

ppLasso <- function(
  formula,
  data,
  family = Hawkes("identity"),
  support = 1,
  N = 200,
  Delta,
  ...) {
  
  model <- pointProcessModel(
    formula = formula,
    data = data,
    family = family,
    support = support,
    N = N,
    Delta = Delta,
    coefficients = 0,
    fit = FALSE,
    varMethod = 'none',
    selfStart = FALSE,
    ...)
  
  ppmFit(model, optim = "glmnet", ...)
}

Try the ppstat package in your browser

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

ppstat documentation built on May 2, 2019, 5:26 p.m.