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

pstRT_ddm function #152

Open
troyhouser opened this issue Jan 6, 2023 · 2 comments
Open

pstRT_ddm function #152

troyhouser opened this issue Jan 6, 2023 · 2 comments
Assignees

Comments

@troyhouser
Copy link

troyhouser commented Jan 6, 2023

Hello,

I am trying to run a pstRT_ddm model. My dataframe (attached) has the columns "subjID", "choice", "RT", and "cond". I keep getting the following error:

Error in RTl[i, 1:Nl[i]] <- subj_data$rt[subj_data$choice == 1] :
number of items to replace is not a multiple of replacement length

I looked into the example dataframe and the preprocess_funcs source code, and it seems that this function is looking for additional columns "iter" and "feedback" which the help page for pstRT_ddm says is not necessary. Not sure what I'm doing wrong here, any help is so appreciated!
(I try to run the model after getting rid of NAs)
[
TPC_ddm.csv
](url)

@youngahn
Copy link
Member

youngahn commented Jul 3, 2023

Many apologies for the delay. For questions like this, please use our mailing list: https://groups.google.com/g/hbayesdm-users. Also, make sure to include your (sample) dataset so that our team can replicate the error messages.

Have you tried to run the model after getting rid of NAs? Given that you provided the data, we will test it and give you an update. @lehlsy0904

@Algebreaker
Copy link

Is there an update on this by any chance as I seem to be running into the same issue?

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

4 participants