as_tbl_graph: Corece to a graph_tbl object

Description Usage Arguments Value Author(s)

Description

Functions to coerce a object to graph_tbl 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_tbl_graph(x, directed = FALSE, ...)

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

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

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

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

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

## S3 method for class 'cor_network'
as_tbl_graph(x, ...)

Arguments

x

R object.

directed

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

...

extra params.

Value

tbl_graph object.

Author(s)

Houyun Huang, Lei Zhou, Jian Chen, Taiyun Wei


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