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 in PLN network model postTreatment #138

Open
maddyduran opened this issue Sep 30, 2024 · 1 comment
Open

error in PLN network model postTreatment #138

maddyduran opened this issue Sep 30, 2024 · 1 comment
Assignees

Comments

@maddyduran
Copy link
Contributor

Hello,

I get this error when trying to fit a PLN network model with the latest version. This model with this data worked on an older version.

Error in `colnames<-`(`*tmp*`, value = colnames(responses)) : 
  attempt to set 'colnames' on an object with less than two dimensions

It appears that the issue is because there is an issue with the last of the models in the self$models list while going through postTreatment:
Screenshot 2024-09-30 at 10 56 33 AM

@mahendra-mariadassou mahendra-mariadassou self-assigned this Sep 30, 2024
@mahendra-mariadassou
Copy link
Collaborator

mahendra-mariadassou commented Sep 30, 2024

Hello,

Thank you for reporting this bug. This seems to arise from automatic conversion of one-column matrices to vectors but I'm not quite sure where it happens nor why it happened only for a given value of $\lambda$.

Is there any chance you could share the dataset (or a subset that still generates the bug and/or by email if it's private) and exact call used so we can reproduce and fix it ?

Thanks

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

2 participants