You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
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
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)
The text was updated successfully, but these errors were encountered: