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

Implement categorical predictors #1

Open
abraao-crypto opened this issue May 2, 2021 · 7 comments
Open

Implement categorical predictors #1

abraao-crypto opened this issue May 2, 2021 · 7 comments
Labels
enhancement New feature or request

Comments

@abraao-crypto
Copy link

abraao-crypto commented May 2, 2021

Hi,

Firstly, I would like to congrats you on this powerful package.
I am using the function dSep(x,FUN=MCMCglmm,...) in order to do a path analysis, but unfortunately, I am having this error:
Error in parse(text = x, keep.source = FALSE) :
:2:0: unexpected end of input
1: NULL ~
^

Please, can you help me?

All best/
Abraão

@jmaspons
Copy link
Owner

jmaspons commented May 2, 2021

Thanks for your kind words. Are there any categorical variable in your model? Can you provide a minimum example to reproduce the error?

@abraao-crypto
Copy link
Author

Hi.
I attached a script, phylogeny, and one dataset.

dSep_Example.zip

Thanks

@abraao-crypto
Copy link
Author

abraao-crypto commented May 6, 2021

Yes , there is only one categorical variable in my model.

Thanks

@jmaspons
Copy link
Owner

jmaspons commented May 10, 2021 via email

@jmaspons jmaspons added the enhancement New feature or request label May 10, 2021
@jmaspons
Copy link
Owner

Perhaps @AlejandroG-V have some idea about how to handle categorical variables in the d-separation method...

@jmaspons jmaspons changed the title Performing a path analysis with MCMCGlmm Implement categorical predictors May 10, 2021
@abraao-crypto
Copy link
Author

abraao-crypto commented May 11, 2021 via email

@jmaspons
Copy link
Owner

We need only one p-value and for categorical predictors we get a p-value for each level of the variable - 1 (the reference level has no p-value)

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

No branches or pull requests

2 participants