Last active
June 17, 2020 18:41
-
-
Save atuleu/a6203a23fa76b5790a6bc90eb49d7fb2 to your computer and use it in GitHub Desktop.
#FortMyrmidon Compute the rate of apparition for tags
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e <- fmExperimentOpenReadOnly("file.myrmidon") | |
nbFrames <- e$getDataInformations()$frames | |
ts <- fmQueryComputeTagStatistics(e) | |
ts$CountRate <- ts$Count / nbFrames |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Typo: it should be:
nbFrames <- e$getDataInformations()$frames
(with an "s" at the end of getDataInformation)