{
ref_var = c( apply(data$getSeries(fil$neighb_indices),1,sd),
apply(data$getSeries(fil$neighb_indices+1),1,sd) )
- fdays = getNoNA2(data, 1, fil$index-1)
+ fdays = .getNoNA2(data, 1, fil$index-1)
global_var = c(
apply(data$getSeries(fdays),1,sd),
apply(data$getSeries(fdays+1),1,sd) )