public static void PLSOnRows(WorksheetController ctrl)
    {
      MultivariateAnalysisOptions options;
      SpectralPreprocessingOptions preprocessOptions;
      if(!QuestPLSAnalysisOptions(out options, out preprocessOptions))
        return;

      WorksheetAnalysis analysis = new PLS2WorksheetAnalysis();

      string err= analysis.ExecuteAnalysis(Current.Project,ctrl.Doc,ctrl.SelectedDataColumns,ctrl.SelectedDataRows,ctrl.SelectedPropertyColumns,true,options,preprocessOptions);
      if(null!=err)
        System.Windows.Forms.MessageBox.Show(ctrl.View.TableViewForm,err,"An error occured");
    }
示例#2
0
		public static void PLSOnRows(IWorksheetController ctrl)
		{
			MultivariateAnalysisOptions options;
			SpectralPreprocessingOptions preprocessOptions;
			if (!QuestPLSAnalysisOptions(out options, out preprocessOptions))
				return;

			WorksheetAnalysis analysis = new PLS2WorksheetAnalysis();

			string err = analysis.ExecuteAnalysis(Current.Project, ctrl.DataTable, ctrl.SelectedDataColumns, ctrl.SelectedDataRows, ctrl.SelectedPropertyColumns, true, options, preprocessOptions);
			if (null != err)
				Current.Gui.ErrorMessageBox(err, "An error occured");
		}