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 if(temp > maxtstat){ : the condition has length >1 #3

Open
DreammerLiu opened this issue Oct 19, 2023 · 0 comments
Open

Error in if(temp > maxtstat){ : the condition has length >1 #3

DreammerLiu opened this issue Oct 19, 2023 · 0 comments

Comments

@DreammerLiu
Copy link

Hello,

I am learning R, and I am trying to detect bubble in house price, and your code "rtadfr" helps a lot! Thank you!
When I run test <- rtadf(snp[,1], r0, test = "sadf") with my own data, it can run, however, when I tried to add type="drift" or type="trend" into this code, it shows "Error in if(temp > maxtstat){ : the condition has length >1".

Is there any problem with my data? Could you tell me how to resolve this issue?

Thank you

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

1 participant