Description Usage Arguments Author(s) See Also Examples
Generates a sectioned report file with ordinal dominance matrices and statistics.
1 2 |
x |
A 1-column matrix with optional column name containing all n_x values or scores of group X or 1 (e.g. control or pretest group.); see |
y |
A 1-column matrix with optional column name containing all n_y values of group Y or 2 (e.g. experimental or post-test group); see |
alpha |
Significance or α-level used for the calculation of the confidence intervals; see |
paired |
By default, independence of the two groups or data sets is assumed. For paired comparisons, set to TRUE; see |
sections |
By default all of the following report sections are written to the file. If only a selection of all sections is needed, a string should be given containing all section numbers needed in the output, e.g. ...,sections="135a",... for sections 1, 3 and 5a. |
header |
By default, section headers are part of the output. If headers are to be omitted, this argument should be set to FALSE. |
sorted |
All outputs in sections 1,4a,4b,5a and 5b may be automatically sorted ascendingly for the x data set (string is to contain "X") and/or for the y data set (string is to contain "Y"). This is the default option. |
outfile |
A filename for the report should be given here. The report as standard text file is written to the current working directory. |
appendfile |
By default, new report files are created. If a given report file ist to be appended, set to TRUE. |
show |
By default, the generated file is displayed. Set to FALSE to avoid the resulting file to be shown. |
description |
This argument allows for assigning a string (as title or description) for the ordinal comparison outputs. |
Jens J. Rogmann, University of Hamburg, Department of Psychology,
Hamburg, Germany (Jens.Rogmann@uni-hamburg.de)
1 2 3 4 5 6 7 8 | ## Not run:
#Independent Samples (Data taken from Long et al. (2003), Table 4
## End(Not run)
x<-t(matrix(c(3,3,3,4,5,6,12,12,13,14,15,15,15,15,15,16,18,18,18,23,23,27,28,28,43),1))
colnames(x)<-c("Nonalcohol.")
y<-t(matrix(c(1,4,6,7,7,14,14,18,19,20,21,24,25,26,26,26,27,28,28,30,33,33,44,45,50),1))
colnames(y)<-c("Alcoholic")
orddom_p(x,y,,paired=FALSE,outfile="orddom_csv_tab.txt")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.