Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broom and fit_issf #114

Closed
pntoiv opened this issue Jul 15, 2024 · 2 comments
Closed

Broom and fit_issf #114

pntoiv opened this issue Jul 15, 2024 · 2 comments

Comments

@pntoiv
Copy link

pntoiv commented Jul 15, 2024

Hey,

is there a way to use tidy() (from Broom) with clogit objects returned by fit_issf?

Broom has compatibility with clogit() but tidy() doesn't recoqnize the model objects returned by amt package's fit_issf.

@bmrishabh
Copy link

Hi @pntoiv , I am not a contributor to this package but here is a quick response since you have posted recently and I happened to come accross it.

The object returned by fit_issf is a list of three objects: the model fit, the step length distribution, and the turn angle distribution. The tidy() function should recognise the "model" part of this object. For example, if your_model <- fit_issf(data) then tidy(your_model$model) should give you the desired output.

@jmsigner
Copy link
Owner

jmsigner commented Jul 15, 2024

Thanks @bmrishabh that's how it works at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants