Skip to content

pstRT_ddm function #152

@troyhouser

Description

@troyhouser

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)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions