Closed sgunz closed 3 months ago
Problem occurs when there are too few points to fit inhomogeneous density. So far this was handled in calcMetric.R line 42: sum(table(pp_sub$marks) > 2) > 1) but this removes some curves in the diabetes example.
calcMetric.R
sum(table(pp_sub$marks) > 2) > 1)
Solution: tryCatch to handle exception.
tryCatch
Problem occurs when there are too few points to fit inhomogeneous density. So far this was handled in
calcMetric.R
line 42:sum(table(pp_sub$marks) > 2) > 1)
but this removes some curves in the diabetes example.Solution:
tryCatch
to handle exception.