SimpleImputeHistoryWide: SimpleImputeHistoryWide

View source: R/KostraWrappers.R

SimpleImputeHistoryWideR Documentation

SimpleImputeHistoryWide

Description

SimpleImputeHistoryWide

Usage

SimpleImputeHistoryWide(
  data,
  idName,
  periodName,
  measureName,
  strataName = NULL,
  weightMethod,
  reverse
)

Arguments

data

Input data set of class data.frame

idName

Name of id-variable

periodName

Name of the period identification variable.

measureName

Name of the variable to estimate.

strataName

Name of starta-variable. Single strata when NULL (default)

weightMethod

The weight method for error calculations coded as a string: "ordinary" (default) or "ratio".

reverse

When TRUE most resent is last instead of first (see xName and yName). Default is FALSE.


statisticsnorway/Kostra documentation built on July 8, 2023, 5:58 a.m.