rnd_dat_rm: Randomly remove data from time series data list

View source: R/jaccard.R

rnd_dat_rmR Documentation

Randomly remove data from time series data list

Description

Remove a specific amount of data randomly from a time series data list.

Usage

rnd_dat_rm(plist, removal)

Arguments

plist

Object of type list storing patient time series data (also see function: patient_list)

removal

Amount of data removal (0 = 0%, 1 = 100%)

Value

Object of type list storing patient time series data with indicated amount of data removed randomly

Examples

list <- patient_list(
"https://raw.githubusercontent.com/MrMaximumMax/FBCanalysis/master/demo/phys/data.csv",
GitHub = TRUE)
#Sampling frequency is supposed to be daily
list_rm <- rnd_dat_rm(testlist, 0.95)


MrMaximumMax/FBCanalysis documentation built on June 23, 2022, 8:21 p.m.