View source: R/saeplus_hhestpoly.R
| saeplus_hhestpoly | R Documentation | 
This function estimates geospatial grid level estimates from household surveys indicators
saeplus_hhestpoly( geo_dt, hh_dt, shp_dt, admin_var = "ADM3_CODE", ind_var = "hhsize", weight_var = "hhweight", FUN = "weighted.mean", crs = 4326, agr = "constant" )
| geo_dt | sf/st dataframe object including the polygon geometry included | 
| hh_dt | household survey data with indicator(s) | 
| shp_dt | shapefile with desired administrative level of aggregation | 
| admin_var | a variable within hh_dt for the level at which the indicator will be estimated | 
| ind_var | the indicator variable of interest within hh_dt | 
| weight_var | the weight variable of interest within hh_dt | 
| FUN | the aggregation function to be applied (currently MUST take ind_var and weight_var) | 
data.table/data.frame object with grid level estimates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.