Skip to content
Discussion options

You must be logged in to vote

I see - that is a very strange empty object you have there 🙈 this makes the conversion a little bit more complex:

_sac_amp = replace(x-> isempty(x) ? missing : x ,evts.sac_amp_emptyarray) # replace empty with missing
sac_amp = convert(Vector{Union{Missing,Float64}},_sac_amp) # explicitly cast type away from Any to something StatsModels identifies as continuous

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@behinger
Comment options

@EmmanuelleKris
Comment options

@behinger
Comment options

Answer selected by behinger
@EmmanuelleKris
Comment options

@EmmanuelleKris
Comment options

@behinger
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants