#include "regression-dialog.h"
#include "reliability-dialog.h"
#include "roc-dialog.h"
+#include "correlation-dialog.h"
+#include "factor-dialog.h"
#include "oneway-anova-dialog.h"
#include "t-test-independent-samples-dialog.h"
#include "t-test-one-sample.h"
G_CALLBACK (roc_dialog), de);
}
+ {
+ GtkAction *invoke_correlation_dialog =
+ resolve_action (de->builder, "correlation", NULL);
+
+ g_object_set (invoke_correlation_dialog,
+ "tooltip", _("Bivariate Correlation"),
+ "stock-id", "pspp-correlation",
+ NULL
+ );
+
+ g_signal_connect (invoke_correlation_dialog, "activate",
+ G_CALLBACK (correlation_dialog), de);
+ }
+
+ {
+ GtkAction *invoke_factor_dialog =
+ resolve_action (de->builder, "factor-analysis", NULL);
+
+ g_object_set (invoke_factor_dialog,
+ "tooltip", _("Principal Axis Factoring and Principal Components Analysis"),
+ "stock-id", "pspp-factor",
+ NULL
+ );
+
+ g_signal_connect (invoke_factor_dialog, "activate",
+ G_CALLBACK (factor_dialog), de);
+ }
+
{
GtkUIManager *uim = GTK_UI_MANAGER (get_object_assert (de->builder, "uimanager1", GTK_TYPE_UI_MANAGER));