clean_kgraph: Clean Knowledge Graph

Description Usage Arguments Value Examples

View source: R/graphs.R

Description

Removes spurious and duplicated rows and checks for the absence of loops

Usage

1
clean_kgraph(kgraph)

Arguments

kgraph

a dataframe or matrix of two columns.

Value

the cleaned version of of the input, if no loops are found. If there are loops, will message and return NULL

Examples

1
#

rushkin/bitsandends documentation built on Oct. 21, 2020, 11:43 a.m.