Skip to content

Commit 9f4e984

Browse files
authored
Merge pull request #6 from bedapub/devel
add return values for list2incidenceMatrix
2 parents 2e7ea0f + 1acdbf7 commit 9f4e984

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

R/list2incidenceMatrix.R

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#' Convert a list of character strings into an incidence matrix
22
#'
3-
#' @param list A list of character strings, can be unique or redudant
4-
#' @param type How the values of the indidence matrix will be filled, see details.
3+
#' @param list A list of character strings, can be unique or redundant
4+
#' @param type How the values of the incidence matrix will be filled, see details.
5+
#' @return An incidence matrix, containing either binary (\code{TRUE/FALSE}) or integer values.
56
#'
67
#' Type 'binary' will produce a logical matrix, whereas 'count' will produce a matrix
78
#' where the frequency of the character strings in the list.

man/list2incidenceMatrix.Rd

Lines changed: 6 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)