Description Usage Arguments Details See Also
View source: R/DataConversionFunctions.R
Convert multi-column data frame into a sparse matrix.
| 1 2 3 4 5 | ConvertMultiColumnDataFrameToSparseMatrix(
  multiColDF,
  itemColName,
  tagTypeColNames
)
 | 
| tagTypeColNames | names of the tag type column names | 
| Multi-column | data frame id-tag relationship | 
| idColName | the column name of the item ID | 
This does not work if the  tagTypeColNames have dash in them.
I assume because of the string-to-formula conversion in  SMRCreateItemTagMatrix.
Obviously, the dependence of the  SMRCreateItemTagMatrix can be removed.
Other Sparse matrix transformation functions: 
SparseMatrixToTriplets(),
ToColumnValueIncidenceMatrix(),
TripletsToSparseMatrix()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.