Description Usage Arguments Value Examples
CheckInterval
obtiene los parámetros de la fase longitudinal de la
depuración selectiva
1 2 3 | CheckInterval(variables, units, edit.List, edits = names(edit.list), edData,
rawData, edTS, intervalData, flagData, invTrans.List, dTrans.List,
lang = "EN")
|
variables |
|
units |
data.table con los identificadores de las unidades a monitorizar. |
edits |
|
edData |
objeto de clase |
rawData |
objeto de clase |
edTS |
objeto de clase |
intervalData |
objeto de clase |
flagData |
|
invTrans.List |
|
dTrans.List |
|
lang |
|
edit.list |
lista de vectores de tipo |
La función devuelve una lista con dos componentes:
edTS
: data.table con la serie de valores de las unidades para las
variables implicadas en los edits.
edits
: data.table con los intervalos de validación de cada Edit
consultado y los parámetros utilizados en su construcción: Pred (centro del
intervalo), Pred_error (error de predicción de la variable), HRFactor (factor
de amplitud) y Condicion (indicador de la aplicación o no del control.)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | dontrun{
Variables <- list(VarAnalisis = list(LCN = 'logv9' ,
LEX = 'logvexis',
LRCNPT = 'logRatioCNPT',
LTACNCCAA = 'logitAngleCNCCAA',
LTACNCNAE = 'logitAngleCNCNAE',
LTAPTCCAA = 'logitAnglePTCCAA',
LTACNPTCCAA = 'logitAngleCNPTCCAA'),
VarAsociadas = list(LCN = 'v9' ,
LEX = 'vexis',
LRCNPT = c('v9', 'vexis'),
LTACNCCAA = c(vecCNCCAA, lagVecCNCCAA),
LTACNCNAE = c(vecCNCNAE, lagVecCNCNAE),
LTAPTCCAA = c(vecPTCCAA, lagVecPTCCAA),
LTACNPTCCAA = c(vecCNCCAA, vecPTCCAA)),
VarAuxiliares = list(INCIDENC = 'incidenc'))
Suffixes <- c('W_1', 'W_3', 'noW_3')
Edit.List <- list(LCN = paste0('LCN_', Suffixes),
LEX = paste0('LEX_', Suffixes),
LRCNPT = paste0('LRCNPT_', Suffixes),
LTACNCCAA = paste0('LTACNCCAA_', Suffixes),
LTACNCNAE = paste0('LTACNCNAE_', Suffixes),
LTAPTCCAA = paste0('LTAPTCCAA_', Suffixes),
LTACNPTCCAA = paste0('LTACNPTCCAA_', Suffixes))
output <- CheckInterval(units = list(NOrden = '4602232599M'),
edits = c('LCN','LTACNCNAE'),
variables = Variables,
edit.List = Edit.list,
edData = FF.StQList[[Periodo]],
intervalData = FL.StQList)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.