Hi Ryan
Is this the exact code you tried to run?
I get an error
ERROR: ArgumentError: column name :CMetastized not found in the data frame; existing most similar names are: :Metastized
and then after correcting that
MethodError: no method matching *(::Float64, ::CategoricalArrays.CategoricalValue{String, UInt8})
These are all quick little fixes, but it would be much easier if you have a working MWE. one quick thing I noticed is that you use global variables in the model like n_intervals
. In Julia you will tend to get much better performance if you pass those variables into the actual function.