R/V_lnre.R

V.lnre <- function (obj, ...)
{
  if (! inherits(obj, "lnre")) stop("argument must belong to a subclass of 'lnre'")
  spc <- obj$spc
  if (is.null(spc)) stop("LNRE model has not been estimated from observed frequency spectrum")

  V(spc)
}

Try the zipfR package in your browser

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

zipfR documentation built on Nov. 13, 2020, 3:01 a.m.