metadpy.utils.ratings2df#
- metadpy.utils.ratings2df(nR_S1: ndarray, nR_S2: ndarray) DataFrame [source]#
Convert response count to dataframe.
- Parameters
- nR_S1
Confience ratings (stimuli 1, correct and incorrect).
- nR_S2
Confience ratings (stimuli 2, correct and incorrect).
- Returns
- df
A DataFrame (nRows==`nTrials`) containing the responses, accuracy and confidence rating for one participant given nR_s1 and nR_S2.
See also