Usage
NTplot(mean0, ...)
## S3 method for class 'default':
NTplot(mean0=0, ..., shiny=FALSE, distribution.name = c("normal","z","t","binomial"))
## S3 method for class 'htest':
NTplot(mean0, ..., shiny=FALSE, NTmethod="htest")
## S3 method for class 'power.htest':
NTplot(mean0, ..., shiny=FALSE, xbar=NA, ## these input values are used
mean1, n, df, sd, distribution.name, sub, ## these input values ignored
alpha.left, alpha.right, number.vars) ## these input values ignored
## S3 method for class 'NormalAndTplot':
NTplot(mean0, ..., shiny=FALSE)
Arguments
mean0
For the default method, mean0
is either missing or a numeric
argument for the mean under the null hypothesis.
For the htest
method, mean0
is an htest
object
from the
...
Other arguments, selected from the options for the
default method NormalAndTplot
. shiny
Logical. If TRUE
, a shiny
app is started to provide an interactive graphics device in a
web-browser. If
FALSE
, a plot is drawn on the current graphics device. htest
logical. TRUE
for "htest"
objects.
mean1, n, df, sd, sub, alpha.left,
alpha.right, number.vars
These variables are ignored here. They
are captured so they won't interfere with similarly named variables
that are generated in the power.htest
method.
distribution.name
Ignored by htest
and
power.htest
methods.
Otherwise passed on to the next method.
NTmethod
Character string used when shiny=TRUE
. It is
normally calculated by the methods. NTmethod
tells
shiny
how to use or ignore the df
and n
sliders. See the extended discussion in