Learn R Programming

sdcMicro (version 4.0.3)

report: Generate a HTML output from an sdcMicroObj

Description

Summary statistics of the original and the perturbed data set

Usage

report(obj, outdir=getwd(),filename="SDC-Report",Title="SDC-Report",internal=TRUE)

Arguments

obj
an object of class 'sdcMicroObj'
outdir
output folder
filename
output filename
Title
Title for HTML
internal
TRUE for the long internal version of the report. FALSE for a short version for externals.

Details

The application of this function provides you with a html report for your sdcMicro object.

Examples

Run this code
data(testdata2)
sdc <- createSdcObj(testdata2,
  keyVars=c('urbrur','roof','walls','water','electcon','relat','sex'), 
  numVars=c('expend','income','savings'), w='sampling_weight')
report(sdc)

Run the code above in your browser using DataLab