summary.meltt error
Opened this issue · 1 comments
Hi all,
thank you for a great package.
When I supply my meltt object to the summary function, it returns
summary(melt_object)
Error in $<-.data.frame(*tmp*, "Var1", value = character(0))
:
replacement has 0 rows, data has 2
After playing around a bit, this may be due to episode_matched
and episode_contenders
being empty (all variables are num(0)
). I attach a meltt object based on a small sample that reproduces the error when running
meltt_object <- readRDS("meltt_object.rds")
summary(meltt_object)
RDS file: https://www.dropbox.com/t/36aHulQHFQDqt3DF
Please let me know if I can help with any further info.
Many thanks and best,
Chris
Hi Chris,
Thanks a lot for reporting this issue and for providing a minimal working example. We'll try to address this as soon as possible for the GitHub version and also update this in the next package release.
Thanks again and best,
Karsten