-
Notifications
You must be signed in to change notification settings - Fork 26
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 Path[k1, k2] <- path_lm$coef[-1, 1] #16
Comments
I have the same qusetion, hope some one could help us? |
I have the same question... Would very much appreciate some help! |
1 similar comment
I have the same question... Would very much appreciate some help! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dear Gaston et al.,
I am running a bootstrap analysis on my model, which runs fine without bootstrapping.
There are no NAs in my data.
But, when bootstrapping, I receive the following error with certain combination of input data:
Error in Path[k1, k2] <- path_lm$coef[-1, 1] :
number of items to replace is not a multiple of replacement length
Now I was thinking this might have to do with errors in the lm-function, from which there is no coefficient to be passed on to Path[k1, k2]. But when checking simply all combinations of linear model correlations "by hand", I can find no combinations of input data that result in any error.
Have you encountered this before? Is there a simple solution or workaround? If it makes stuff easier, I could share my data and code by email.
Thanks for your time! :-)
Kasper
The text was updated successfully, but these errors were encountered: