Rdocumentation
powered by
Learn R Programming
pcrsim (version 0.1.1)
listToxy: List to xy values
Description
listToxy
combines matching x values to a list of y values.
Usage
listToxy(ylist, xval, elements = TRUE)
Arguments
ylist
list of y values.
xval
list of matching x values.
elements
logical, TRUE length equals number of elements in each list FALSE, length equals number of sublists.
Value
data.frame with columns 'X' and 'Y'.
Details
Combines a list of Y values with a vector of matching X values into a data frame with x and y values suitable for plotting.