echoIBM.getSchoolfileType: Function for extracting the type (dynamic or static) of the...

View source: R/echoIBM.getSchoolfileType.R

echoIBM.getSchoolfileTypeR Documentation

Function for extracting the type (dynamic or static) of the school files given by 'schoolfiles'. Four vectors are returned: NA

Description

Function for extracting the type (dynamic or static) of the school files given by 'schoolfiles'. Four vectors are returned: NA

Usage

echoIBM.getSchoolfileType(
  schoolfiles,
  dynschoolnames,
  staticschoolnames,
  thr = 0.5
)

Arguments

schoolfiles

is a vector of paths to school files.

dynschoolnames

is a vector of four character strings representing dynamic school valiable names.

staticschoolnames

is a vector of four character strings representing static school valiable names.

thr

A treshold value in [0, 1], with defaultvalue 0.5 indicating that at least half of the variables read from the schoolfiles must be dynamic or static for the files to be labeled accoringly.


arnejohannesholmin/sonR documentation built on April 14, 2024, 11:39 p.m.