R/plot.assortativity.R

Defines functions plot.assortativity

Documented in plot.assortativity

plot.assortativity <- function(x,
  type = "h",
  ylim = c(-1, 1),
  xlab = "Orders",
  ylab = "Assortativity",
  ...
  ) {

  h <- length(x)

  plot.default(
    x = 1:h,
    y = as.numeric(x),
    type = type,
    ylim = ylim,
    xlab = xlab,
    ylab = ylab,
    ...
  )

  invisible(NULL)
}

Try the HOasso package in your browser

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

HOasso documentation built on Sept. 8, 2023, 5:55 p.m.