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"

Try the Rwclust package in your browser

Any scripts or data that you put into this service are public.

Rwclust documentation built on July 25, 2022, 1:05 a.m.