Skip to content

Commit

Permalink
Fixed bug in structure_plot example.
Browse files Browse the repository at this point in the history
  • Loading branch information
pcarbo committed Jun 26, 2024
1 parent 47490a9 commit 2a43799
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Encoding: UTF-8
Type: Package
Package: fastTopics
Version: 0.6-181
Version: 0.6-182
Date: 2024-06-25
Title: Fast Algorithms for Fitting Topic Models and Non-Negative
Matrix Factorizations to Count Data
Expand Down
2 changes: 1 addition & 1 deletion R/fit_poisson_nmf.R
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ fit_poisson_nmf <- function (X, k, fit0, numiter = 100,
cat(sprintf("Running at most %d %s updates, %s extrapolation ",
numiter,method.text,
ifelse(control$extrapolate,"with","without")))
cat("(fastTopics 0.6-181).\n")
cat("(fastTopics 0.6-182).\n")
}

# INITIALIZE ESTIMATES
Expand Down
2 changes: 1 addition & 1 deletion R/structure_plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
#' # There is no requirement than the rows of L sum up to 1. To
#' # illustrate, in this next example we have removed topic 5 from the a
#' # structure plot.
#' p2a <- structure_plot(L[,-5])
#' p2a <- structure_plot(fit$L[,-5])
#'
#' # This is perhaps a more elegant way to remove topic 5 from the
#' # structure plot:
Expand Down
2 changes: 1 addition & 1 deletion man/structure_plot.Rd

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

0 comments on commit 2a43799

Please sign in to comment.