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