Learn R Programming

miscor (version 0.1-0)

update.seqtest: Update seqtest

Description

This function updates the seqtest object

Usage

"update"(object, x = NULL, y = NULL, initial = FALSE, output = TRUE, plot = TRUE, ...)

Arguments

object
cor.seqtest object.
x
data for group 1.
y
data for group 2.
initial
logical, used internally for creating a seqtest object
output
logical: if TRUE, output is shown.
plot
logical: if TRUE, plot is shown.
...
further arguments passed to or from other methods.

References

Rasch, D., Pilz, J., Verdooren, L. R., & Gebhardt, G. (2011). Optimal experimental design with R. Boca Raton: Chapman & Hall/CRC.

Rasch, D., Kubinger, K. D., & Yanagida, T. (2011). Statistics in psychology - Using R and SPSS. New York: John Wiley & Sons.

Schneider, B., Rasch, D., Kubinger, K. D., & Yanagida, T. (2015). A Sequential triangular test of a correlation coefficient's null-hypothesis: 0 $< \rho \le \rho$0. Statistical Papers, 56, 689-699.

See Also

seqtest.cor,

Examples

Run this code
#--------------------------------------
# Sequential triangular test for the product-moment correlation coefficient

seq.obj <- seqtest.cor(0.46, k = 14, rho = 0.3, delta = 0.2,
                       alpha = 0.05, beta = 0.2, plot = TRUE)

seq.obj <- update(seq.obj, c(0.56, 0.76, 0.56, 0.52))

Run the code above in your browser using DataLab