Extract and plot the parameters (partial correlation, support or inverse covariance) from a janine_fit object

# S3 method for janine_fit
plot(x, type = c("partial_cor", "precision", "covariance", "support"), ...)

Arguments

x

an S3 object with class janine_fit

type

character. Value of the weigth of the edges in the network, either "partial_cor" (partial correlation), "precision", "covariance" or "support" (binary). Default is "partial_cor".

...

Not used (S3 compatibility).

Value

Send back an invisible object (igraph or Matrix, depending on the output chosen) and optionaly displays a graph (via igraph or corrplot for large ones)