R/points_methods.R

#' @rdname plot-distribution-method
#' @export
setMethod("points",
          signature = signature(x = "distribution"),
          definition = function(x,
                                cut = FALSE,
                                draw = TRUE,
                                length.out = 100,
                                ...) {
            d = lines(x, cut, length.out, FALSE, ...)
            if (draw)
              points(d$x, d$y, ...)
            invisible(d)
          }
)

Try the poweRlaw package in your browser

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

poweRlaw documentation built on April 25, 2020, 9:06 a.m.