boot_dorp_brandstof: boot_dorp_brandstof

View source: R/boot_dorp_brandstof.R

boot_dorp_brandstofR Documentation

boot_dorp_brandstof

Description

Function to estimate township fuel use with bootstrapping

Usage

boot_dorp_brandstof(
  pop,
  dta,
  placename = "place",
  unitname = "sol_energy_coal_consumptionwinter",
  formatname = "sol_energy_coal_format",
  notusename = "none",
  unitweights,
  rep = 1000,
  plt = TRUE,
  debug = FALSE,
  dropperc = 0.025,
  graphdir = "Grafieke",
  stoor = TRUE
)

Arguments

pop

dataframe

dta

data frame giving indication of proportions who use the fuel and format

placename

Character. Default: "place"

unitname

Character. Default: "sol_energy_coal_consumptionwinter"

formatname

Character. Default: "sol_energy_coal_format"

notusename

Character. Default: "none"

unitweights

Named list with unit weights

rep

Integer. Default: 1000

plt

Logical. Plot or not. Default: TRUE

debug

Logical.

dropperc

Numeric. Drop proportions smaller than dropperc. Default 0.025

graphdir

Character. Directory to write graphs to. Default: "Grafieke",

stoor

Logical: Save output or not. Default: TRUE


NovaInstitute/novaInventories documentation built on March 19, 2022, 2:36 a.m.