Dataframe from which variables specified are preferentially to be
taken. This argument is optional.
x
A numeric variable.
type
Type of statistic expected ("parametric" or "nonparametric"
or "robust" or "bayes").Corresponding abbreviations are also accepted:
"p" (for parametric), "np" (nonparametric), "r" (robust), or
"bf"resp.
test.value
A number specifying the value of the null hypothesis
(Default: 0).
bf.prior
A number between 0.5 and 2 (default 0.707), the prior width
to use in calculating Bayes factors.
robust.estimator
If test = "robust" robust estimator to be used
("onestep" (Default), "mom", or "median"). For more, see
?WRS2::onesampb.
conf.level
A scalar value between 0 and 1. If unspecified, the
default is to return 95% lower and upper confidence intervals (0.95).
nboot
Number of bootstrap samples for robust one-sample location test
(Default: 100).
k
Number of digits after decimal point (should be an integer)
(Default: k = 2).
messages
Decides whether messages references, notes, and warnings are
to be displayed (Default: TRUE).