skat_dorp_brandstof: skat_dorp_brandstof

View source: R/skat_dorp_brandstof.R

skat_dorp_brandstofR Documentation

skat_dorp_brandstof

Description

Function to estimate township fuel. You need: a population data frame, a data frame giving indication of proportions who use the fuel and format, a consumption variable in unit counts, a dataframe with format weights (1 if units are already standardised) lapply this on a bootstrap sample to estimate uncertainty

Usage

skat_dorp_brandstof(
  pop,
  dta,
  placename = "place",
  unitname = "sol_energy_coal_consumptionwinter",
  formatname = "sol_energy_coal_format",
  notusename = "none",
  unitweights,
  som = FALSE,
  debug = FALSE
)

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

som

Logical

debug

Logical


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