The usual stacked bar chart of a source-tracking result: one bar per sink, divided into its estimated proportions from each source, with the unknown source last, in grey.
Usage
# S3 method for class 'ecodive_source'
plot(x, horiz = FALSE, legend = "right", ...)Arguments
- x
The result of
sourcetracker().- horiz
Draw the bars horizontally. Default:
FALSE.- legend
Where to put the legend of sources: a position keyword for
graphics::legend()(such as"topright"), orNULLfor none. Default:"right", outside the plot.- ...
Passed on to
graphics::barplot(), such asmain,col,names.arg,lasorborder.

