NCStats - Functions to support learning in Northland College statistics courses.
RForge.net

NCStats

About NCStats
SVN access
Download/Files
News
Check results
Package R docs
Install Helper

News/Changelog

0.1-3 ongoing
hist.formula(): added the ability to have two factors on the RHS of the formula
    to allow users to separate the quantitative response variable according to
    two factors.  Also modified the main.pre= argument.  Modified the code so
    that if the product of the number of rows and number of columns supplied by
    the user is less than the total number of histograms to be plotted then
    multiple pages of histograms will be produced (each requiring the user to
    click on it to go to the next one).
power.sim(): added a label for beta, set minimum for n slider at 2.
Summarize.formula(): added the ability to have two factors on the RHS of the 
    formula when working with a quantitative response variable.  Also removed an
    extraneous (from debugging) print() in the "categorical" portion.
swvCode(): added this function to remove some "unwanted" lines from files
    created with Stangle().  The function currently removes lines with the
    words "Stangle""SweaveHooks", and "swvCode".  The function will have to be
    modified to allow removal of other words.


0.1-2 17Dec09
o moved to compiling under 2.10.1.

NCStats-package(): updated.
bin.ci(): updated to better handle a first argument that is a vector.


0.1-1 15Apr09
o added a namespace
o removed dependencies and changed to imports ...
o   multcomp removed completely (only used in an example).
o   nortest and sciplot left as dependencies (they do not have a namespace).
o   added a dependency to plotrix (does not have a namespace) because I needed
      thigmophobe() in highlight.

.FirstLib(): removed (changed to .onLoad() because of namespace).
comp.slopes(): added the order.slopes= argument to allow the user to choose whether the
    slopes portion of the output should be ordered from smallest to largest or not.
    Added digits= argument to control printing of significant digits.  Removed attachment
    of data frame in the example in the .rd file.
highlight(): changed to a S3 method with default and formula methods.  This allowed
    use of the formula with the data= argument.  Also included a new argument that
    allowed labeling the points with values in another variable rather than just the
    number.  Allowed a pos= argument with the default being thigmophobe() positions.
print.CompInt(): added digits= argument to control printing of significant digits.
sd.calc(), print.sdcalc(): added.
Summary(): removed for good (was deprecated).
o Subset.rd: removed drop.levels() example.
o plot.htest.rd: removed z.test() example.
o removed BOD, Consumption, CrabClaw, LakeTroutEggs, MooseBrowse, NAKATPase, 
    Opossums, PeakDischarge, Tadpoles, and TomatoeNematode.


0.0-13  15Jan09
o moved to compiling under 2.8.0

add.sig.letters(): minor corrections, slight modification of examples, and added note to .Rd.
attached(): added notes to .Rd.
detach.all(): added notes to .Rd.
diag.plot(): minor corrections, updated examples, and added note to .Rd.
distrib(): added notes to .Rd.
expland.table(): changed use of x$Freq[i] to x[i,"Freq"] in hopes of removing the warning about "no visible binding."
    This did not fix the warning because of the use of "Freq" in the next line.
extract.data(): added notes to .Rd.
fit.plot(): minor corrections and added note to .Rd.
hist.formula(): added notes to .Rd.
lgrep(): minor corrections and changes to .Rd.
mult.rnorm(): minor corrections, updated examples (deleted tapply() and used Summarize()), and added a note in .Rd.
print.anova(): added as a replacement function.
residual.plot(): minor corrections, updated examples, and added note to .Rd.  Also corrected x-axis label (changed
    from 'fitted values' to 'treatment groups') for residual plots using boxplots for one-way and two-way ANOVAs.
Subset(): added an error message for sending non-data.frames.  Added notes and correction minor errors in .Rd.
Summarize(): added notes to .Rd.
Summarize.default(): removed exclude= argument and moifided code around valid percents
    for the categorical data.  This was required because of a change in the use of exclude=
    in table() for 2.8.0.  Modified code to catch more errors.
Summarize.formula(): added data= argument.  Modified code to catch more errors and to
    provide better tables for categorical data.
swvANOVA(): added.
swvGLHT(): added.
swvPvalue(): modified so that it may (default) include a 'p=' prefix.
swvREG(): added.
trans.chooser(): minor corrections, updated examples, and added note to .Rd.


0.0-12  17Nov08
o added a dependency to tcltk package to make the simulations work properly -- fix something that was changed
    in the TeachingDemos package.
o added CITATION file.

distrib(): added "forward" and "reverse" to the type= argument.  Modified so that the x-axis labels on the
    normal distribution plots correspond to exact integer standard deviation away from the mean.  This change
    is purely for pedagogical reasons.
hist.formula(): added a ylmts= argument to allow user to set maximum of y-axis separately for each histogram.
    Removed data(iris) from help file (because all examples use the data= argument).
Subset(): added.
swvCounts(): added.
swvPvalue(): added.


0.0-11  15Sep08
.First.lib: added to print startup message and check for installed packages.
c.region(): modified by returning a list of values used in the plotting and adding a plot= argument.  These
    two changes allow the user to use c.region to find the plotting values without making the plot.  This was
    needed for the plot.htest() function.
d.region(): modified as described for c.region().
distrib(): modified by adding a show.alt= argument which allows user control of whether the message showing
    alternative code for obtaining the same answer is shown or not.  Defaults to FALSE (don't show message).
    Also added a shade.col= argument to control the color of the shaded area.  Added code to work-around a
    problem of constructing plots when the value of interest is one of the values along the x-axis.
fit.plot.POLY(): added this S3 method to plot polynomial regressions.  It basically calls the SLR method.
fit.plot.TWOWAY(): corrected error when more then 6 line types were needed (max is 18, though).
hist.formula(): added this S3 method of allos plotting of multiple histograms at once.  This replaces mhist().
mhist(): deleted and replaced with hist.formula().
plot.htest(): added this S3 method to provide a visual of the p-value computed for the one-sample z-test (from
    the TeachingDemos package), one-sample t-test, paired t-test, two-sample t-test, and chi-square tests.
residual.plot.POLY(): added this S3 method to plot polynomial residuals.  It basically calls the SLR method.
Summarize(): this replaces the old Summary() and adds the ability to use a formula to get summary statistics
    by levels of a factor.  Slightly modifed help file.
Summary(): this is now deprecated ... it simply passes its arguments to Summarize.
typeoflm(): added the ability to detect polynomials.
view(): modified by adding which= argument to allow choosing variables/columns to display.


0.0-10  15May08
o Moved to RForge.net

distrib(): modified, now returns answer regardless of plot= argument.
extract.data(): modified, added xdec=, ydec=, and filename= arguments.
lgrep(): added.
rhead(): removed, replaced with view()
view(): added, replaced rhead()


0.0-9   22Apr08
o upgraded to R 2.7.0.
o changed dependencies to include sciplot package.

choose.colors(): added, to allow users to choose among a variety of palettes.  See also palette.choices().
fit.plot.ONEWAY(): modified, uses lineplot.CI() from the sciplots package to allow the plotting of confidence
    intervals on the one-way fit.plot.  Other related controls were also implemented.
fit.plot.TWOWAY(): modified, uses lineplot.CI() from the sciplots package to allow the plotting of confidence
    intervals on the two-way fit.plot.  Other related controls were also implemented.
fit.plot.IVR(): modified, allowed color choices through choose.colors() and placed legend in topright by default.
palette.choices(): added, aids choose.colors().
residual.plot(): modified, changed mdl= argument to object= argument to make more compatible with fit.plot().
    Created SLR, IVR, ONEWAY, and TWOWAY methods.  This caused some over coding but clarified the construction of the
    IVR residual plots and makes more consistent with fit.plot().  Along the way, changed the ONEWAY and TWOWAY to have
    bp= argument that defaults to TRUE so that boxplots of the residuals are shown rather than points.  Also modified
    the colors used in the IVR.
residual.plot.IVR(): added, see also residual.plot().
residual.plot.ONEWAY(): added, see also residual.plot().
residual.plot.SLR(): added, see also residual.plot().
residual.plot.TWOWAY(): added, see also residual.plot().
trans.chooser.ONEWAY(): modified, added bp= argument because of changes to residual.plot().
trans.chooser.TWOWAY(): modified, added bp= argument because of changes to residual.plot().


All prior NEWS in ONEWS file.