R/as.data.frame.dependency_matrix.R

Defines functions as.data.frame.dependency_matrix

#' @export
as.data.frame.dependency_matrix <- function(x, row.names=NULL, optional=FALSE, ...) {
  df <- as.data.frame.table(x, responseName = "dep")
  df[df$dep > 0,]
}

Try the heuristicsmineR package in your browser

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

heuristicsmineR documentation built on April 4, 2023, 5:11 p.m.