Skip to content

Commit

Permalink
spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
dkesada committed Jun 11, 2020
1 parent 34f79c3 commit dbc9a4d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions R/dbn_visualization.R
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ plot_network <- function(structure){
#' each node inside the level. E.g. c(1,1,1,2,2,3,4,4,5,5) turns into
#' c(1,2,3,1,2,1,1,2,1,2)
#' @param nodes a vector with the level of each node
#' @param res the accumulative results of the sub successionss
#' @param res the accumulative results of the sub successions
#' @param prev the level of the previous node processed
#' @param acc the accumulator of the index in the current sub successions
#' @return the vector of sub successionss in each level
#' @return the vector of sub successions in each level
acc_successions <- function(nodes, res = NULL, prev = 0, acc = 0){
if(length(nodes) == 0)
return(res)
Expand Down
4 changes: 2 additions & 2 deletions man/acc_successions.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit dbc9a4d

Please sign in to comment.