Skip to content

Commit

Permalink
Make sure to mark graph processing methods as internal. (#342)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobzeitler authored and jtibshirani committed Nov 27, 2018
1 parent 54b5e4f commit d15e99f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions r-package/grf/R/plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#' If it is a non-leaf node: show its splitting variable and splitting value
#' @param tree the tree to convert
#' @param index the index of the current node
#' @keyword internal
create_dot_body <- function(tree, index=1) {

node <- tree$nodes[[index]]
Expand Down Expand Up @@ -61,6 +62,7 @@ create_dot_body <- function(tree, index=1) {
#' This function generates a GraphViz representation of the tree,
#' which is then written into `dot_string`.
#' @param tree the tree to convert
#' @keyword internal
export_graphviz <- function(tree){
header <- "digraph nodes { \n node [shape=box] ;"
footer <- "}"
Expand Down

0 comments on commit d15e99f

Please sign in to comment.