Learn R Programming

miscor (version 0.1-0)

print.conf.cor: Print cor.conf

Description

This function prints the cor.conf object

Usage

"print"(x, ...)

Arguments

x
cor.conf object.
...
further arguments passed to or from other methods.

References

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

Kubinger, K. D., Rasch, D., & Simeckova, M. (2007). Testing a correlation coefficient's significance: Using H0: 0 $< \rho \le \lambda$ is preferable to H0: $\rho = $0. Psychology Science, 49, 74-87.

See Also

conf.cor

Examples

Run this code
#--------------------------------------
# Two-sided 95% Confidence Interval
# r = 0.55, n = 120

obj <- conf.cor(r = 0.55, n = 120, output = FALSE)
print(obj)

#--------------------------------------
# One-sided 99% Confidence Interval

# Generate random data
dat <- sim.cor(100, rho = 0.4)

obj <- conf.cor(dat$x, dat$y, conf.level = 0.99, alternative = "less",
               output = FALSE)
print(obj)

Run the code above in your browser using DataLab