Skip to contents

Travel and cost

travel_matrix()
Travel matrix between the units of a frame
field_cost_model()
Field cost model
as_frame()
Turn a spatial object into a frame
as_sf()
Put results back on the geometries of a spatial frame
read_areaframe()
Read the cells of an area frame exported by the areaframe service

Routing the field work

route_fieldwork()
Route the field work
schedule_fieldwork()
Schedule the field work of several teams from several bases
schedule_calendar()
Redistribute the routes of a schedule over teams and days with constraints
autoplot(<fieldopt_routes>)
Plot the routes
autoplot(<fieldopt_schedule>)
Plot a field schedule
tidy(<fieldopt_routes>) glance(<fieldopt_routes>) glance(<fieldopt_frontier>) tidy(<fieldopt_schedule>) glance(<fieldopt_schedule>)
Tidy and glance methods for routes and frontiers

Selecting units and points

select_units()
Select units with a spatially balanced or systematic probability sample
sampled()
The sampled units of a sample
select_points()
Select points inside sampled grid cells
spatial_balance()
Spatial balance of a sample
autoplot(<fieldopt_sample>)
Plot a sample of units

Estimating

design_variance()
Design-based estimate of a total with its variance
ratio_estimator()
Ratio estimate of a total with an auxiliary variable
dual_frame_estimator()
Dual-frame estimate of a total
as_svydesign()
Hand a sample to the survey package
frame_overlap()
Overlap between a list frame and the area frame
segment_estimator()
Segment estimators of a total from an area sample of segments
point_estimator()
Multiplicity (point) estimator of a total from an area sample of points
expected_hits()
Expected number of point hits of each establishment
point_design_effect()
Design effect and bias of point sampling by simulation

Allocation

frame_allocation()
Cost-aware allocation across strata
multivariate_allocation()
Cost-aware allocation for several study variables
dual_frame_allocation()
Dual-frame allocation (area frame plus list frame with overlap)
two_stage_allocation()
Two-stage allocation with a field cost function
tidy(<fieldopt_multi_allocation>) glance(<fieldopt_multi_allocation>) tidy(<fieldopt_allocation>) glance(<fieldopt_allocation>) tidy(<fieldopt_dual_frame>) glance(<fieldopt_dual_frame>) tidy(<fieldopt_two_stage>) glance(<fieldopt_two_stage>)
Tidy and glance methods for allocations

Allocation with the routed field cost

routed_cost_curve() predict(<fieldopt_cost_curve>) tidy(<fieldopt_cost_curve>) glance(<fieldopt_cost_curve>) autoplot(<fieldopt_cost_curve>)
Routed cost curve of a design: the travel constant of Hansen, Hurwitz and Madow
routed_unit_cost()
Field cost per sampled unit at a given sample size, from the routing
two_stage_design()
Two-stage allocation with the primary-unit cost taken from the routing
dual_frame_design()
Dual-frame allocation with the area-frame cost taken from the routing

The cost-variance frontier

cost_variance_frontier()
Cost-variance frontier of a design by simulation
autoplot(<fieldopt_frontier>)
Plot the cost-variance frontier

Engine

core_version()
Version of the Rust engine

Re-exports

reexports autoplot tidy glance
Objects exported from other packages