Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit

Permalink
Fix warning "data length differs from size of matrix" in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
nfrerebeau committed May 13, 2021
1 parent 552caf7 commit 5c77db9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inst/examples/ex-coerce.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Create a count matrix
A0 <- matrix(data = sample(0:10, 100, TRUE), nrow = 10, ncol = 5)
A0 <- matrix(data = sample(0:10, 100, TRUE), nrow = 20, ncol = 5)

## Coerce to absolute frequencies
A1 <- as_count(A0)
Expand Down
2 changes: 1 addition & 1 deletion man/coerce.Rd

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

0 comments on commit 5c77db9

Please sign in to comment.