data, must contain columns W, X,
Y, and Z. The function then computes the $f_4(W, X; Y, Z)$
statistics (also known as the $D$ statistics) for all rows and adds these
as a column, graph_f4, to the data frame.
add_graph_f4(data, graph, env)data except with an additional
column, graph_f4, containing the $f_4$ values as determined by
the graph and the environment.