lineplot: Plot the fixation probabilities for specific details

Description Usage Arguments Author(s) See Also Examples

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

1
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)).

Author(s)

Jinlu Cao

See Also

get_pattern, ft2fp, plot_pattern

Examples

1
2
3
4
5
6
data(pattern)
lineplot(pattern)
lineplot(pattern, Region="All", Condition=1)
lineplot(pattern, Condition=c(1,2))
lineplot(pattern, Region=2)
lineplot(pattern, Region=c(2,3), Condition=c(3,4,5))


Search within the fpa package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.