Skip to content

Commit

Permalink
Fix occurrence()
Browse files Browse the repository at this point in the history
  • Loading branch information
nfrerebeau committed Dec 19, 2024
1 parent f656d4a commit b49fb6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/occurrence.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ setMethod(
mtx[lower.tri(mtx, diag = FALSE)] <- index

occ <- stats::as.dist(mtx)
attr(occ, "total") <- nrow(incid)
attr(occ, "total") <- nrow(object)
occ
}
)
Expand Down

0 comments on commit b49fb6d

Please sign in to comment.