[rkward-cvs] SF.net SVN: rkward: [1363] branches/release_branch_0.4.6

tfry at users.sourceforge.net tfry at users.sourceforge.net
Thu Feb 8 21:07:24 UTC 2007


Revision: 1363
          http://svn.sourceforge.net/rkward/?rev=1363&view=rev
Author:   tfry
Date:     2007-02-08 13:07:24 -0800 (Thu, 08 Feb 2007)

Log Message:
-----------
Merge 1352 to 1362 from trunk

Modified Paths:
--------------
    branches/release_branch_0.4.6/ChangeLog
    branches/release_branch_0.4.6/TODO
    branches/release_branch_0.4.6/debian/changelog
    branches/release_branch_0.4.6/debian/rules
    branches/release_branch_0.4.6/rkward/misc/rksaveobjectchooser.cpp
    branches/release_branch_0.4.6/rkward/misc/rksaveobjectchooser.h
    branches/release_branch_0.4.6/rkward/plugin/rkinput.cpp
    branches/release_branch_0.4.6/rkward/plugin/rkinput.h
    branches/release_branch_0.4.6/rkward/plugin/rkpluginsaveobject.cpp
    branches/release_branch_0.4.6/rkward/plugin/rkstandardcomponentgui.cpp
    branches/release_branch_0.4.6/rkward/plugins/Makefile.am
    branches/release_branch_0.4.6/rkward/plugins/analysis/ansari_bradley/ansari_bradley_exact_test.php
    branches/release_branch_0.4.6/rkward/plugins/analysis/ansari_bradley/ansari_bradley_exact_test.xml
    branches/release_branch_0.4.6/rkward/plugins/analysis/ansari_bradley/ansari_bradley_test.php
    branches/release_branch_0.4.6/rkward/plugins/analysis/ansari_bradley/ansari_bradley_test.xml
    branches/release_branch_0.4.6/rkward/plugins/analysis/wilcoxon/wilcoxon_exact_test.php
    branches/release_branch_0.4.6/rkward/plugins/analysis/wilcoxon/wilcoxon_exact_test.xml
    branches/release_branch_0.4.6/rkward/plugins/analysis/wilcoxon/wilcoxon_test.php
    branches/release_branch_0.4.6/rkward/plugins/analysis/wilcoxon/wilcoxon_test.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/beta_probabilities.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/beta_quantiles.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/binomial_quantiles.php
    branches/release_branch_0.4.6/rkward/plugins/distributions/binomial_quantiles.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/binomial_tail_probabilities.php
    branches/release_branch_0.4.6/rkward/plugins/distributions/binomial_tail_probabilities.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/cauchy_probabilities.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/cauchy_quantiles.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/chi_squared_probabilities.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/chi_squared_quantiles.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/exponential_probabilities.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/exponential_quantiles.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/f_probabilities.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/f_quantiles.php
    branches/release_branch_0.4.6/rkward/plugins/distributions/f_quantiles.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/gamma_probabilities.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/gamma_quantiles.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/geom_probabilities.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/geom_quantiles.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/gumbel_probabilities.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/gumbel_quantiles.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/hypergeometric_probabilities.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/hypergeometric_quantiles.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/log_normal_probabilities.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/log_normal_quantiles.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/logistic_probabilities.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/logistic_quantiles.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/negative_binomial_probabilities.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/negative_binomial_quantiles.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/normal_probabilities.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/normal_quantiles.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/plot_beta_distribution.rkh
    branches/release_branch_0.4.6/rkward/plugins/distributions/plot_binomial_distribution.rkh
    branches/release_branch_0.4.6/rkward/plugins/distributions/plot_cauchy_distribution.rkh
    branches/release_branch_0.4.6/rkward/plugins/distributions/plot_chi_squared_distribution.rkh
    branches/release_branch_0.4.6/rkward/plugins/distributions/plot_chi_squared_distribution.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/plot_exponential_distribution.rkh
    branches/release_branch_0.4.6/rkward/plugins/distributions/plot_exponential_distribution.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/plot_f_distribution.rkh
    branches/release_branch_0.4.6/rkward/plugins/distributions/plot_gamma_distribution.rkh
    branches/release_branch_0.4.6/rkward/plugins/distributions/plot_geometric_distribution.rkh
    branches/release_branch_0.4.6/rkward/plugins/distributions/plot_hypergeometric_distribution.rkh
    branches/release_branch_0.4.6/rkward/plugins/distributions/plot_logistic_distribution.rkh
    branches/release_branch_0.4.6/rkward/plugins/distributions/plot_lognormal_distribution.rkh
    branches/release_branch_0.4.6/rkward/plugins/distributions/plot_negbinomial_distribution.rkh
    branches/release_branch_0.4.6/rkward/plugins/distributions/plot_negbinomial_distribution.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/plot_normal_distribution.rkh
    branches/release_branch_0.4.6/rkward/plugins/distributions/plot_poisson_distribution.rkh
    branches/release_branch_0.4.6/rkward/plugins/distributions/plot_t_distribution.rkh
    branches/release_branch_0.4.6/rkward/plugins/distributions/plot_t_distribution.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/plot_tukey_distribution.rkh
    branches/release_branch_0.4.6/rkward/plugins/distributions/plot_tukey_distribution.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/plot_uniform_distribution.rkh
    branches/release_branch_0.4.6/rkward/plugins/distributions/plot_weibull_distribution.rkh
    branches/release_branch_0.4.6/rkward/plugins/distributions/plot_wilcoxon_distribution.rkh
    branches/release_branch_0.4.6/rkward/plugins/distributions/poisson_probabilities.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/poisson_quantiles.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/t_probabilities.php
    branches/release_branch_0.4.6/rkward/plugins/distributions/t_probabilities.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/t_quantiles.php
    branches/release_branch_0.4.6/rkward/plugins/distributions/t_quantiles.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/tukey_probabilities.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/tukey_quantiles.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/uniform_probabilities.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/uniform_quantiles.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/weibull_probabilities.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/weibull_quantiles.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/wilcoxon_probabilities.xml
    branches/release_branch_0.4.6/rkward/plugins/distributions/wilcoxon_quantiles.xml
    branches/release_branch_0.4.6/rkward/plugins/plots/barplot.php
    branches/release_branch_0.4.6/rkward/plugins/plots/plot_options.rkh
    branches/release_branch_0.4.6/rkward/windows/rkwindowcatcher.cpp

Removed Paths:
-------------
    branches/release_branch_0.4.6/rkward/plugins/distributions/binomial_probabilities.php
    branches/release_branch_0.4.6/rkward/plugins/distributions/binomial_probabilities.xml

Modified: branches/release_branch_0.4.6/ChangeLog
===================================================================
--- branches/release_branch_0.4.6/ChangeLog	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/ChangeLog	2007-02-08 21:07:24 UTC (rev 1363)
@@ -1,3 +1,4 @@
+- single line input fields in plugins no longer accept new-lines
 - support for calculating p-values in correlation matrix plugin
 - fixed: pressing F8 in the console would remove input focus from the console
 - pressing tab changes focus while in a single line text input field
@@ -8,11 +9,11 @@
 - simplified CSV import plugin
 - new plugin: import SPSS files
 - new documentation pages: console
-- improvements to distribution plot plugins
-- new plugins: distribution plots 							TODO: list them
+- various improvements to existing distribution and distribution plot plugins
+- new plugins: distribution plots: beta, binomial, cauchy, exponential, gamma, geometric, hypergeometric,
+		logistics, lognormal, negative binomail, tukey, uniform, weibull, wilcoxon
 - fixed: installing packages as root would not work, when $R_HOME is not defined
 - new plugin element to select name of an R object to save to
-- analysis folder for analysis plugins (Wilcoxon and Ansari-Bradley tests moved to analysis)
 - new plugin: Ansari-Bradley two-sample test						TODO: document, make it stable
 - place internal objects .rk.rkreply and .rk.available.packages.cache into rkward package environment
 - support for preview functionality in graphing plugins

Modified: branches/release_branch_0.4.6/TODO
===================================================================
--- branches/release_branch_0.4.6/TODO	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/TODO	2007-02-08 21:07:24 UTC (rev 1363)
@@ -149,6 +149,9 @@
 			- static members should be moved to the respective classes. Much cleaner!
 
 R plugins:
+	- Spinbox:
+		- find a solution for "pending changes". Currently, if the user enters a value, manually, then presses submit, the old value will be used (the new value is only set, when the focus changes to another widget). Probably the RKSpinbox should emit signals for "pending" and "ready". The plugin spinbox should listen to those and not be satisfied as long as a change is pending. Maybe mark the spinbox in yellow, while a change is pending.
+		- options min_inclusive / max_inclusive for real number spinboxes (defaulting to true)
 	- create grid() plugin
 	- create a (simple) color option plugin (~ 30 colors) for embedding
 	- a function rk.describe.alternative() for use in hypothesis test plugins

Modified: branches/release_branch_0.4.6/debian/changelog
===================================================================
--- branches/release_branch_0.4.6/debian/changelog	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/debian/changelog	2007-02-08 21:07:24 UTC (rev 1363)
@@ -1,3 +1,10 @@
+rkward (0.4.6-1) unstable; urgency=low
+
+  * new upstream release
+  * update r-base-core dependencies
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  XXX, XX Feb 2007 XX:00:00 +0200
+
 rkward (0.4.5-1) unstable; urgency=low
 
   * new upstream release

Modified: branches/release_branch_0.4.6/debian/rules
===================================================================
--- branches/release_branch_0.4.6/debian/rules	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/debian/rules	2007-02-08 21:07:24 UTC (rev 1363)
@@ -104,7 +104,11 @@
 	dh_installdeb
 	dh_shlibdeps
 	# unfortunately, the r-base-core dependency can not be found by dh_shlibdeps, so we need to get at the version manually
-	@if [[ "$(RVERS)" > "2.2.1.svn37823" ]] ; then \
+	@if [[ "$(RVERS)" > "2.4.9" ]] ; then \
+		echo "rvers=r-base-core (>= 2.4.9)" >> $(CURDIR)/debian/rkward.substvars ; \
+	else if [[ "$(RVERS)" > "2.3.9" ]] ; then \
+		echo "rvers=r-base-core (<= 2.4.9), r-base-core (>= 2.3.9)" >> $(CURDIR)/debian/rkward.substvars ; \
+	else if [[ "$(RVERS)" > "2.2.1.svn37823" ]] ; then \
 		echo "rvers=r-base-core (>= 2.3.0)" >> $(CURDIR)/debian/rkward.substvars ; \
 	else \
 		echo "rvers=r-base-core (<= 2.2.1-6), r-base-core (>= 2.1.0)" >> $(CURDIR)/debian/rkward.substvars ; \

Modified: branches/release_branch_0.4.6/rkward/misc/rksaveobjectchooser.cpp
===================================================================
--- branches/release_branch_0.4.6/rkward/misc/rksaveobjectchooser.cpp	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/misc/rksaveobjectchooser.cpp	2007-02-08 21:07:24 UTC (rev 1363)
@@ -28,10 +28,9 @@
 
 #include "../debug.h"
 
-RKSaveObjectChooser::RKSaveObjectChooser (QWidget *parent, bool allow_overwrite, const QString &initial, const QString &prompt) : QWidget (parent) {
+RKSaveObjectChooser::RKSaveObjectChooser (QWidget *parent, const QString &initial, const QString &prompt) : QWidget (parent) {
 	RK_TRACE (MISC);
 
-	RKSaveObjectChooser::allow_overwrite = allow_overwrite;
 	prev_ok = true;
 	object_exists = false;
 
@@ -45,13 +44,8 @@
 	connect (name_edit, SIGNAL (textChanged (const QString &)), this, SLOT (nameEditChanged (const QString &)));
 	layout->addWidget (name_edit);
 
-	inuse_label = new QLabel (i18n ("The given symbol already exists"), this);
-	inuse_label->hide ();
-	layout->addWidget (inuse_label);
-
-	overwrite_confirm = new QCheckBox (i18n ("Overwrite?"), this);
+	overwrite_confirm = new QCheckBox (this);
 	connect (overwrite_confirm, SIGNAL (stateChanged (int)), this, SLOT (overwriteConfirmChanged (int)));
-	overwrite_confirm->hide ();
 	layout->addWidget (overwrite_confirm);
 
 	nameEditChanged (QString ());	// initialize
@@ -77,7 +71,7 @@
 bool RKSaveObjectChooser::isOk () const {
 	RK_TRACE (MISC);
 
-	return ((!object_exists) || (allow_overwrite && overwrite_confirm->isChecked ()));
+	return ((!object_exists) || (overwrite_confirm->isChecked ()));
 }
 
 void RKSaveObjectChooser::nameEditChanged (const QString &) {
@@ -86,15 +80,13 @@
 	RObject *object = RObjectList::getObjectList ()->findObject (validizedSelectedObjectName ());
 	if (object) {
 		object_exists = true;
-		inuse_label->show ();
-		if (allow_overwrite) overwrite_confirm->show ();
+		overwrite_confirm->setText (i18n ("Overwrite? (The given object name already exists)"));
+		overwrite_confirm->setEnabled (true);
 	} else {
 		object_exists = false;
-		inuse_label->hide ();
-		if (allow_overwrite) {
-			overwrite_confirm->hide ();
-			overwrite_confirm->setChecked (false);
-		}
+		overwrite_confirm->setText (i18n ("Overwrite?"));
+		overwrite_confirm->setEnabled (false);
+		overwrite_confirm->setChecked (false);
 	}
 
 	if (isOk () != prev_ok) {

Modified: branches/release_branch_0.4.6/rkward/misc/rksaveobjectchooser.h
===================================================================
--- branches/release_branch_0.4.6/rkward/misc/rksaveobjectchooser.h	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/misc/rksaveobjectchooser.h	2007-02-08 21:07:24 UTC (rev 1363)
@@ -22,13 +22,12 @@
 
 class QLineEdit;
 class QCheckBox;
-class QLabel;
 
 /** Simple helper widget to select an R symbol name to write something to. */
 class RKSaveObjectChooser : public QWidget {
 	Q_OBJECT
 public:
-	RKSaveObjectChooser (QWidget *parent, bool allow_overwrite, const QString &initial, const QString &prompt = QString::null);
+	RKSaveObjectChooser (QWidget *parent, const QString &initial, const QString &prompt = QString::null);
 	~RKSaveObjectChooser ();
 
 	QString validizedSelectedObjectName ();
@@ -42,13 +41,11 @@
 	void okStatusChanged (bool);
 	void changed ();
 private:
-	bool allow_overwrite;
 	bool object_exists;
 	bool prev_ok;
 
 	QLineEdit *name_edit;
 	QCheckBox *overwrite_confirm;
-	QLabel *inuse_label;
 };
 
 #endif

Modified: branches/release_branch_0.4.6/rkward/plugin/rkinput.cpp
===================================================================
--- branches/release_branch_0.4.6/rkward/plugin/rkinput.cpp	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugin/rkinput.cpp	2007-02-08 21:07:24 UTC (rev 1363)
@@ -19,6 +19,7 @@
 
 #include <qlayout.h>
 #include <qtextedit.h>
+#include <qlineedit.h>
 #include <qlabel.h>
 
 #include <klocale.h>
@@ -30,12 +31,15 @@
 RKInput::RKInput (const QDomElement &element, RKComponent *parent_component, QWidget *parent_widget) : RKComponent (parent_component, parent_widget) {
 	RK_TRACE (PLUGIN);
 
+	textedit = 0;
+	lineedit = 0;
+
 	// get xml-helper
 	XMLHelper *xml = XMLHelper::getStaticHelper ();
 
 	// create and add property
 	addChild ("text", text = new RKComponentPropertyBase (this, false));
-	connect (text, SIGNAL (valueChanged (RKComponentPropertyBase *)), this, SLOT (textChanged ( RKComponentPropertyBase *)));
+	connect (text, SIGNAL (valueChanged (RKComponentPropertyBase *)), this, SLOT (textChanged (RKComponentPropertyBase *)));
 
 	setRequired (xml->getBoolAttribute (element, "required", false, DL_INFO));
 	connect (requirednessProperty (), SIGNAL (valueChanged (RKComponentPropertyBase*)), this, SLOT (requirednessChanged (RKComponentPropertyBase*)));
@@ -45,30 +49,27 @@
 	QLabel *label = new QLabel (xml->getStringAttribute (element, "label", i18n ("Enter text"), DL_INFO), this);
 	vbox->addWidget (label);
 
-	textedit = new QTextEdit (this);
 	int size = xml->getMultiChoiceAttribute (element, "size", "small;medium;large", 1, DL_INFO);
-	int lheight = textedit->fontMetrics ().lineSpacing ();
-	int margin = textedit->height () - textedit->visibleHeight () + textedit->fontMetrics ().descent () + 2;
-	if (size == 0) {
-		textedit->setFixedSize (100, lheight + margin);
-	} else if (size == 1) {
-		textedit->setFixedSize (250, lheight + margin);
-	} else if (size == 2) {
+	if (size == 2) {
+		textedit = new QTextEdit (this);
+		int lheight = textedit->fontMetrics ().lineSpacing ();
+		int margin = textedit->height () - textedit->visibleHeight () + textedit->fontMetrics ().descent () + 2;
 		textedit->setMinimumSize (250, lheight * 4 + margin);
+
+		vbox->addWidget (textedit);
+		connect (textedit, SIGNAL (textChanged ()), SLOT (textChanged ()));
+	} else {
+		lineedit = new QLineEdit (this);
+		vbox->addWidget (lineedit);
+		connect (lineedit, SIGNAL (textChanged (const QString&)), SLOT (textChanged (const QString&)));
 	}
-	if (size < 2) {
-		textedit->setHScrollBarMode (QScrollView::AlwaysOff);
-		textedit->setVScrollBarMode (QScrollView::AlwaysOff);
-		textedit->setTabChangesFocus (true);
-	}
-	vbox->addWidget (textedit);
-	connect (textedit, SIGNAL (textChanged ()), SLOT (textChanged ()));
 
 	vbox->addStretch (1);		// to keep the label attached
 
 	// initialize
 	updating = false;
-	text->setValue (xml->getStringAttribute (element, "initial", QString::null, DL_INFO));
+	// DO NOT replace "" with QString::null, here! it is important, that this is actually an empty string, not a null string.
+	text->setValue (xml->getStringAttribute (element, "initial", "", DL_INFO));
 }
 
 RKInput::~RKInput () {
@@ -86,14 +87,18 @@
 void RKInput::updateColor () {
 	RK_TRACE (PLUGIN);
 
+	QWidget *widget = lineedit;
+	if (!widget) widget = textedit;
+	RK_ASSERT (widget);
+
 	if (isEnabled ()) {
 		if (isSatisfied ()) {
-			textedit->setPaletteBackgroundColor (QColor (255, 255, 255));
+			widget->setPaletteBackgroundColor (QColor (255, 255, 255));
 		} else {
-			textedit->setPaletteBackgroundColor (QColor (255, 0, 0));
+			widget->setPaletteBackgroundColor (QColor (255, 0, 0));
 		}
 	} else {
-		textedit->setPaletteBackgroundColor (QColor (200, 200, 200));
+		widget->setPaletteBackgroundColor (QColor (200, 200, 200));
 	}
 }
 
@@ -109,25 +114,35 @@
 	if (updating) return;
 	updating = true;
 
-	textedit->setText (text->value ());
+	RK_ASSERT (textedit || lineedit);
+	if (textedit) textedit->setText (text->value ());
+	else lineedit->setText (text->value ());
+
 	updateColor ();
 
 	updating = false;
 	changed ();
 }
 
-void RKInput::textChanged () {
+void RKInput::textChanged (const QString &new_text) {
 	RK_TRACE (PLUGIN);
 
 	updating = true;
 
-	text->setValue (textedit->text ());
+	text->setValue (new_text);
 	updateColor ();
 
 	updating = false;
 	changed ();
 }
 
+void RKInput::textChanged () {
+	RK_TRACE (PLUGIN);
+
+	RK_ASSERT (textedit);
+	textChanged (textedit->text ());
+}
+
 bool RKInput::isValid () {
 	RK_TRACE (PLUGIN);
 

Modified: branches/release_branch_0.4.6/rkward/plugin/rkinput.h
===================================================================
--- branches/release_branch_0.4.6/rkward/plugin/rkinput.h	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugin/rkinput.h	2007-02-08 21:07:24 UTC (rev 1363)
@@ -23,6 +23,7 @@
 #include "rkcomponentproperties.h"
 
 class QTextEdit;
+class QLineEdit;
 class QDomElement;
 
 /** A component to enter plain text
@@ -43,6 +44,7 @@
 	bool isValid ();
 public slots:
 	void textChanged ();
+	void textChanged (const QString &new_text);
 	void textChanged (RKComponentPropertyBase *);
 	void requirednessChanged (RKComponentPropertyBase *);
 protected:
@@ -52,6 +54,7 @@
 	void updateColor ();
 	bool updating;
 	QTextEdit *textedit;
+	QLineEdit *lineedit;
 };
 
 #endif

Modified: branches/release_branch_0.4.6/rkward/plugin/rkpluginsaveobject.cpp
===================================================================
--- branches/release_branch_0.4.6/rkward/plugin/rkpluginsaveobject.cpp	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugin/rkpluginsaveobject.cpp	2007-02-08 21:07:24 UTC (rev 1363)
@@ -38,7 +38,7 @@
 
 	QVBoxLayout *vbox = new QVBoxLayout (this, RKGlobals::spacingHint ());
 
-	selector = new RKSaveObjectChooser (this, true, xml->getStringAttribute (element, "initial", i18n ("my.data"), DL_INFO), xml->getStringAttribute (element, "label", i18n ("Save to:"), DL_INFO));
+	selector = new RKSaveObjectChooser (this, xml->getStringAttribute (element, "initial", i18n ("my.data"), DL_INFO), xml->getStringAttribute (element, "label", i18n ("Save to:"), DL_INFO));
 	connect (selector, SIGNAL (changed ()), SLOT (selectionChanged ()));
 	connect (selector, SIGNAL (okStatusChanged (bool)), SLOT (selectionChanged (bool)));
 

Modified: branches/release_branch_0.4.6/rkward/plugin/rkstandardcomponentgui.cpp
===================================================================
--- branches/release_branch_0.4.6/rkward/plugin/rkstandardcomponentgui.cpp	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugin/rkstandardcomponentgui.cpp	2007-02-08 21:07:24 UTC (rev 1363)
@@ -123,6 +123,7 @@
 	
 	// code display
 	code_display = new RKCommandEditorWindow (splitter, true);
+	splitter->setResizeMode (code_display, QSplitter::Stretch);
 	if (enslaved) code_display->hide ();
 }
 

Modified: branches/release_branch_0.4.6/rkward/plugins/Makefile.am
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/Makefile.am	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/Makefile.am	2007-02-08 21:07:24 UTC (rev 1363)
@@ -43,7 +43,6 @@
 	distributions/plot_t_distribution.php \
 	distributions/plot_poisson_distribution.xml \
 	distributions/t_quantiles.xml \
-	distributions/binomial_probabilities.php \
 	distributions/f_probabilities.xml \
 	distributions/normal_probabilities.xml \
 	distributions/f_quantiles.php \
@@ -64,7 +63,6 @@
 	distributions/poisson_probabilities.php \
 	distributions/chi_squared_probabilities.xml \
 	distributions/plot_t_distribution.xml \
-	distributions/binomial_probabilities.xml \
 	distributions/t_probabilities.php \
 	distributions/chi_squared_quantiles.php \
 	distributions/binomial_quantiles.php \

Modified: branches/release_branch_0.4.6/rkward/plugins/analysis/ansari_bradley/ansari_bradley_exact_test.php
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/analysis/ansari_bradley/ansari_bradley_exact_test.php	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/analysis/ansari_bradley/ansari_bradley_exact_test.php	2007-02-08 21:07:24 UTC (rev 1363)
@@ -1,22 +1,28 @@
 <?
-	function preprocess () {
+function preprocess () {
+}
+
+function calculate () {
+	$exact_setting = getRK_val ("exact");
+	if ($exact_setting == "yes") {
+		$exact_opt = ", exact=TRUE";
+	} else if ($exact_setting == "no") {
+		$exact_opt = ", exact=FALSE";
 	}
-	
-	function calculate () {
 ?>
 require(exactRankTests)
 rk.temp.x <- substitute (<? getRK ("x"); ?>)
 rk.temp.y <- substitute (<? getRK ("y"); ?>)
-rk.temp <- ansari.exact (eval (rk.temp.x), eval (rk.temp.y), alternative = c("<? getRK ("alternative"); ?>"), exact = <? getRK ("exact"); ?>, conf.int = <? getRK ("confint"); ?> <?
+rk.temp <- ansari.exact (eval (rk.temp.x), eval (rk.temp.y), alternative = "<? getRK ("alternative"); ?>"<? echo ($exact_opt); ?>, conf.int = <? getRK ("confint"); ?> <?
 if (($conflevel = getRK_val ("conflevel")) != "0.95") echo (", conf.level=" . $conflevel); ?>)
 
 <?
-	}
-	
-	function printout () {
+}
+
+function printout () {
 ?>
 rk.header ("Ansari-Bradley two-sample exact test", 
-	parameters=list ("Comparing", paste (rk.get.description (rk.temp.x, is.substitute=TRUE), "against", rk.get.description (rk.temp.y, is.substitute=TRUE)),"Confidence Interval", "<? getRK ("confint"); ?>", "Confidence Level","Compute exact p-value", "<? getRK ("exact"); ?>"))
+	parameters=list ("Comparing", paste (rk.get.description (rk.temp.x, is.substitute=TRUE), "against", rk.get.description (rk.temp.y, is.substitute=TRUE)),"Confidence Interval", "<? getRK ("confint"); ?>", "Confidence Level",<? getRK ("conflevel"); ?>, "Compute exact p-value", "<? getRK ("exact"); ?>"))
 
 rk.results (list (
 	'Variable Names'=rk.get.description (rk.temp.x, rk.temp.y, is.substitute=TRUE),
@@ -28,11 +34,11 @@
 	'confidence interval percent'=(100 * attr(rk.temp$conf.int, "conf.level")),
 	'confidence interval of difference'=rk.temp$conf.int <? } ?>))
 <?
-	}
-	
-	function cleanup () {
+}
+
+function cleanup () {
 ?>
 rm (list=grep ("^rk.temp", ls (), value=TRUE))
 <?
-	}
+}
 ?>

Modified: branches/release_branch_0.4.6/rkward/plugins/analysis/ansari_bradley/ansari_bradley_exact_test.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/analysis/ansari_bradley/ansari_bradley_exact_test.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/analysis/ansari_bradley/ansari_bradley_exact_test.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -22,7 +22,11 @@
 				</row>
 			</tab>
 			<tab label="Options">
-				<checkbox id="exact" label="compute exact p-value" checked="true" value="NULL" value_unchecked="FALSE"/>
+				<radio id="exact" label="compute exact p-value">
+					<option label="Always" value="yes" />
+					<option label="Automatic" value="automatic" checked="true" />
+					<option label="Never" value="no" />
+				</radio>
 				<frame label="Confidence Interval">
 					<checkbox id="confint" label="compute confidence interval" checked="false" value="TRUE" value_unchecked="FALSE" />
 					<spinbox type="real" id="conflevel" label="confidence level" min="0" max="1" initial="0.95"/>

Modified: branches/release_branch_0.4.6/rkward/plugins/analysis/ansari_bradley/ansari_bradley_test.php
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/analysis/ansari_bradley/ansari_bradley_test.php	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/analysis/ansari_bradley/ansari_bradley_test.php	2007-02-08 21:07:24 UTC (rev 1363)
@@ -1,21 +1,27 @@
 <?
-	function preprocess () {
+function preprocess () {
+}
+
+function calculate () {
+	$exact_setting = getRK_val ("exact");
+	if ($exact_setting == "yes") {
+		$exact_opt = ", exact=TRUE";
+	} else if ($exact_setting == "no") {
+		$exact_opt = ", exact=FALSE";
 	}
-	
-	function calculate () {
 ?>
 rk.temp.x <- substitute (<? getRK ("x"); ?>)
 rk.temp.y <- substitute (<? getRK ("y"); ?>)
-rk.temp <- ansari.test (eval (rk.temp.x), eval (rk.temp.y), alternative = c("<? getRK ("alternative"); ?>"), exact = <? getRK ("exact"); ?>, conf.int = <? getRK ("confint"); ?> <?
+rk.temp <- ansari.test (eval (rk.temp.x), eval (rk.temp.y), alternative = "<? getRK ("alternative"); ?>"<? echo ($exact_opt); ?>, conf.int = <? getRK ("confint"); ?> <?
 if (($conflevel = getRK_val ("conflevel")) != "0.95") echo (", conf.level=" . $conflevel); ?>)
 
 <?
-	}
-	
-	function printout () {
+}
+
+function printout () {
 ?>
 rk.header ("Ansari-Bradley two-sample test",
-	parameters=list ("Comparing", paste (rk.get.description (rk.temp.x, is.substitute=TRUE), "against", rk.get.description (rk.temp.y, is.substitute=TRUE)),"Compute exact p-value", "<? getRK ("confint"); ?>","Confidence Interval", "<? getRK ("exact"); ?>"))
+	parameters=list ("Comparing", paste (rk.get.description (rk.temp.x, is.substitute=TRUE), "against", rk.get.description (rk.temp.y, is.substitute=TRUE)),"Compute exact p-value", "<? getRK ("exact"); ?>","Confidence Interval", "<? getRK ("confint"); ?>"))
 
 rk.results (list (
 	'Variable Names'=rk.get.description (rk.temp.x, rk.temp.y, is.substitute=TRUE),
@@ -27,11 +33,11 @@
 	'confidence interval percent'=(100 * attr(rk.temp$conf.int, "conf.level")),
 	'confidence interval of difference'=rk.temp$conf.int <? } ?>))
 <?
-	}
-	
-	function cleanup () {
+}
+
+function cleanup () {
 ?>
 rm (list=grep ("^rk.temp", ls (), value=TRUE))
 <?
-	}
+}
 ?>

Modified: branches/release_branch_0.4.6/rkward/plugins/analysis/ansari_bradley/ansari_bradley_test.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/analysis/ansari_bradley/ansari_bradley_test.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/analysis/ansari_bradley/ansari_bradley_test.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -22,7 +22,11 @@
 				</row>
 			</tab>
 			<tab label="Options">
-				<checkbox id="exact" label="compute exact p-value" checked="true" value="TRUE" value_unchecked="FALSE"/>
+				<radio id="exact" label="compute exact p-value">
+					<option label="Always" value="yes" />
+					<option label="Automatic" value="automatic" checked="true" />
+					<option label="Never" value="no" />
+				</radio>
 				<frame label="Confidence Interval">
 					<checkbox id="confint" label="Compute confidence interval" checked="false" value="TRUE" value_unchecked="FALSE" />
 					<spinbox type="real" id="conflevel" label="confidence level" min="0" max="1" initial="0.95"/>

Modified: branches/release_branch_0.4.6/rkward/plugins/analysis/wilcoxon/wilcoxon_exact_test.php
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/analysis/wilcoxon/wilcoxon_exact_test.php	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/analysis/wilcoxon/wilcoxon_exact_test.php	2007-02-08 21:07:24 UTC (rev 1363)
@@ -1,19 +1,25 @@
 <?
-	function preprocess () {
+function preprocess () {
+}
+
+function calculate () {
+	$exact_setting = getRK_val ("exact");
+	if ($exact_setting == "yes") {
+		$exact_opt = ", exact=TRUE";
+	} else if ($exact_setting == "no") {
+		$exact_opt = ", exact=FALSE";
 	}
-	
-	function calculate () {
 ?>
 require(exactRankTests)
 rk.temp.x <- substitute (<? getRK ("x"); ?>)
 rk.temp.y <- substitute (<? getRK ("y"); ?>)
-rk.temp <- wilcox.exact (eval (rk.temp.x), eval (rk.temp.y), alternative = c("<? getRK ("alternative"); ?>"), mu = <? getRK ("mu"); ?>, paired = <? getRK ("paired"); ?>, exact = <? getRK ("exact"); ?>, correct = <? getRK ("correct"); ?>, conf.int = <? getRK ("confint"); ?> <?
+rk.temp <- wilcox.exact (eval (rk.temp.x), eval (rk.temp.y), alternative = "<? getRK ("alternative"); ?>", mu = <? getRK ("mu"); ?>, paired = <? getRK ("paired"); ?><? echo ($exact_opt); ?>, correct = <? getRK ("correct"); ?>, conf.int = <? getRK ("confint"); ?> <?
 if (($conflevel = getRK_val ("conflevel")) != "0.95") echo (", conf.level=" . $conflevel); ?>)
 
 <?
-	}
-	
-	function printout () {
+}
+
+function printout () {
 ?>
 rk.header ("Wilcoxon exact test", 
 	parameters=list ("Comparing", paste (rk.get.description (rk.temp.x, is.substitute=TRUE), "against", rk.get.description (rk.temp.y, is.substitute=TRUE)),
@@ -35,11 +41,11 @@
 	'confidence interval of difference'=rk.temp$conf.int,
 	'Difference in Location' = rk.temp$estimate <? } ?>))
 <?
-	}
-	
-	function cleanup () {
+}
+
+function cleanup () {
 ?>
 rm (list=grep ("^rk.temp", ls (), value=TRUE))
 <?
-	}
+}
 ?>

Modified: branches/release_branch_0.4.6/rkward/plugins/analysis/wilcoxon/wilcoxon_exact_test.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/analysis/wilcoxon/wilcoxon_exact_test.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/analysis/wilcoxon/wilcoxon_exact_test.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -28,7 +28,11 @@
 				</frame>
 				<spinbox id="mu" label="mu" initial="0"/>
 				<checkbox id="paired" label="paired test" checked="true" value="FALSE" value_unchecked="TRUE"/>
-				<checkbox id="exact" label="compute exact p-value" checked="true" value="NULL" value_unchecked="FALSE"/>
+				<radio id="exact" label="compute exact p-value">
+					<option label="Always" value="yes" />
+					<option label="Automatic" value="automatic" checked="true" />
+					<option label="Never" value="no" />
+				</radio>
 				<checkbox id="correct" label="apply continuity correction" checked="true" value="TRUE" value_unchecked="FALSE"/>
 			</tab>
 		</tabbook>

Modified: branches/release_branch_0.4.6/rkward/plugins/analysis/wilcoxon/wilcoxon_test.php
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/analysis/wilcoxon/wilcoxon_test.php	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/analysis/wilcoxon/wilcoxon_test.php	2007-02-08 21:07:24 UTC (rev 1363)
@@ -1,18 +1,24 @@
 <?
-	function preprocess () {
+function preprocess () {
+}
+
+function calculate () {
+	$exact_setting = getRK_val ("exact");
+	if ($exact_setting == "yes") {
+		$exact_opt = ", exact=TRUE";
+	} else if ($exact_setting == "no") {
+		$exact_opt = ", exact=FALSE";
 	}
-	
-	function calculate () {
 ?>
 rk.temp.x <- substitute (<? getRK ("x"); ?>)
 rk.temp.y <- substitute (<? getRK ("y"); ?>)
-rk.temp <- wilcox.test (eval (rk.temp.x), eval (rk.temp.y), alternative = c("<? getRK ("alternative"); ?>"), mu = <? getRK ("mu"); ?>, paired = <? getRK ("paired"); ?>, exact = <? getRK ("exact"); ?>, correct = <? getRK ("correct"); ?>, conf.int = <? getRK ("confint"); ?> <?
+rk.temp <- wilcox.test (eval (rk.temp.x), eval (rk.temp.y), alternative = "<? getRK ("alternative"); ?>", mu = <? getRK ("mu"); ?>, paired = <? getRK ("paired"); ?><? echo ($exact_opt); ?>, correct = <? getRK ("correct"); ?>, conf.int = <? getRK ("confint"); ?> <?
 if (($conflevel = getRK_val ("conflevel")) != "0.95") echo (", conf.level=" . $conflevel); ?>)
 
 <?
-	}
-	
-	function printout () {
+}
+
+function printout () {
 ?>
 rk.header ("Wilcoxon Test",
 	parameters=list ("Comparing", paste (rk.get.description (rk.temp.x, is.substitute=TRUE), "against", rk.get.description (rk.temp.y, is.substitute=TRUE)),
@@ -34,11 +40,11 @@
 	'confidence interval of difference'=rk.temp$conf.int,
 	'Difference in Location' = rk.temp$estimate <? } ?>))
 <?
-	}
-	
-	function cleanup () {
+}
+
+function cleanup () {
 ?>
 rm (list=grep ("^rk.temp", ls (), value=TRUE))
 <?
-	}
+}
 ?>

Modified: branches/release_branch_0.4.6/rkward/plugins/analysis/wilcoxon/wilcoxon_test.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/analysis/wilcoxon/wilcoxon_test.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/analysis/wilcoxon/wilcoxon_test.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -28,7 +28,11 @@
 				</frame>
 				<spinbox id="mu" label="mu" initial="0"/>
 				<checkbox id="paired" label="paired test" checked="true" value="FALSE" value_unchecked="TRUE"/>
-				<checkbox id="exact" label="compute exact p-value" checked="true" value="TRUE" value_unchecked="FALSE"/>
+				<radio id="exact" label="compute exact p-value">
+					<option label="Always" value="yes" />
+					<option label="Automatic" value="automatic" checked="true" />
+					<option label="Never" value="no" />
+				</radio>
 				<checkbox id="correct" label="apply continuity correction" checked="true" value="TRUE" value_unchecked="FALSE"/>
 			</tab>
 		</tabbook>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/beta_probabilities.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/beta_probabilities.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/beta_probabilities.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -8,10 +8,10 @@
          <tab label="Beta probability" >
             <row>
                <column>
-                  <input initial="0.95" id="q" label="Vector of quantiles"/>
+                  <input required="true" initial="0.95" id="q" label="Vector of quantiles"/>
                   <spinbox type="real" initial="1" id="shape1" min="0" label="Shape 1"/>
                   <spinbox type="real" initial="1" id="shape2" min="0" label="Shape 2"/>
-                  <spinbox type="real" initial="1" id="ncp" label="non-centrality parameter (ncp)"/>
+                  <spinbox type="real" min="0" initial="0" id="ncp" label="non-centrality parameter (ncp)"/>
                </column>
                <column>
                   <row>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/beta_quantiles.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/beta_quantiles.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/beta_quantiles.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -8,10 +8,10 @@
          <tab label="Beta quantiles" >
             <row>
                <column>
-                  <input initial="0.95" id="p" label="Vector of probabilities"/>
+                  <input required="true" initial="0.95" id="p" label="Vector of probabilities"/>
                   <spinbox default_precision="2" type="real" initial="1" id="shape1" min="0" label="Shape 1"/>
                   <spinbox default_precision="2" type="real" initial="1" id="shape2" min="0" label="Shape 2"/>
-                  <spinbox default_precision="2" type="real" initial="1" id="ncp" label="non-centrality parameter (ncp)"/>
+                  <spinbox default_precision="2" type="real" min="0" initial="0" id="ncp" label="non-centrality parameter (ncp)"/>
                </column>
                <column>
                   <row>

Deleted: branches/release_branch_0.4.6/rkward/plugins/distributions/binomial_probabilities.php
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/binomial_probabilities.php	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/binomial_probabilities.php	2007-02-08 21:07:24 UTC (rev 1363)
@@ -1,27 +0,0 @@
-<?
-function preprocess () {
-}
-
-function calculate () {
-	global $q;
-	$q = "c (" . preg_replace ("/[, ]+/", ", ", getRK_val ("q")) . ")";
-?>
-rk.temp <- (pbinom (q = <? echo ($q); ?>, size = <? getRK ("size"); ?>, prob = <? getRK ("prob"); ?>, <? getRK ("tail"); ?>))
-<?
-}
-
-function printout () {
-	global $q;
-	//produce the output
-?>
-rk.header ("Binomial tail probability", list ("Variable value", "<? echo ($q); ?>", "Binomial trials", "<? getRK ("size"); ?>", "Probability of success", "<? getRK ("prob"); ?>", "Tail", "<? getRK ("tail"); ?>"));
-rk.results (rk.temp, titles="Binomial tail probability")
-<?
-}
-
-function cleanup () {
-?>
-rm (rk.temp)
-<?
-}
-?>

Deleted: branches/release_branch_0.4.6/rkward/plugins/distributions/binomial_probabilities.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/binomial_probabilities.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/binomial_probabilities.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -1,26 +0,0 @@
-<!DOCTYPE rkplugin>
-<!--This is the "Binomial tail probability" plugin-->
-
-<document>
-	<code file="binomial_probabilities.php" />
-	<dialog label="Binomial tail probability" >
-		<tabbook>
-			<tab label="Binomial tail probability" >
-				<row>
-					<column>
-						<input initial="0.95" id="q" label="Vector of quantiles"/>
-						<spinbox default_precision="2" type="real" initial="1" id="size" min="0" label="Binomial trials"/>
-						<spinbox default_precision="2" type="real" initial="0.5" id="prob" min="0" max="1" label="Probability of success"/>
-					</column>
-					<column>
-						<radio id="tail" label="Choose type of probability" >
-							<option value="lower.tail=TRUE" label="lower tail" />
-							<option value="lower.tail=FALSE" label="upper tail" />
-						</radio>
-						<stretch/>
-					</column>
-				</row>
-			</tab>
-		</tabbook>
-	</dialog>
-</document>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/binomial_quantiles.php
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/binomial_quantiles.php	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/binomial_quantiles.php	2007-02-08 21:07:24 UTC (rev 1363)
@@ -16,10 +16,10 @@
 ?>
 rk.header ("Binomial quantile", list ("Vector of quantiles probabilities", "<? echo ($p); ?>", "Binomial trials", "<? getRK ("size"); ?>", "Probability of success", "<? getRK ("prob"); ?>", "Tail", "<? getRK ("tail"); ?>", "Probabilities p are given as", "<? getRK ("logp"); ?>"));
 rk.results (rk.temp, titles="Binomial quantiles")
+<?
 }
 
-function cleanup () {
-?>
+function cleanup () { ?>
 rm (rk.temp)
 <?
 }

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/binomial_quantiles.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/binomial_quantiles.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/binomial_quantiles.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -8,8 +8,8 @@
       <tab label="Binomial quantile" >
           <row>
             <column>
-              <input initial="0.95" id="p" min="0" max="1" label="Vector of probabilities"/>
-              <spinbox default_precision="2" type="real" initial="0" id="size" min="1" label="Binomial trials"/>
+              <input required="true" initial="0.95" id="p" min="0" max="1" label="Vector of probabilities"/>
+              <spinbox default_precision="2" type="real" initial="1" id="size" min="1" label="Binomial trials"/>
               <spinbox default_precision="2" type="real" initial="0.5" id="prob" min="0" max="1" label="Probability of success"/>
             </column>
             <column>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/binomial_tail_probabilities.php
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/binomial_tail_probabilities.php	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/binomial_tail_probabilities.php	2007-02-08 21:07:24 UTC (rev 1363)
@@ -15,10 +15,10 @@
 ?>
 rk.header ("Binomial tail probability", list ("Vector of quantiles", "<? echo ($q); ?>", "Binomial trials", "<? getRK ("size"); ?>", "Probability of success", "<? getRK ("prob"); ?>", "Tail", "<? getRK ("tail"); ?>", "Probabilities p are given as", "<? getRK ("logp"); ?>"));
 rk.results (rk.temp, titles="Binomial tail probabilities")
+<?
 }
 
-function cleanup () {
-?>
+function cleanup () { ?>
 rm (rk.temp)
 <?
 }

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/binomial_tail_probabilities.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/binomial_tail_probabilities.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/binomial_tail_probabilities.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -8,7 +8,7 @@
       <tab label="Binomial tail probability" >
           <row>
             <column>
-              <input initial="0.95" id="q" label="Vector of quantiles"/>
+              <input required="true" initial="0.95" id="q" label="Vector of quantiles"/>
               <spinbox default_precision="2" type="real" initial="1" id="size" min="0" label="Binomial trials"/>
               <spinbox default_precision="2" type="real" initial="0.5" id="prob" min="0" max="1" label="Probability of success"/>
             </column>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/cauchy_probabilities.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/cauchy_probabilities.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/cauchy_probabilities.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -8,7 +8,7 @@
      <tab label="Cauchy probabilities" >
           <row>
             <column>
-                <input initial="0.95" id="q" label="Vector of quantiles"/>
+                <input required="true" initial="0.95" id="q" label="Vector of quantiles"/>
                 <spinbox default_precision="2" type="real" initial="0" id="location" label="Location"/>
                 <spinbox default_precision="2" type="real" min="0" initial="1" id="scale" label="Scale"/>
             </column>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/cauchy_quantiles.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/cauchy_quantiles.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/cauchy_quantiles.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -8,7 +8,7 @@
       <tab label="Cauchy quantiles" >
           <row>
             <column>
-                <input initial="0.95" id="p" label="Vector of probabilities"/>
+                <input required="true" initial="0.95" id="p" label="Vector of probabilities"/>
                 <spinbox default_precision="2" type="real" initial="0" id="location" label="Location"/>
                 <spinbox default_precision="2" type="real" min="0" initial="1" id="scale" label="Scale"/>
             </column>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/chi_squared_probabilities.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/chi_squared_probabilities.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/chi_squared_probabilities.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -7,7 +7,7 @@
 		<tab label="Chi-squared probability" >
 			<row>
 				<column>
-					<input initial="0.95" id="q" label="Vector of quantiles"/>
+					<input required="true" initial="0.95" id="q" label="Vector of quantiles"/>
 					<spinbox default_precision="2" type="real" initial="1" id="df" min="0" label="Degrees of Freedom"/>
 					<spinbox default_precision="2" type="real" initial="0" id="ncp" min="0" label="non-centrality parameter"/>
 				</column>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/chi_squared_quantiles.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/chi_squared_quantiles.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/chi_squared_quantiles.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -7,7 +7,7 @@
 			<tab label="Chi-squared quantile" >
 				<row>
 					<column>
-						<input initial="0.95" id="p" min="0" max="1" label="Vector of probabilities"/>
+						<input required="true" initial="0.95" id="p" min="0" max="1" label="Vector of probabilities"/>
 						<spinbox default_precision="2" type="real" initial="1" id="df" min="0" label="Degrees of Freedom"/>
 						<spinbox default_precision="2" type="real" initial="0" id="ncp" min="0" label="non-centrality parameter"/>
 					</column>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/exponential_probabilities.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/exponential_probabilities.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/exponential_probabilities.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -8,7 +8,7 @@
      <tab label="Exponential probabilities" >
           <row>
             <column>
-                <input initial="0.95" id="q" label="Vector of quantiles"/>
+                <input required="true" initial="0.95" id="q" label="Vector of quantiles"/>
                 <spinbox default_precision="2" type="real" min="0" initial="1" id="rate" label="vector of rates"/>
             </column>
             <column>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/exponential_quantiles.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/exponential_quantiles.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/exponential_quantiles.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -8,7 +8,7 @@
      <tab label="Exponential quantiles" >
           <row>
             <column>
-              <input initial="0.95" id="q" label="Vector of probabilities"/>
+              <input required="true" initial="0.95" id="p" label="Vector of probabilities"/>
               <spinbox default_precision="2" type="real" min="0" initial="1" id="rate" label="vector of rates"/>
             </column>
             <column>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/f_probabilities.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/f_probabilities.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/f_probabilities.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -7,10 +7,10 @@
       <tab label="F probability" >
           <row>
             <column>
-              <input initial="0.95" id="q" label="Vector of quantiles"/>
+              <input required="true" initial="0.95" id="q" label="Vector of quantiles"/>
               <spinbox default_precision="2" type="real" initial="1" id="df1" min="0" label="Numerator degree of Freedom"/>
               <spinbox default_precision="2" type="real" initial="1" id="df2" min="0" label="Denominator degree of Freedom"/>
-              <spinbox default_precision="2" type="real" initial="0" id="ncp" min="0" label="non-centrality parameter"/>	
+              <spinbox default_precision="2" type="real" initial="0" id="ncp" min="0" label="non-centrality parameter"/>
             </column>
             <column>
               <radio id="tail" label="Choose type of probability" >

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/f_quantiles.php
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/f_quantiles.php	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/f_quantiles.php	2007-02-08 21:07:24 UTC (rev 1363)
@@ -6,14 +6,14 @@
 	global $p;
 	$p = "c (" . preg_replace ("/[, ]+/", ", ", getRK_val ("p")) . ")";
 ?>
-rk.temp <- (qf (p = <? echo ($p); ?>, df1 = <? getRK ("df1"); ?>, df2 = <? getRK ("df2"); ?>, <? getRK ("tail"); ?>))
+rk.temp <- (qf (p = <? echo ($p); ?>, df1 = <? getRK ("df1"); ?>, df2 = <? getRK ("df2"); ?>, ncp = <? getRK ("ncp"); ?>, <? getRK ("tail"); ?>))
 <?
 }
 
 function printout () {
 	global $p;
 ?>
-rk.header ("F quantile", list ("Vector of probabilities", "<? echo ($p); ?>", "Numerator degrees of freedom", "<? getRK ("df1"); ?>", "Denominator degrees of freedom", "<? getRK ("df2"); ?>", "Tail", "<? getRK ("tail"); ?>"));
+rk.header ("F quantile", list ("Vector of probabilities", "<? echo ($p); ?>", "Numerator degrees of freedom", "<? getRK ("df1"); ?>", "Denominator degrees of freedom", "<? getRK ("df2"); ?>", "non-centrality parameter", "<? getRK ("ncp"); ?>", "Tail", "<? getRK ("tail"); ?>"));
 rk.results (rk.temp, titles="F quantiles")
 <?
 }

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/f_quantiles.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/f_quantiles.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/f_quantiles.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -7,9 +7,10 @@
       <tab label="F quantile" >
           <row>
             <column>
-              <input initial="0.95" id="p" min="0" max="1" label="Vector of probabilities"/>
+              <input required="true" initial="0.95" id="p" min="0" max="1" label="Vector of probabilities"/>
               <spinbox default_precision="2" type="real" initial="1" id="df1" min="0" label="Numerator degree of Freedom"/>
               <spinbox default_precision="2" type="real" initial="1" id="df2" min="0" label="Denominator degree of Freedom"/>
+	      <spinbox default_precision="2" type="real" initial="0" id="ncp" min="0" label="non-centrality parameter"/>	
             </column>
             <column>
               <radio id="tail" label="Choose type of probability" >

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/gamma_probabilities.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/gamma_probabilities.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/gamma_probabilities.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -8,9 +8,9 @@
       <tab label="Gamma probabilities" >
           <row>
             <column>
-                <input initial="0.95" id="q" label="Vector of quantiles"/>
+                <input required="true" initial="0.95" id="q" label="Vector of quantiles"/>
                 <spinbox default_precision="2" type="real" min="0" initial="1" id="shape" label="Shape"/>
-                <spinbox default_precision="2" type="real" initial="0" id="rate" label="Rate"/>
+                <spinbox default_precision="2" type="real" min="0" initial="1" id="rate" label="Rate"/>
             </column>
             <column>
                 <row>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/gamma_quantiles.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/gamma_quantiles.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/gamma_quantiles.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -8,9 +8,9 @@
      <tab label="Gamma quantiles" >
           <row>
             <column>
-                <input initial="0.95" id="p" label="Vector of probabilities"/>
+                <input required="true" initial="0.95" id="p" label="Vector of probabilities"/>
                 <spinbox default_precision="2" type="real" min="0" initial="1" id="shape" label="Shape"/>
-                <spinbox default_precision="2" type="real" initial="0" id="rate" label="Rate"/>
+                <spinbox default_precision="2" type="real" min="0" initial="1" id="rate" label="Rate"/>
             </column>
             <column>
                 <row>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/geom_probabilities.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/geom_probabilities.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/geom_probabilities.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -8,7 +8,7 @@
       <tab label="Geometric probabilities" >
           <row>
             <column>
-                <input initial="0.95" id="q" label="Vector of quantiles"/>
+                <input required="true" initial="0.95" id="q" label="Vector of quantiles"/>
                 <spinbox default_precision="2" type="real" min="0" initial="0.5" max="1" id="prob" label="probability of success in each trial"/>
             </column>
             <column>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/geom_quantiles.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/geom_quantiles.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/geom_quantiles.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -8,7 +8,7 @@
      <tab label="Geometric quantiles" >
           <row>
             <column>
-              <input initial="0.95" id="p" label="Vector of probabilities"/>
+              <input required="true" initial="0.95" id="p" label="Vector of probabilities"/>
               <spinbox default_precision="2" type="real" min="0" initial="0.5" max="1" id="prob" label="probability of success in each trial"/>
             </column>
             <column>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/gumbel_probabilities.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/gumbel_probabilities.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/gumbel_probabilities.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -8,7 +8,7 @@
      <tab label="Gumbel probabilities" >
           <row>
             <column>
-                <input initial="0.95" id="q" label="Vector of quantiles"/>
+                <input required="true" initial="0.95" id="q" label="Vector of quantiles"/>
                 <spinbox default_precision="2" type="real" min="0" initial="1" id="shape" label="Shape"/>
                 <spinbox default_precision="2" type="real" min="1" initial="1" id="scale" label="Scale"/>
             </column>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/gumbel_quantiles.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/gumbel_quantiles.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/gumbel_quantiles.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -8,7 +8,7 @@
      <tab label="Gumbel quantiles" >
           <row>
             <column>
-                <input initial="0.95" id="p" label="Vector of probabilities"/>
+                <input required="true" initial="0.95" id="p" label="Vector of probabilities"/>
                 <spinbox default_precision="2" type="real" min="0" initial="1" id="shape" label="Shape"/>
                 <spinbox default_precision="2" type="real" min="1" initial="1" id="scale" label="Scale"/>
             </column>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/hypergeometric_probabilities.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/hypergeometric_probabilities.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/hypergeometric_probabilities.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -8,7 +8,7 @@
      <tab label="Hypergeometric probabilities" >
           <row>
             <column>
-                <input initial="0.95" id="q" label="Vector of quantiles"/>
+                <input required="true" initial="0.95" id="q" label="Vector of quantiles"/>
                 <spinbox type="integer" min="0" initial="1" id="m" label="m (Number of white balls in the urn)"/>
                 <spinbox type="integer" min="0" initial="1" id="n" label="n (Number of black balls in the urn)"/>
                 <spinbox type="integer" min="0" initial="1" id="k" label="k (Number of balls drawn from the urn)"/>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/hypergeometric_quantiles.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/hypergeometric_quantiles.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/hypergeometric_quantiles.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -8,7 +8,7 @@
      <tab label="Hypergeometric quantiles" >
           <row>
             <column>
-                <input initial="0.95" id="p" label="Vector of probabilities"/>
+                <input required="true" initial="0.95" id="p" label="Vector of probabilities"/>
                 <spinbox type="integer" min="0" initial="1" id="m" label="m (Number of white balls in the urn)"/>
                 <spinbox type="integer" min="0" initial="1" id="n" label="n (Number of black balls in the urn)"/>
                 <spinbox type="integer" min="0" initial="1" id="k" label="k (Number of balls drawn from the urn)"/>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/log_normal_probabilities.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/log_normal_probabilities.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/log_normal_probabilities.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -7,9 +7,9 @@
          <tab label="Log Normal probabilities" >
             <row>
                <column>
-                  <input initial="0.95" id="q" label="Vector of quantiles"/>
+                  <input required="true" initial="0.95" id="q" label="Vector of quantiles"/>
                   <spinbox default_precision="2" type="real" initial="0" id="meanlog" label="meanlog (mean of the distribution on the log scale)"/>
-                  <spinbox default_precision="2" type="real" initial="1" id="sdlog" label="sdlog (standard deviation of the distribution on the log scale)"/>
+                  <spinbox default_precision="2" type="real" min="0.000001" initial="1" id="sdlog" label="sdlog (standard deviation of the distribution on the log scale)"/>
                </column>
                <column>
                   <row>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/log_normal_quantiles.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/log_normal_quantiles.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/log_normal_quantiles.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -7,9 +7,9 @@
          <tab label="Log Normal quantiles" >
             <row>
                <column>
-                  <input initial="0.95" id="p" label="Vector of probabilities"/>
+                  <input required="true" initial="0.95" id="p" label="Vector of probabilities"/>
                   <spinbox default_precision="2" type="real" initial="0" id="meanlog" label="meanlog (mean of the distribution on the log scale)"/>
-                  <spinbox default_precision="2" type="real" initial="1" id="sdlog" label="sdlog (standard deviation of the distribution on the log scale)"/>
+                  <spinbox default_precision="2" type="real" min="0" initial="1" id="sdlog" label="sdlog (standard deviation of the distribution on the log scale)"/>
                </column>
                <column>
                   <row>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/logistic_probabilities.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/logistic_probabilities.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/logistic_probabilities.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -8,9 +8,9 @@
      <tab label="Logistic probabilities" >
           <row>
             <column>
-                <input initial="0.95" id="q" label="Vector of quantiles"/>
+                <input required="true" initial="0.95" id="q" label="Vector of quantiles"/>
                 <spinbox default_precision="2" type="real" initial="1" id="location" label="Location"/>
-                <spinbox default_precision="2" type="real" min="1" initial="1" id="scale" label="Scale"/>
+                <spinbox default_precision="2" type="real" min="0" initial="1" id="scale" label="Scale"/>
             </column>
             <column>
                 <row>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/logistic_quantiles.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/logistic_quantiles.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/logistic_quantiles.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -8,9 +8,9 @@
      <tab label="Logistic quantiles" >
           <row>
             <column>
-                <input initial="0.95" id="p" label="Vector of probabilities"/>
+                <input required="true" initial="0.95" id="p" label="Vector of probabilities"/>
                 <spinbox default_precision="2" type="real" initial="1" id="location" label="Location"/>
-                <spinbox default_precision="2" type="real" min="1" initial="1" id="scale" label="Scale"/>
+                <spinbox default_precision="2" type="real" min="0" initial="1" id="scale" label="Scale"/>
             </column>
             <column>
                 <row>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/negative_binomial_probabilities.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/negative_binomial_probabilities.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/negative_binomial_probabilities.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -8,9 +8,9 @@
      <tab label="Negative Binomial probabilities" >
           <row>
             <column>
-                <input initial="0.95" id="q" label="Vector of quantiles"/>
-                <spinbox default_precision="2" type="real" min="0" initial="1" id="size" label="Target for number of successful trials"/>
-                <spinbox default_precision="2" type="real" min="0" initial="1" max="1" id="prob" label="Probability of success in each trial"/>
+                <input required="true" initial="0.95" id="q" label="Vector of quantiles"/>
+                <spinbox type="integer" min="0" initial="1" id="size" label="Target for number of successful trials"/>
+                <spinbox default_precision="2" type="real" min="0" initial="0.5" max="1" id="prob" label="Probability of success in each trial"/>
             </column>
             <column>
                 <row>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/negative_binomial_quantiles.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/negative_binomial_quantiles.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/negative_binomial_quantiles.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -8,9 +8,9 @@
      <tab label="Negative Binomial quantiles" >
           <row>
             <column>
-                <input initial="0.95" id="p" label="Vector of probabilities"/>
-                <spinbox default_precision="2" type="real" min="0" initial="1" id="size" label="Target for number of successful trials"/>
-                <spinbox default_precision="2" type="real" min="0" initial="1" max="1" id="prob" label="Probability of success in each trial"/>
+                <input required="true" initial="0.95" id="p" label="Vector of probabilities"/>
+                <spinbox type="integer" min="0" initial="1" id="size" label="Target for number of successful trials"/>
+                <spinbox default_precision="2" type="real" min="0" initial="0.5" max="1" id="prob" label="Probability of success in each trial"/>
             </column>
             <column>
                 <row>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/normal_probabilities.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/normal_probabilities.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/normal_probabilities.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -7,9 +7,9 @@
       <tab label="Normal probabilities" >
           <row>
             <column>
-             <input initial="0.95" id="q" label="Vector of quantiles"/>
+             <input required="true" initial="0.95" id="q" label="Vector of quantiles"/>
              <spinbox default_precision="2" type="real" initial="0" id="mean" label="mu (mean)"/>
-             <spinbox default_precision="2" type="real" initial="1" id="sd" label="sigma (standard deviation)"/>
+	     <spinbox default_precision="2" type="real" min="0" initial="1" id="sd" label="sigma (standard deviation)"/>
             </column>
             <column>
               <row>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/normal_quantiles.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/normal_quantiles.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/normal_quantiles.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -7,9 +7,9 @@
       <tab label="Normal quantile" >
           <row>
             <column>
-              <input initial="0.95" id="p" min="0" max="1" label="probability [0,1]" />
+              <input required="true" initial="0.95" id="p" min="0" max="1" label="probability [0,1]" />
               <spinbox default_precision="2" type="real" initial="0" id="mean" label="mu (mean)" />
-              <spinbox default_precision="2" type="real" initial="1" id="sd" label="sigma (standard deviation)" />
+              <spinbox default_precision="2" type="real" min="0" initial="1" id="sd" label="sigma (standard deviation)" />
             </column>
             <column>
              <row>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/plot_beta_distribution.rkh
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/plot_beta_distribution.rkh	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/plot_beta_distribution.rkh	2007-02-08 21:07:24 UTC (rev 1363)
@@ -27,7 +27,6 @@
 	<related>
 		<ul>
 			<li><link href="rkward://rhelp/Beta"/></li>
-			<li><link href="rkward://component/plot_beta_distribution"/></li>
 			<li><link href="rkward://component/plot_options"/></li>
 			<li><link href="rkward://rhelp/curve"/></li>
 		</ul>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/plot_binomial_distribution.rkh
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/plot_binomial_distribution.rkh	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/plot_binomial_distribution.rkh	2007-02-08 21:07:24 UTC (rev 1363)
@@ -5,7 +5,7 @@
 	</summary>
 
 	<usage>
-Choose appropriate values for the various parameters of the distribution and select the type of function. The "Submit" button will export the plot to the "Output" window. To dynamically visualise the plot check the "Preview" box. The default values should produce a plot of the "standard" distribution.
+Choose appropriate values for the various parameters of the distribution and select the type of function. The "Submit" button will export the plot to the "Output" window. To dynamically visualise the plot check the "Preview" box.
 	</usage>
 
 	<settings>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/plot_cauchy_distribution.rkh
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/plot_cauchy_distribution.rkh	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/plot_cauchy_distribution.rkh	2007-02-08 21:07:24 UTC (rev 1363)
@@ -5,7 +5,7 @@
 	</summary>
 
 	<usage>
-Choose appropriate values for the various parameters of the distribution and select the type of function. The "Submit" button will export the plot to the "Output" window. To dynamically visualise the plot check the "Preview" box. The default values should produce a plot of the "standard" distribution.
+Choose appropriate values for the various parameters of the distribution and select the type of function. The "Submit" button will export the plot to the "Output" window. To dynamically visualise the plot check the "Preview" box.
 	</usage>
 
 	<settings>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/plot_chi_squared_distribution.rkh
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/plot_chi_squared_distribution.rkh	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/plot_chi_squared_distribution.rkh	2007-02-08 21:07:24 UTC (rev 1363)
@@ -5,7 +5,7 @@
 	</summary>
 
 	<usage>
-Choose appropriate values for the various parameters of the distribution and select the type of function. The "Submit" button will export the plot to the "Output" window. To dynamically visualise the plot check the "Preview" box. The default values should produce a plot of the "standard" distribution.
+Choose appropriate values for the various parameters of the distribution and select the type of function. The "Submit" button will export the plot to the "Output" window. To dynamically visualise the plot check the "Preview" box.
 	</usage>
 
 	<settings>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/plot_chi_squared_distribution.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/plot_chi_squared_distribution.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/plot_chi_squared_distribution.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -13,12 +13,12 @@
 				<row>
 					<column>
 						<row>
-							<spinbox default_precision="4" type="real" id="n" initial="100" label="Number of Observations" />
+							<spinbox type="integer" id="n" initial="100" min="1" label="Number of Observations" />
 						</row>
 						<row>
 							<frame label="Range" >
-								<spinbox default_precision="2" type="real" id="min" initial="0.30" label="Lower quantile" />
-								<spinbox default_precision="2" type="real" id="max" initial="24.10" label="Upper quantile" />
+								<spinbox default_precision="2" type="real" id="min" min="0" initial="0.30" label="Lower quantile" />
+								<spinbox default_precision="2" type="real" id="max" min="0" initial="24.10" label="Upper quantile" />
 							</frame>
 						</row>
 							<row>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/plot_exponential_distribution.rkh
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/plot_exponential_distribution.rkh	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/plot_exponential_distribution.rkh	2007-02-08 21:07:24 UTC (rev 1363)
@@ -5,7 +5,7 @@
 	</summary>
 
 	<usage>
-Choose appropriate values for the various parameters of the distribution and select the type of function. The "Submit" button will export the plot to the "Output" window. To dynamically visualise the plot check the "Preview" box. The default values should produce a plot of the "standard" distribution.
+Choose appropriate values for the various parameters of the distribution and select the type of function. The "Submit" button will export the plot to the "Output" window. To dynamically visualise the plot check the "Preview" box.
 	</usage>
 
 	<settings>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/plot_exponential_distribution.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/plot_exponential_distribution.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/plot_exponential_distribution.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -18,7 +18,7 @@
 						<row>
 							<frame label="Range" >
 								<spinbox default_precision="2" type="real" id="min" initial="0" min="0" label="Lower quantile" />
-								<spinbox default_precision="2" type="real" id="max" initial="10" label="Upper quantile" />
+								<spinbox default_precision="2" type="real" id="max" initial="10" min="0" label="Upper quantile" />
 							</frame>
 						</row>
 						<row>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/plot_f_distribution.rkh
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/plot_f_distribution.rkh	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/plot_f_distribution.rkh	2007-02-08 21:07:24 UTC (rev 1363)
@@ -5,7 +5,7 @@
 	</summary>
 
 	<usage>
-Choose appropriate values for the various parameters of the distribution and select the type of function. The "Submit" button will export the plot to the "Output" window. To dynamically visualise the plot check the "Preview" box. The default values should produce a plot of the "standard" distribution.
+Choose appropriate values for the various parameters of the distribution and select the type of function. The "Submit" button will export the plot to the "Output" window. To dynamically visualise the plot check the "Preview" box.
 	</usage>
 
 	<settings>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/plot_gamma_distribution.rkh
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/plot_gamma_distribution.rkh	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/plot_gamma_distribution.rkh	2007-02-08 21:07:24 UTC (rev 1363)
@@ -5,7 +5,7 @@
 	</summary>
 
 	<usage>
-Choose appropriate values for the various parameters of the distribution and select the type of function. The "Submit" button will export the plot to the "Output" window. To dynamically visualise the plot check the "Preview" box. The default values should produce a plot of the "standard" distribution.
+Choose appropriate values for the various parameters of the distribution and select the type of function. The "Submit" button will export the plot to the "Output" window. To dynamically visualise the plot check the "Preview" box.
 	</usage>
 
 	<settings>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/plot_geometric_distribution.rkh
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/plot_geometric_distribution.rkh	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/plot_geometric_distribution.rkh	2007-02-08 21:07:24 UTC (rev 1363)
@@ -5,7 +5,7 @@
 	</summary>
 
 	<usage>
-Choose appropriate values for the various parameters of the distribution and select the type of function. The "Submit" button will export the plot to the "Output" window. To dynamically visualise the plot check the "Preview" box. The default values should produce a plot of the "standard" distribution.
+Choose appropriate values for the various parameters of the distribution and select the type of function. The "Submit" button will export the plot to the "Output" window. To dynamically visualise the plot check the "Preview" box.
 	</usage>
 
 	<settings>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/plot_hypergeometric_distribution.rkh
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/plot_hypergeometric_distribution.rkh	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/plot_hypergeometric_distribution.rkh	2007-02-08 21:07:24 UTC (rev 1363)
@@ -5,7 +5,7 @@
 	</summary>
 
 	<usage>
-Choose appropriate values for the various parameters of the distribution and select the type of function. The "Submit" button will export the plot to the "Output" window. To dynamically visualise the plot check the "Preview" box. The default values should produce a plot of the "standard" distribution.
+Choose appropriate values for the various parameters of the distribution and select the type of function. The "Submit" button will export the plot to the "Output" window. To dynamically visualise the plot check the "Preview" box.
 	</usage>
 
 	<settings>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/plot_logistic_distribution.rkh
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/plot_logistic_distribution.rkh	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/plot_logistic_distribution.rkh	2007-02-08 21:07:24 UTC (rev 1363)
@@ -5,7 +5,7 @@
 	</summary>
 
 	<usage>
-Choose appropriate values for the various parameters of the distribution and select the type of function. The "Submit" button will export the plot to the "Output" window. To dynamically visualise the plot check the "Preview" box. The default values should produce a plot of the "standard" distribution.
+Choose appropriate values for the various parameters of the distribution and select the type of function. The "Submit" button will export the plot to the "Output" window. To dynamically visualise the plot check the "Preview" box.
 	</usage>
 
 	<settings>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/plot_lognormal_distribution.rkh
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/plot_lognormal_distribution.rkh	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/plot_lognormal_distribution.rkh	2007-02-08 21:07:24 UTC (rev 1363)
@@ -5,7 +5,7 @@
 	</summary>
 
 	<usage>
-Choose appropriate values for the various parameters of the distribution and select the type of function. The "Submit" button will export the plot to the "Output" window. To dynamically visualise the plot check the "Preview" box. The default values should produce a plot of the "standard" distribution.
+Choose appropriate values for the various parameters of the distribution and select the type of function. The "Submit" button will export the plot to the "Output" window. To dynamically visualise the plot check the "Preview" box.
 	</usage>
 
 	<settings>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/plot_negbinomial_distribution.rkh
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/plot_negbinomial_distribution.rkh	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/plot_negbinomial_distribution.rkh	2007-02-08 21:07:24 UTC (rev 1363)
@@ -5,7 +5,7 @@
 	</summary>
 
 	<usage>
-Choose appropriate values for the various parameters of the distribution and select the type of function. The "Submit" button will export the plot to the "Output" window. To dynamically visualise the plot check the "Preview" box. The default values should produce a plot of the "standard" distribution.
+Choose appropriate values for the various parameters of the distribution and select the type of function. The "Submit" button will export the plot to the "Output" window. To dynamically visualise the plot check the "Preview" box.
 	</usage>
 
 	<settings>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/plot_negbinomial_distribution.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/plot_negbinomial_distribution.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/plot_negbinomial_distribution.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -23,7 +23,7 @@
 							<spinbox type="integer" min = "0" id="max" initial="24" label="Upper quantile" />
 						</frame>
 						<frame label="Parameters">
-							<spinbox default_precision="0" type="real" id="size" min="0.01" initial="12" label="Target number of successful trials" />
+							<spinbox type="integer" id="size" min="1" initial="12" label="Target number of successful trials" />
 							<row>
 							<column>
 							<spinbox default_precision="2" type="real" id="prob" initial="0.75" min="0" max="1" label="Probability of success on each trial" />

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/plot_normal_distribution.rkh
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/plot_normal_distribution.rkh	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/plot_normal_distribution.rkh	2007-02-08 21:07:24 UTC (rev 1363)
@@ -5,7 +5,7 @@
 	</summary>
 
 	<usage>
-Choose appropriate values for the various parameters of the distribution and select the type of function. The "Submit" button will export the plot to the "Output" window. To dynamically visualise the plot check the "Preview" box. The default values should produce a plot of the "standard" distribution.
+Choose appropriate values for the various parameters of the distribution and select the type of function. The "Submit" button will export the plot to the "Output" window. To dynamically visualise the plot check the "Preview" box.
 	</usage>
 
 	<settings>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/plot_poisson_distribution.rkh
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/plot_poisson_distribution.rkh	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/plot_poisson_distribution.rkh	2007-02-08 21:07:24 UTC (rev 1363)
@@ -5,7 +5,7 @@
 	</summary>
 
 	<usage>
-Choose appropriate values for the various parameters of the distribution and select the type of function. The "Submit" button will export the plot to the "Output" window. To dynamically visualise the plot check the "Preview" box. The default values should produce a plot of the "standard" distribution.
+Choose appropriate values for the various parameters of the distribution and select the type of function. The "Submit" button will export the plot to the "Output" window. To dynamically visualise the plot check the "Preview" box.
 	</usage>
 
 	<settings>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/plot_t_distribution.rkh
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/plot_t_distribution.rkh	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/plot_t_distribution.rkh	2007-02-08 21:07:24 UTC (rev 1363)
@@ -5,7 +5,7 @@
 	</summary>
 
 	<usage>
-Choose appropriate values for the various parameters of the distribution and select the type of function. The "Submit" button will export the plot to the "Output" window. To dynamically visualise the plot check the "Preview" box. The default values should produce a plot of the "standard" distribution.
+Choose appropriate values for the various parameters of the distribution and select the type of function. The "Submit" button will export the plot to the "Output" window. To dynamically visualise the plot check the "Preview" box.
 	</usage>
 
 	<settings>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/plot_t_distribution.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/plot_t_distribution.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/plot_t_distribution.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -13,7 +13,7 @@
 				<row>
 					<column>
 						<row>
-							<spinbox type="integer" id="n" initial="100" label="Number of Observations" />
+							<spinbox type="integer" id="n" initial="100" min="1" label="Number of Observations" />
 						</row>
 						<row>
 							<frame label="Range" >

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/plot_tukey_distribution.rkh
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/plot_tukey_distribution.rkh	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/plot_tukey_distribution.rkh	2007-02-08 21:07:24 UTC (rev 1363)
@@ -5,7 +5,7 @@
 	</summary>
 
 	<usage>
-Choose appropriate values for the various parameters of the distribution and select the type of function. The "Submit" button will export the plot to the "Output" window. To dynamically visualise the plot check the "Preview" box. The default values should produce a plot of the "standard" distribution.
+Choose appropriate values for the various parameters of the distribution and select the type of function. The "Submit" button will export the plot to the "Output" window. To dynamically visualise the plot check the "Preview" box.
 	</usage>
 
 	<settings>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/plot_tukey_distribution.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/plot_tukey_distribution.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/plot_tukey_distribution.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -20,7 +20,7 @@
 						<row>
 							<frame label="Range" >
 								<spinbox default_precision="2" type="real" id="min" initial="-1" min="-1" label="Lower quantile" />
-								<spinbox default_precision="2" type="real" id="max" initial="8" label="Upper quantile" />
+								<spinbox default_precision="2" type="real" id="max" initial="8" min="0" label="Upper quantile" />
 							</frame>
 						</row>
 						<row>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/plot_uniform_distribution.rkh
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/plot_uniform_distribution.rkh	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/plot_uniform_distribution.rkh	2007-02-08 21:07:24 UTC (rev 1363)
@@ -5,7 +5,7 @@
 	</summary>
 
 	<usage>
-Choose appropriate values for the various parameters of the distribution and select the type of function. The "Submit" button will export the plot to the "Output" window. To dynamically visualise the plot check the "Preview" box. The default values should produce a plot of the "standard" distribution.
+Choose appropriate values for the various parameters of the distribution and select the type of function. The "Submit" button will export the plot to the "Output" window. To dynamically visualise the plot check the "Preview" box.
 	</usage>
 
 	<settings>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/plot_weibull_distribution.rkh
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/plot_weibull_distribution.rkh	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/plot_weibull_distribution.rkh	2007-02-08 21:07:24 UTC (rev 1363)
@@ -5,7 +5,7 @@
 	</summary>
 
 	<usage>
-Choose appropriate values for the various parameters of the distribution and select the type of function. The "Submit" button will export the plot to the "Output" window. To dynamically visualise the plot check the "Preview" box. The default values should produce a plot of the "standard" distribution.
+Choose appropriate values for the various parameters of the distribution and select the type of function. The "Submit" button will export the plot to the "Output" window. To dynamically visualise the plot check the "Preview" box.
 	</usage>
 
 	<settings>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/plot_wilcoxon_distribution.rkh
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/plot_wilcoxon_distribution.rkh	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/plot_wilcoxon_distribution.rkh	2007-02-08 21:07:24 UTC (rev 1363)
@@ -5,7 +5,7 @@
 	</summary>
 
 	<usage>
-Choose appropriate values for the various parameters of the distribution and select the type of function. The "Submit" button will export the plot to the "Output" window. To dynamically visualise the plot check the "Preview" box. The default values should produce a plot of the "standard" distribution.
+Choose appropriate values for the various parameters of the distribution and select the type of function. The "Submit" button will export the plot to the "Output" window. To dynamically visualise the plot check the "Preview" box.
 	</usage>
 
 	<settings>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/poisson_probabilities.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/poisson_probabilities.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/poisson_probabilities.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -8,8 +8,8 @@
 	    <tab label="Poisson probabilities" >
           <row>
             <column>
-                <input initial="0.95" id="q" label="Vector of quantiles"/>
-                <spinbox default_precision="2" type="real" initial="1" id="lambda" label="Lambda"/>
+                <input required="true" initial="0.95" id="q" label="Vector of quantiles"/>
+                <spinbox default_precision="2" type="real" min="0" initial="1" id="lambda" label="Lambda"/>
             </column>
             <column>
                 <row>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/poisson_quantiles.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/poisson_quantiles.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/poisson_quantiles.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -8,8 +8,8 @@
       <tab label="Poisson quantiles" >
           <row>
             <column>
-                <input initial="0.95" id="p" label="Vector of probabilities"/>
-                <spinbox default_precision="2" type="real" initial="1" id="lambda" label="Lambda"/>
+                <input required="true" initial="0.95" id="p" label="Vector of probabilities"/>
+                <spinbox default_precision="2" type="real" min="0" initial="1" id="lambda" label="Lambda"/>
             </column>
             <column>
                 <row>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/t_probabilities.php
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/t_probabilities.php	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/t_probabilities.php	2007-02-08 21:07:24 UTC (rev 1363)
@@ -6,14 +6,14 @@
 	global $q;
 	$q = "c (" . preg_replace ("/[, ]+/", ", ", getRK_val ("q")) . ")";
 ?>
-rk.temp <- (pt (q = <? echo ($q); ?>, df = <? getRK ("df"); ?>, <? getRK ("tail"); ?>))
+rk.temp <- (pt (q = <? echo ($q); ?>, df = <? getRK ("df"); ?>, ncp = <? getRK ("ncp"); ?>, <? getRK ("tail"); ?>))
 <?
 }
 
 function printout () {
 	global $q;
 ?>
-rk.header ("t probability", list ("Vector of quantiles", "<? echo ($q); ?>", "Degrees of Freedom", "<? getRK ("df"); ?>", "Tail", "<? getRK ("tail"); ?>"));
+rk.header ("t probability", list ("Vector of quantiles", "<? echo ($q); ?>", "Degrees of Freedom", "<? getRK ("df"); ?>", "non-centrality parameter", "<? getRK ("ncp"); ?>", "Tail", "<? getRK ("tail"); ?>"));
 rk.results (rk.temp, titles="t probabilities")
 <?
 }

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/t_probabilities.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/t_probabilities.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/t_probabilities.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -7,8 +7,9 @@
       <tab label="t probability" >
           <row>
             <column>
-              <input initial="0.95" id="q" label="Vector of quantiles"/>
-              <spinbox default_precision="2" type="real" initial="0" id="df" min="0" label="Degree of Freedom"/>
+              <input required="true" initial="0.95" id="q" label="Vector of quantiles"/>
+              <spinbox default_precision="2" type="real" initial="1" id="df" min="0" label="Degrees of Freedom"/>
+              <spinbox default_precision="2" type="real" initial="0" id="ncp" min="0" label="non-centrality parameter"/>
             </column>
             <column>
               <radio id="tail" label="Choose type of probability" >

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/t_quantiles.php
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/t_quantiles.php	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/t_quantiles.php	2007-02-08 21:07:24 UTC (rev 1363)
@@ -6,14 +6,14 @@
 	global $p;
 	$p = "c (" . preg_replace ("/[, ]+/", ", ", getRK_val ("p")) . ")";
 ?>
-rk.temp <- (qt (p = <? echo ($p); ?>, df = <? getRK ("df"); ?>, <? getRK ("tail"); ?>))
+rk.temp <- (qt (p = <? echo ($p); ?>, df = <? getRK ("df"); ?>, ncp = <? getRK ("ncp"); ?>, <? getRK ("tail"); ?>))
 <?
 }
 
 function printout () {
 	global $p;
 ?>
-rk.header ("t quantile", list ("Vector of probabilities", "<? echo ($p); ?>", "Degrees of freedom", "<? getRK ("df"); ?>", "Tail", "<? getRK ("tail"); ?>"));
+rk.header ("t quantile", list ("Vector of probabilities", "<? echo ($p); ?>", "Degrees of freedom", "<? getRK ("df"); ?>", "non-centrality parameter", "<? getRK ("ncp"); ?>", "Tail", "<? getRK ("tail"); ?>"));
 rk.results (rk.temp, titles="t quantiles")
 <?
 }

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/t_quantiles.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/t_quantiles.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/t_quantiles.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -7,8 +7,9 @@
       <tab label="t quantile" >
           <row>
             <column>
-              <input initial="0.95" id="p" min="0" max="1" label="Probability"/>
+              <input required="true" initial="0.95" id="p" min="0" max="1" label="Probability"/>
               <spinbox default_precision="2" type="real" initial="1" id="df" min="0" label="Degrees of Freedom"/>
+              <spinbox default_precision="2" type="real" initial="0" id="ncp" min="0" label="non-centrality parameter"/>
             </column>
             <column>
               <radio id="tail" label="Choose type of probability" >

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/tukey_probabilities.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/tukey_probabilities.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/tukey_probabilities.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -7,8 +7,8 @@
 			<tab label="Studentized Range Distribution probabilities" >
 				<row>
 					<column>
-						<input initial="0:10" id="q" label="Vector of quantiles"/>
-						<spinbox default_precision="2" type="integer" initial="2" id="nmeans" label="Sample size for range"/>
+						<input required="true" initial="0:10" id="q" label="Vector of quantiles"/>
+						<spinbox min="1" type="integer" initial="2" id="nmeans" label="Sample size for range"/>
 						<input default_precision="2" initial="5" id="df" label="Degrees of freedom for s"/>
 						<spinbox default_precision="2" type="integer" initial="1" min="0" id="nranges" label="Number of groups whose maximum range is considered"/>
 					</column>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/tukey_quantiles.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/tukey_quantiles.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/tukey_quantiles.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -7,9 +7,9 @@
 			<tab label="Studentized Range Distribution quantiles" >
 				<row>
 					<column>
-						<input initial="0.95" id="p" label="Vector of probabilities"/>
-						<spinbox default_precision="2" type="integer" initial="2" id="nmeans" label="Sample size for range"/>
-						<input default_precision="2" initial="2:11" min="0" id="df" label="Degrees of freedom for s"/>
+						<input required="true" initial="0.95" id="p" label="Vector of probabilities"/>
+						<spinbox min="1" type="integer" initial="2" id="nmeans" label="Sample size for range"/>
+						<input initial="2:11" min="0" id="df" label="Degrees of freedom for s"/>
 						<spinbox default_precision="2" type="integer" initial="1" min="0" id="nranges" label="Number of groups whose maximum range is considered"/>
 					</column>
 					<column>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/uniform_probabilities.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/uniform_probabilities.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/uniform_probabilities.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -8,9 +8,9 @@
      <tab label="Uniform probabilities" >
           <row>
             <column>
-                <input initial="0.95" id="q" label="Vector of quantiles"/>
-                <spinbox default_precision="2" type="real" initial="1" id="min" label="Lower limits of the distribution"/>
-                <spinbox default_precision="2" type="real" initial="1" id="max" label="Upper limits of the distribution"/>
+                <input required="true" initial="0.95" id="q" label="Vector of quantiles"/>
+                <spinbox default_precision="2" type="real" initial="0" id="min" label="Lower limit of the distribution"/>
+                <spinbox default_precision="2" type="real" initial="1" id="max" label="Upper limit of the distribution"/>
             </column>
             <column>
                 <row>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/uniform_quantiles.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/uniform_quantiles.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/uniform_quantiles.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -8,8 +8,8 @@
      <tab label="Uniform quantiles" >
           <row>
             <column>
-                <input initial="0.95" id="p" label="Vector of probabilities"/>
-                <spinbox default_precision="2" type="real" initial="1" id="min" label="Lower limits of the distribution"/>
+                <input required="true" initial="0.95" id="p" label="Vector of probabilities"/>
+                <spinbox default_precision="2" type="real" initial="0" id="min" label="Lower limits of the distribution"/>
                 <spinbox default_precision="2" type="real" initial="1" id="max" label="Upper limits of the distribution"/>
             </column>
             <column>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/weibull_probabilities.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/weibull_probabilities.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/weibull_probabilities.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -8,9 +8,9 @@
      <tab label="Weibull probabilities" >
           <row>
             <column>
-                <input initial="0.95" id="q" label="Vector of quantiles"/>
+                <input required="true" initial="0.95" id="q" label="Vector of quantiles"/>
                 <spinbox default_precision="2" type="real" min="0" initial="1" id="shape" label="Shape"/>
-                <spinbox default_precision="2" type="real" min="1" initial="1" id="scale" label="Scale"/>
+                <spinbox default_precision="2" type="real" min="0.000001" initial="1" id="scale" label="Scale"/>
             </column>
             <column>
                 <row>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/weibull_quantiles.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/weibull_quantiles.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/weibull_quantiles.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -8,9 +8,9 @@
       <tab label="Weibull quantiles" >
           <row>
             <column>
-                <input initial="0.95" id="p" label="Vector of probabilities"/>
+                <input required="true" initial="0.95" id="p" label="Vector of probabilities"/>
                 <spinbox default_precision="2" type="real" min="0" initial="1" id="shape" label="Shape"/>
-                <spinbox default_precision="2" type="real" min="1" initial="1" id="scale" label="Scale"/>
+                <spinbox default_precision="2" type="real" min="0.000001" initial="1" id="scale" label="Scale"/>
             </column>
             <column>
                 <row>

Modified: branches/release_branch_0.4.6/rkward/plugins/distributions/wilcoxon_probabilities.xml
===================================================================
--- branches/release_branch_0.4.6/rkward/plugins/distributions/wilcoxon_probabilities.xml	2007-02-08 17:13:57 UTC (rev 1362)
+++ branches/release_branch_0.4.6/rkward/plugins/distributions/wilcoxon_probabilities.xml	2007-02-08 21:07:24 UTC (rev 1363)
@@ -8,9 +8,9 @@
        <tab label="Wilcoxon Rank Sum probabilities" >
           <row>
             <column>
-                <input initial="0.95" id="q" label="Vector of quantiles"/>
-                <spinbox type="integer" min="0" initial="1" id="m" label="m (Numbers of observations in the first sample)"/>
-                <spinbox type="integer" min="0" initial="1" id="n" label="n (Numbers of observations in the econd sample)"/>
+                <input required="true" initial="0.95" id="q" label="Vector of quantiles"/>
+                <spinbox type="integer" min="1" initial="1" id="m" label="m (Numbers of observations in the first sample)"/>

@@ Diff output truncated at 100000 characters. @@

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list