relax
package (see below).usethis::use_github_action_check_standard()
).Added GitHub Action for code coverage with codecov.io (used usethis::use_github_action("test-coverage")
).
assumptionCheck()
: Modified. Removed option to use relax()
and Tcl/Tk version of the dynamic graphic.
ciSim()
: Modified. Removed option to use relax()
and Tcl/Tk version of the dynamic graphic.cltSim()
: Modified. Removed option to use relax()
and Tcl/Tk version of the dynamic graphic.filterD()
: Added (from FSA
).meanMedian()
: Modified. Removed option to use relax()
and Tcl/Tk version of the dynamic graphic.powerSim()
: Modified. Removed option to use relax()
and Tcl/Tk version of the dynamic graphic.residPlot()
: Added (from FSA
).R >=3.5.0
, because that is the latest version required by packages (i.e., car
, FSA
, plotrix
) that NCStats
imports or suggests. Used this shiny app to help determine this.ggplot2
and ggpubr
.assumptionCheck()
: Added.chisqPostHoc()
: Modified documentation to eliminate check errors.outlierTest()
: Removed. Now just imports and then exports outlierTest()
from car
.snorm()
: Modified. Changed sigma range, controlled y-axis to be between 0 and 1, and defaulted to not showing the CDF.stat_SLR_equation()
: Added.t.test()
: Added an import and then export from mosaic
package.theme_NCStats()
: Added.transChooser()
: Modified documentation to eliminate check errors.R >=3.2.0
, because that is the latest version required by a package (i.e., car
) that NCStats
imports or suggests. Used this shiny app to help determine this.Encoding: UTF-8
to DESCRIPTION.AccuracyPrecision()
: Modified. Changed all uses of par()
to withr::local_par()
.ciSim()
: Modified. Changed plot title label to show more decimals and defaults to 95% confidence level (addresses #2). Changed all uses of par()
to withr::local_par()
.cltSim()
: Modified. Changed all uses of par()
to withr::local_par()
.corrSim()
: Modified. Changed all uses of par()
to withr::local_par()
.distrib()
: Modified. Changed all uses of par()
to withr::local_par()
.meanMedian()
: Modified. Changed all uses of par()
to withr::local_par()
.powerSim()
: Modified. Changed all uses of par()
to withr::local_par()
.rSquared()
: Removed. Moved to FSA
(with minor new functionality).sXXX()
: Modified. Changed all uses of par()
to withr::local_par()
.transChooser()
: Modified. Changed all uses of par()
to withr::local_par()
.InstallTester.R
to inst
directory. In theory, this should run without error and provides a way to test that the installation was completed properly.addSigLetters()
: Modified. Changed a if()
with class()
to inherits()
. Put \dontrun{}
s in documentation related to multcomp
to remove CRAN warning.diagPlot()
: Removed. Did not use and too difficult to maintain.distrib()
: Modified. Fixed bug when distrib="f"
and plot=TRUE
. Basic problem was that for some distributions x was set to zero and the density returned was infinity, which led to a ylim=
bug. Now started x at 0.001.gofCI()
: Modified. Changed a if()
with class()
to inherits()
.meanMedian()
: Modified. Added breaks=
, which defaults to seq(0,1,0.1)
. Increased number of decimals in printed mean and median results.percTable()
: Modified. Changed addMargins=
default so that margins are NOT added for 1-D tables. Also changed digits=
default to 1.rSquared()
: Modified. Changed a if()
with class()
to inherits()
.transChooser()
: Modified. Changed a if()
with class()
to inherits()
. Removed hard-coded variable positions and used positions returned from iTypeoflm()
, which fixed a bug in IVRs where the factor variable was in the model first. Changed default colors for residual plots..onAttach()
: Modified. Streamlined package startup message.ABDLakes
: Modified. Fixed errors for when there were two or more local.names
.chisqPostHoc()
: Modified. Fixed bug when a pair had a column with all zeroes. Added verbose=
. Fixed comparison names if the original matrix did not have row names.corr()
: Modified. Modified to allow more than two variables. Added digits=
argument. Added a message if missing values existed and they were handled with use of use=
. Modified tests.c.region()
,d.region()
: Modified. Changed output of areas and probabilities so that very small numbers showed scientific notation. This primarily affects distrib()
.distrib()
: Modified. Fixed bug when distrib="chisq"
and plot=TRUE
(related to choosing a chi-square value of 0 for making the plot). Modified plot so that continuous distributions touch x-axis. Also see note for c.region()
and d.region()
. Added check for lower.tail=
not being a logical (addresses #1).srsdf()
: Modified. Added removeRowNames=
argument and defaulted to TRUE
so that resultant data.frame does not retain original rownames.testthat
.iCheckRStudio()
: Added.c.region()
: Added the add=
argument to allow adding a shaded polygon to an existing plot created with c.region()
.ciSim()
: Modified. Added support for using manipulate()
from manipulate
if RStudio is being used. Modified the graphic. Streamlined the code. Changed default reps=
to 200.cltSim()
: Modified. Added support for using manipulate()
from manipulate
if RStudio is being used. Modified the graphic. Streamlined the code. Changed default reps=
to 5000.corr()
: Added.corrSim()
: Added.geomean()
: Deleted. Moved to FSA
.geosd()
: Deleted. Moved to FSA
.gofCI()
: Modified. Suppressed warnings on call to binCI()
in FSA
which results in warnings from Hmisc
about reimporting some functions that were imported by ggplot2
.iqrCalc()
: Added.meanMedian()
: Modified. Added support for using manipulate()
from manipulate
if RStudio is being used. Modified the graphic. Streamlined the code.outlierTest()
: Added as a pass-through to outlierTest()
in car
.powerSim()
: Modified. Added support for using manipulate()
from manipulate
if RStudio is being used. Modified the graphic. Streamlined the code.predictionPlot()
: Modified. Fixed a bug related to legend=
when a SLR is used.sXXX()
: Modified. Changed all to use manipulate()
from manipulate
rather than slider()
from relax
.transChooser()
: Modified. Added support for using manipulate()
from manipulate
if RStudio is being used. Streamlined the code.ImportFrom
for nortest
and the "base" packages that are needed. Moved car
from Depends
to ImportFrom
. Removed FSAdata
from Depends
.README.md
and DESCRIPTION
to reflect the new websites.accuracyPrecision()
: Modified. Changed default for pts.trans=
. Streamlined code.adTest()
: Modified. Send x
directly to ad.test()
from nortest
package. Added a check to see if the namespace for nortest
was available.chisqPostHoc()
: Modified. Changed default control=
to match that in p.adjust.methods
(i.e., defaults to "Holm" method).ci.t()
: Modified. Streamlined code.ciSim()
: Modified. Changed to using se()
from FSA
for method="t"
. Streamlined code.compIntercepts()
: Deleted. Moved to FSA
.compSlopes()
: Deleted. Moved to FSA
.discharge()
: Deleted. Moved to FSAmisc
.distrib()
: Modified. Changed to use col2rgbt()
from FSA
.faqNC()
: Deleted. Woefully out-of-data.gofCI()
: Modified. Replaced use of binconf()
from Hmisc
with binCI()
from FSA
. Streamlined code.iChk4Namespace()
: Added. Allowed requireNamespaces()
s to be replaced throughout.kAnova()
: Added from FSA
.kGLHT()
: Added from FSA
.kHtest()
: Added from FSA
.kREG()
: Added from FSA
.limnoProfilePlot()
: Deleted. Moved to FSAmisc
.print.anova()
: Deleted. Too problematic.wetPerim()
: Deleted. Moved to FSAmisc
.z.test()
: Modified. Imported and then exported z.test()
from TeachingDemos
.relax
package to a import.addSigLetters()
: Modified. Changed typeoflm()
to iTypeoflm()
due to changes in FSA
.compIntercept()
: Modified. Changed typeoflm()
to iTypeoflm()
due to changes in FSA
.compSlope()
: Modified. Changed typeoflm()
to iTypeoflm()
due to changes in FSA
.diagPlot()
: Modified. Changed typeoflm()
to iTypeoflm()
due to changes in FSA
.predictionPlot()
: Modified. Changed typeoflm()
to iTypeoflm()
due to changes in FSA
.transChooser()
: Modified. Changed typeoflm()
to iTypeoflm()
due to changes in FSA
.@S3method
and @Method
commands to @export
as described here This required changes to the following files: compIntercepts
, compSlopes
, discharge
, glhtSig
, highlight
, identify.formula
, plot.htest
, print.anova
, print.glht
, print.htest
, print.summary.lm
, sdCalc
, and wetPerim
.discharge()
: Modified. Removed newwin=
argument which will force the user to put the graphic in a new window and size the windows as they see fit, size the windows as they see fit, and set the graphing parameters as they see fit.print.anova()
: Modified. Had to use :::
as print.anova()
was made an internal file in the stats
package.transChooser()
: Modified. Added inclHist=FALSE
to two residPlot()
calls to adjust for changes in residPlot()
in FSA.view()
: Added (from the FSA package).wetPerim()
: Modified. Removed newwin=
argument which will force the user to put the graphic in a new window, size the windows as they see fit, and set the graphing parameters as they see fit.slider()
or gslider()
(see below).accuracyPrecision()
: Modified. Corrected bug that plotted a 0 on the y-axis.addSigLetters()
: Modified. Made explicit that typeoflm()
is in the FSA package as it is no longer exported. Modified examples in help file with require(FSA).ciSim()
: Modified. Added a require(relax) with a catch if not installed.cltSim()
: Modified. Added a require(relax) with a catch if not installed.compIntercepts()
: Modified. Made explicit that typeoflm()
is in the FSA package as it is no longer exported. Modified examples in help file with require(FSA).compSlopes()
: Modified. Made explicit that typeoflm()
is in the FSA package as it is no longer exported. Modified examples in help file with require(FSA).diagPlot()
: Modified. Made explicit that typeoflm()
is in the FSA package as it is no longer exported. Modified examples in help file with require(FSA).distrib()
: modified examples in help file with require(FSA).meanMedian()
: Modified. Added a require(relax) with a catch if not installed.mrNorm()
: modified examples in help file with require(FSA).powerSim()
: Modified. Added a require(relax) with a catch if not installed.predictionPlot()
: Modified. Made explicit that typeoflm()
is in the FSA package as it is no longer exported. Modified examples in help file with require(FSA).rSquared()
: modified examples in help file with require(FSA).sumTable()
: Deleted. Move to FSA package.transChooser()
: Modified. Added a require(relax) with a catch if not installed.color.scale()
from plotrix for discharge()
and wetPerim()
..onAttach(): Added, was
.onLoad()`..onLoad(): Deleted, now
.onAttach()`.addSigLetters()
: Added, back from FSA.c.region()
: changed formatting of value and area answers for distributional plots to use formatC()
and 3 digits for the value and 4 digits for the area. This primarily effects the plots from distrib()
and plot.htest()
.discharge()
: Added from FSA.limnoProfilePlot()
: Added from FSA.print.anova()
: Added (actually resurrected with modifications to work properly).wetPerim()
: Added from FSA.slider()
.call.=FALSE
to several stop()
s.General: replaced paste()
inside of several cat()
s.
ciSim()
: Modified in a variety of ways. First, I changed to using gslider()
rather than slider()
. Second, I streamlined the main plotting function (creating an internal function called ciSimPlot()
). Third, I removed the y-axis from the plot, changed the "summary statistics" printed at the top so that they fit better, and darkened the parameter line. Fourth, I used match.arg()
to catch problems with method=.
cltSim()
: Modified. I changed to using gslider()
rather than slider()
and streamlined the main plotting function (creating an internal function called cltSimPlot()
).compIntercepts()
: Modified. Moved the handling of digits to the main function rather than the print method.compSlopes()
: Modified. Moved the handling of digits to the main function rather than the print method.distribSim
family of functions: Modified. I changed to using gslider()
rather than slider()
.meanMedian()
: Modified in a variety of ways. First, I changed to using gslider()
rather than slider()
. Second, I changed the plots so that the histogram is stacked on top of the scatterplot which now contains all of the color coding for examining both the mean and the median. This change makes the plotting window much smaller and easier to manipulate. Third, I add the outlier= argument so that outliers can be easily modeled. Fourth, I made several aesthertic changes (shading of histogram, color of points relative to the median, color of the residuals relative to the mean, default values for sliders, maximum values for alpha and beta sliders).NCStatsSims()
: Deleted. Only works in non-Rstudio versions of Windows.powerSim()
: Modified by I changed to using gslider()
rather than slider()
and streamlined the code (creating an internal function called powerSimPlot()
).print.confint.glht()
: Added.print.summary.glht()
: Added.print.summary.glm()
: Added.print.htest()
: Added.print.lm()
: Added.print.summary.lm()
: Added.sdCalc()
: Modified by replacing numdigs=
with digits=
.sumTable()
: Modified by adding the digits=
argument.transChooser()
: Modified in a variety of ways. First, I changed to using gslider()
rather than slider()
. Third, streamlined the code so that the one-way and two-way share more code and the SLR and IVR do as well. Fourth, I eliminated the fitPlot()
and the possible call to ncvTest()
for the regression code. Fifth, I made show.stats=TRUE the default. Sixth, changed the starty= and startx= argument names to shifty= and shiftx=, respectively. Seventh, I removed the dontrun{}s from the examples. Eight, I added an argument to control the color of the bars in the histogram and made the default a light gray. Ninth, I updated the help file.transChooser_ANOVA()
and transChooser_REGRESS()
: added these internal files. See transChooser() above.transChooser.lm()
, transChooser.ONEWAY()
, transChooser.TWOWAY()
, transChooser.SLR()
, transChooser.IVR()
: deleted these files. See transChooser()
above.Changed R dependency to >2.14.0
.onLoad(): slight modification to avoid possible warning on RCMD Check.
Moved plotrix from depends to importsFrom (only need thigmophobe() in highlight()).
attached(): deleted.
Moved several functions to FSA that are used quite often for fisheries analyses. Ultimately, I want to remove the dependency on NCStats.
binCI(): moved to FSA.
Changed license specification from "GPL version 2 or newer" to "GPL (>= 2)" to avoid warning on check.
bootCoef(): Added. Basically a wrapper to bootCase() in the car package with the ability to call some S3 methods (see below).
added an importFrom for multcomp for glhtSig() below.
.onLoad(): Modified. Moved the startup message into packageStartupMessage() in hopes of eliminating the warning when checking the package.
Removed suggested packages from description.
findUpdates(): Removed. Moved to miscOgle package.
Added an ImportFrom from tools for texi2dvi used in swv2pdf().
ABCens90: Added this data file.
Switched to compiling under R version 2.13.0.
accuracyPrecision(): Modified. Added several arguments that allowed more control over the plottings, changed the default number of points plotted, changed the default pch used for plotting the mean, renamed the internal functions (to camel code), removed the make.labels() internal function (incorporated into the makeTargets() internal function), and changed the default coloring for the rings on the targets. Functionality is unchanged. Hopefully it is a bit more general.
Added importFrom utils for installed.packages() and available.packages().
compIntercepts(): Modified. Changed catches at front of function to note if a model with an interaction was sent and, if so, that the interaction term would be ignored. Also added an if that will allow the RHS of the model formula to have the covariate and factor in either order.
added a dependency to tcltk package (see transChoooser below).
addMargins(): Added. Largely the same as addmargins() except that I changed the margin= argument such that margin=1 gives a marginal value at the end of the rows and margin=2 gives a marginal value at the end of the columns. This change makes addMargins() fit more closely (in my opinion) with the use of margin= in prop.table().
removed dependency on nortest package (see adTest() below).
adTest(): brought, with name change, ad.test() from nortest package into NCStats. I changed to 'camel-case' naming convention and then removed dependency on the nortest package.
added a work-around .Rd files for the three functions imported from the car package namespace and exported as part of the NCStats namespace. This seems to have corrected the warning produced during Rcmd check.
distrib(): modified. Added the se= argument in the hopes that this might be somewhat easier for students that are learning to distinguish between sampling and population distributions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.