| pp_compare | R Documentation | 
Comparison to Other Data
pp_compare(x, estimated, actual, title)
| x | An object of class  | 
| estimated | Population estimates using pp_estimate function | 
| actual | Actual population values | 
| title | Scatterplot title  | 
A list including rmse, mae, linear model details and correlation coefficient
# read lib data
data('src')
data('trg')
# areal weighting interpolation - awi
awi <- pp_estimate(trg, src, sid = sid, spop = pop,
    method = awi)
# volume weighting interpolation - vwi
vwi <- pp_estimate(trg, src, sid = sid, spop = pop,
    method = vwi, volume = floors)
# awi - rmse
pp_compare(awi, estimated = pp_est, actual = rf,
    title ='awi')
# vwi - rmse
pp_compare(vwi, estimated = pp_est, actual = rf,
    title ='vwi')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.