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

Error: $ operator not defined for this S4 class #2

Open
cgrootcrego opened this issue Jul 1, 2021 · 2 comments
Open

Error: $ operator not defined for this S4 class #2

cgrootcrego opened this issue Jul 1, 2021 · 2 comments

Comments

@cgrootcrego
Copy link

Hi,

I was trying to use the cutoff function when I got the following error:
Error: $ operator not defined for this S4 class

The em function worked fine, but I'm stuck here.

Thanks!

@plezar
Copy link
Contributor

plezar commented Jul 7, 2022

Hi! "mle" S4 object contents can be accessed using the @ operator. Also, the vcov function must be loaded from within bbmle package, e.g. bbmle::vcov(out). I fixed both errors and forked the repo.

@choisy
Copy link
Owner

choisy commented Jul 8, 2022

Thanks for that. Happy to merge a branch of yours if you send a pull request.

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