buildAction method

void buildAction()

Implementation

void buildAction() {
  // Run the R scripts.

  switch (selectedTransform) {
    case 'Quantiles':
      rSource(context, ref, ['transform_recode_quantile']);
      break;
    case 'KMeans':
      rSource(context, ref, ['transform_recode_kmeans']);
      break;
    case 'Equal Width':
      rSource(context, ref, ['transform_recode_equal_width']);
      break;
    case 'Indicator Variable':
      rSource(context, ref, ['transform_recode_indicator_variable']);
      break;
    case 'Join Categorics':
      rSource(context, ref, ['transform_recode_join_categoric']);
      break;
    case 'As Categoric':
      rSource(context, ref, ['transform_recode_as_categoric']);
      break;
    case 'As Numeric':
      rSource(context, ref, ['transform_recode_as_numeric']);
      break;
    default:
      showUnderConstruction(context);
  }
}