pr_dist | R Documentation |
This function computes, for every individual, the euclidean distance travelled between all antennas it has been read at.
pr_dist(block_df, block_ref_df, ant_coordinates)
block_df |
A data frame containing the reads from an experimental block |
block_ref_df |
A data frame containing a reference list with all individuals present in the experimental block. |
ant_coordinates |
A data frame containing four columns: "antenna","x","y","z" (where "x", "y", and "z" represent the coordinates in three domensions). If there is no z axis, enter all zeros but do not omit the column. |
A data frame containing two columns: "id", and "distance", indicating the travelled distance for every individual.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.