vpr_autoid_create: Modifies aid and aid mea files based on manual...

View source: R/clf_check_test.R

vpr_autoid_createR Documentation

Modifies aid and aid mea files based on manual reclassification

Description

Modifies aid and aid mea files based on manual reclassification

Usage

vpr_autoid_create(reclassify, misclassified, basepath, day, hour, mea = TRUE)

Arguments

reclassify

list of reclassify files (output from vpr_manual_classification())

misclassified

list misclassify files (output from vpr_manual_classification())

basepath

base path to auto ID folder eg 'E:/autoID_EC_07032019/'

day

day identifier for relevant aid & aidmeas files

hour

hour identifier for relevant aid & aidmeas files

mea

logical indicating whether or not there are accompanying measurement files to be created

examples

basepath <- 'E:/autoID_EC_07032019/' day <- '289' hr <- '08' day_hour_files <- paste0('d', day, '.h', hr) misclassified <- list.files(day_hour_files, pattern = 'misclassified_', full.names = TRUE) reclassify <- list.files(day_hour_files, pattern = 'reclassify_', full.names = TRUE) vpr_autoid_create(reclassify, misclassified, basepath)

Author(s)

E. Chisholm


vprr documentation built on July 12, 2022, 5:07 p.m.