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
- plot - xplot output.
Parameters
Examples are given below.
- param_name [pname] - name of parameter to examine. The parameter must have integer values.
- param_value [value] - plot the percent of trials on which the named parameter takes this integer value.
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