as_igraph: Corece to a igraph object

Description Usage Arguments Value Author(s) Examples

Description

Functions to coerce a object to igraph if possible.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
## S3 method for class 'cor_tbl'
as.igraph(x, directed = FALSE, ...)

## S3 method for class 'mantel_tbl'
as.igraph(x, directed = FALSE, ...)

## S3 method for class 'pro_tbl'
as.igraph(x, directed = FALSE, ...)

## S3 method for class 'rcorr'
as.igraph(x, directed = FALSE, ...)

## S3 method for class 'corr.test'
as.igraph(x, directed = FALSE, ...)

## S3 method for class 'correlate'
as.igraph(x, directed = FALSE, ...)

## S3 method for class 'cor_network'
as.igraph(x, directed = FALSE, ...)

Arguments

x

R object.

directed

logical value, whether or not to create a directed graph.

...

extra params.

Value

igraph object.

Author(s)

Houyun Huang, Lei Zhou, Jian Chen, Taiyun Wei

Examples

1
2

houyunhuang/ggcor documentation built on July 22, 2020, 8:31 p.m.