Description Usage Arguments Value Author(s)
View source: R/spiderplot_data.R
This is a convienence function that takes the output of a paternity()
function and the raw data.frame
with the coordinates and turns it
into a data.frame
that can be used in geom_segments
.
1 2 3 4 5 6 7 8 | spiderplot_data(
pat,
df,
ID = "ID",
OffID = "OffID",
longitude = "Longitude",
latitude = "Latitude"
)
|
pat |
The output from the |
df |
A |
ID |
The name of the column in |
OffID |
The column name in |
longitude |
The label for the x-coordinate for the adults as it is found
in the |
latitude |
The label for the y-coordinate for the adults as it is found
in the |
A data.frame
with the segments correctly formated for
geom_segment
.
Rodney J. Dyer <rjdyer@vcu.edu>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.