get.cocor.results | R Documentation |
Returns result parameters of a cocor result object of class 'cocor.indep.groups', 'cocor.dep.groups.overlap', or 'cocor.dep.groups.nonoverlap' as a list with each slot representing a list element.
get.cocor.results(result.object, test = "all") ## S4 method for signature 'cocor' get.cocor.results(result.object, test = "all")
result.object |
A cocor result object of class 'cocor.indep.groups', 'cocor.dep.groups.overlap', or 'cocor.dep.groups.nonoverlap'. |
test |
A vector of character strings specifying the tests to be returned (e.g.,
|
Returns a list containing all result parameters as list elements:
diff |
Difference between the two correlations that were compared. |
statistic |
The value of the test statistic (unless test zou2007 is used). |
distribution |
The distribution of the test statistic (unless test zou2007 is used). |
df |
The degrees of freedom of the distribution of the test statistic (only for result objects of class 'cocor.dep.groups.overlap' if test hotelling1940, hendrickson1970, or williams1959 is used). |
p.value |
The p-value of the test (unless test zou2007 is used). |
conf.int |
The confidence interval of the difference between the two correlations (if test zou2007 is used). |
get.cocor.input, cocor, cocor.indep.groups, cocor.dep.groups.overlap, cocor.dep.groups.nonoverlap
data("aptitude") cocor.result <- cocor(~knowledge + intelligence.a | logic + intelligence.a, aptitude$sample1) get.cocor.results(cocor.result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.