-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Produces uninformative error
tstMat <- t(rmultinom(16, 1000, c(0.1, 0.5, 0.2, 0.1, 0.05, 0.05)))
dmn(count = tstMat, k = 6)
# Error in dmn(count = tstMat, k = 6) :
# VECTOR_ELT() can only be applied to a 'list', not a 'NULL'
Runs without error
tstMat <- t(rmultinom(16, 1000, c(0.1, 0.5, 0.2, 0.1, 0.05, 0.05)))
rownames(tstMat) <- sprintf("ID%d", 1:16)
colnames(tstMat) <- sprintf("Val%d", 1:6)
dmn(count = tstMat, k = 6)
Metadata
Metadata
Assignees
Labels
No labels