[RkWard-devel] Modified and new distribution plots

Prasenjit Kapat kapatp at gmail.com
Mon Jan 29 13:34:47 UTC 2007


Hi,

As promised, attached is the svn diff  patch for the modifications done on  
distribution plots. Here is a quick summary of the changes: (they refer only 
to  the plots under the "Distribution" menu item; NO other plot/function has 
been tampered)

A. Menu Change:
--------------------------
[1] Wilcoxon Rank Sum distribution is discrete, so moved it from the 
continuous to discrete collection.

B. External Changes:
--------------------------------
[] Added a checkbox each for "log"/"log.p" and "lower.tail" parameters to the 
density/cdf plots for all the listed distribution.

[] Added the "preview" tag to all the distribution plots. 

[] Added a "Parameter" frame around the parameter values.

[] Changed the Minimum/Maximum labels to Lower/Upper quantiles. After all, R 
calls "x,q" as vector of quantiles.

[] Changed the heading of the Outputs. For example from "Plot density dnorm" 
to "Normal density function". For the discrete ones, used "mass function" 
instead.

C. Internal Changes
------------------------------
[] Converted all the internal plotting function to "plot.function" using the 
style suggested by Thomas: 
              function(x) <? getRK ("function");?> (x,...)

[] Added "Non-centrality" parameter wherever it was applicable.

[] Assigned proper data type (integer/real) for the various parameters and 
variables used.

[] Provided bounds (lower and/or upper, as the case may be) to the parameters 
and variables of the "spinboxes".

ToDo?
--------
1. For every distribution, instead of keep three menu entries (like Beta 
probs, Beta quantiles, Plot Beta distbn.) would it be better to merge them to 
one window but three different <tab>s under <tabbook>?

2. Would it be better to rename the menu entries as just the name of the 
distribution (like "Beta" instead of "Beta Distribution")? Or does it look 
better as it is?

Now a few issues:
--------------------------
1. The integer data type variables increments by 10s or 100s instead of 1s on 
the <spinbox> widget of the plot dialog. Is there any "default_increment" 
attribute to "spinbox"?
2. Is it possible for the "Lower tail" checkbox to be "enabled" only when 
the "distribution function" radio is selected and "disabled" when "density" 
function radio is selected?

Let me know your opinions/criticisms/suggestions.
Regards
PK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: svn.diff.patch
Type: text/x-diff
Size: 97175 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20070129/792b1a1e/attachment.bin>


More information about the Rkward-devel mailing list