toy: Toy dataset

toyR Documentation

Toy dataset

Description

Synthetically produced data are provided to test the FuzzyHRT algorithm.

Usage

data(toy)

Format

The toy data is a data.frame object consisting of 9265 synthetic records and 5 variables:

strata

a numeric value of the strata

unit_id

a character string with the record ID

master_varname

a character string with the names of the variables

current_value_num

a numeric value with the current synthetic observation

pred_value

a numeric value with the previously synthetic observation

Examples

# Load the package
library(HRTnomaly)
set.seed(2025L)
# Load the toy dataset
data(toy)
# Detect cellwise outliers
res <- fuzzyHRT(toy)

HRTnomaly documentation built on April 3, 2025, 6:17 p.m.