percent_plot

Compute the fraction of trials on which a particular value is found. This can be used for psychophysics, where the response is stored as a variable parameter.

Output types

Parameters

Examples are given below.

Example - computing percent correct vs TF

#
#  write data
#
percent_plot
group 1 test_tf
plot

param_name resp1
param_val 1

condition
param_val test_stim_flag 1