lineplot:
Plot the fixation probabilities for specific details
Description
The function lineplot() provides quick tools for plotting more detailed fixation probabilities for specific condition(s) and region(s). The function generates 2-dimensional line plots with "Time" as x, and "Fixation Probability" as y.
Usage
lineplot(data, Region = "All", Condition = "All")
Arguments
data
the data frame returned by get_pattern function.
Region
the intended region(s) to plot. It can be a string ("All"), a number (e.g., 1), or a vector (e.g., c(1,2)).
Condition
the intended condition(s) to plot. It can be a string ("All"), a number (e.g., 1), or a vector (e.g., c(1,2)).