<!DOCTYPE rkplugin>
<document>
	<code file="plot_tukey_distribution.php" />
	<help file="plot_tukey_distribution.rkh" />
	<logic>
		<set id="function.enabled" to="false" />
		<set id="function.string" to="p" />

		<insert snippet="common_logic"/>
	</logic>
	<snippets>
		<snippet id="range_options">
			<spinbox type="integer" id="n" min="2" initial="101" label="Number of Observations" />
			<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" min="0" label="Upper quantile" />
			</frame>
		</snippet>
		<snippet id="dist_options">
			<frame label="Parameters">
				<spinbox type="integer" id="nmeans" min="1" initial="6" label="Sample size for range (same for each group)" />
				<spinbox default_precision="2" type="real" id="df" initial="5" min="0" label="Degrees of freedom for s" />
				<spinbox type="integer" id="nranges" min="1" initial="1" label="Number of groups whose maximum range is considered" />
			</frame>
		</snippet>
		<include file="plot_dist_common_snippets.xml"/>
	</snippets>
	<dialog label="Plot Studentized Range (Tukey) probabilities" >
		<!-- This one looks slightly different from the others -->
		<row>
			<column>
				<insert snippet="range_options"/>
				<insert snippet="dist_options"/>
			</column>
			<column>
				<text>Only the distribution function can be plotted for the Tukey distribution.</text>
				<insert snippet="common_options"/>
			</column>
		</row>
	</dialog>
</document>
