| combine_comparison_results | R Documentation | 
Combine several comparison results into one excel spreadsheet.
combine_comparison_results(filename, ...)
filename | 
 Output spreadsheet file name.  | 
... | 
 Results from   | 
No return value.
res1 <- diff_compare(dat1=data.baseline, dat2=data.primary, wgt1=PERS_WGT, wgt2=PERS_WGT, varlist=varlist, segment="SEGID1")
res2 <- diff_compare(dat1=data.baseline, dat2=data.president.election, wgt1=PERS_WGT, wgt2=PERS_WGT, varlist=varlist, segment="SEGID2")
res3 <- diff_compare(dat1=data.baseline, dat2=data.post.election, wgt1=PERS_WGT, wgt2=PERS_WGT, varlist=varlist, segment="SEGID3")
combine_comparison_results("CompareOutput.xlsx", res1, res2, res3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.