R/data.R

#' Example Graph 1
#'
#' First demonstration test graph used in the original.
#'
#' @examples
#' data(example1, package="Rwclust")
#'
#' @format A data frame with three columns representing a weighted graph. Each
#' row represents an edge with a weight:
#' \describe{
#'  \item{from}{An integer vertex id}
#'  \item{to}{An integer vertex id}
#'  \item{weight}{A double representing the edge weight}
#' }
"example1"


#' Example Graph 2
#'
#' Second demonstration test graph used in the original paper.
#'
#' @examples
#' data(example2, package="Rwclust")
#'
#' @format A data frame with three columns representing a weighted graph. Each
#' row represents an edge with a weight.
#' \describe{
#'  \item{from}{An integer vertex id}
#'  \item{to}{An integer vertex id}
#'  \item{weight}{A double representing the edge weight}
#' }
"example2"
csprock/Rwclust documentation built on July 26, 2022, 9:55 p.m.