NIMBLE alternative to sort() function for ordinal regression

105 views
Skip to first unread message

Matthijs Hollanders

unread,
Mar 8, 2022, 5:49:34 PM3/8/22
to nimble-users
Hi all,

I'm trying to wrap my head around ordinal regression and have found some JAGS code that I'd like to convert to NIMBLE code. However, all the examples I've found use the sort() function for the vector of cut-off points. What would be a working alternative in NIMBLE?

Regards,

Matt

David Pleydell

unread,
Mar 9, 2022, 4:05:58 AM3/9/22
to nimble-users
Hi Matt

I posted some compilable nimble code with a bubble sort algorithm in an earlier thread here.

Hope that helps
David
Reply all
Reply to author
Forward
0 new messages