Skip to contents

Return data according to format - microdata

Usage

return_format_md(
  ld,
  var,
  povline,
  complete = FALSE,
  format = c("dt", "list", "atomic")
)

Arguments

ld

list of data

var

character: name of variable to be returned.

povline

numeric: poverty line

complete

logical: if format = "list" then complete = TRUE gives complete information output.

format

character: either "dt" for data.table, "list" or "atomic" for a single numeric vector, whose names are corresponding selected Lorenz for each value. Default is "dt"

Value

determined by format