Description Usage Arguments Details Value

Extracts the sign for the *f_4* statistics predicted by the graph for all
rows in a data frame and extends the data frame with the graph *f_4*.

1 | ```
add_graph_f4_sign(data, graph)
``` |

`data` |
The data frame to get the labels to compute the |

`graph` |
The admixture graph. |

The data frame, `data`

, must contain columns `W`

, `X`

,
`Y`

, and `Z`

. The function then computes the sign of the
*f4(W, X; Y, Z)* statistics for all rows and adds these as a column,
`graph_f4_sign`

, to the data frame.

A data frame identical to `data`

except with an additional
column, `graph_f4_sign`

, containing the sign of the *f_4*
statistics as determined by the graph.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.