[x] Create a more formal "panelmatch" object (either according to s3 or s4 conventions) that is returned from the PanelMatch function
[x] Refactor appropriate parts of PanelMatch.R. Should be able to clean up the 'return' statements quite a bit and hopefully reduce code duplication.
[x] Update other parts of the code to accept "panelmatch" objects
[x] Improve DisplayTreatment to accept these new objects -- This lends itself to some additional functionality, such as highlighting matched sets on resulting plots.
Details mostly TBD at this point, but roughly:
[x] Create a more formal "panelmatch" object (either according to s3 or s4 conventions) that is returned from the PanelMatch function
[x] Refactor appropriate parts of PanelMatch.R. Should be able to clean up the 'return' statements quite a bit and hopefully reduce code duplication.
[x] Update other parts of the code to accept "panelmatch" objects
[x] Improve DisplayTreatment to accept these new objects -- This lends itself to some additional functionality, such as highlighting matched sets on resulting plots.