
Create a comparison plot of two AGB datasets
TwoPlots.Rd
This function creates a plot comparing two sets of AGB measurements, useful for comparing different processing methods or datasets. Both sets are shown as binned data with error bars and different colors.
Arguments
- x
Numeric vector of first reference AGB values.
- y
Numeric vector of first mapped AGB values (same length as x).
- x1
Numeric vector of second reference AGB values.
- y1
Numeric vector of second mapped AGB values (same length as x1).
- caption
Character string for the plot title/caption.
- fname
Character string specifying the output file name for saving the plot. If empty, the plot will be displayed but not saved.
- title
Character string specifying the comparison type: 'harmo' for harmonized data comparison, or any other value for weighted comparison (default: "").
- outDir
Character string specifying the output directory for saving the plot (default: "results").