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
- 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.
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