Description Usage Arguments Author(s) See Also Examples
Writes ordinal dominance statistics to tailored target output file, e.g. for purposes of multiple comparisons.
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. treatment or post-test group); see |
... |
Other arguments to be passed on to the |
outputfile |
A filename for the report should be given here. The report as standard text file is written to the current working directory. All data are appended to this file. If the file does not exist initially, row headers are produced. |
quotechar |
By default, string outputs are quoted. |
decimalpt |
By default, numeric outputs use the colon as decimal point. Where commas are used instead, this argument should be set to ...,decimalpt=",",... . |
separator |
By default, field entries are separated by tabulators (...,separator="\tab",...). If, for example, .csv files are to be produced using the semicolon as the field separator, this argument should be set to ...,separator=";",.... |
notavailable |
By default, if field entries are ot available, "NA" is printed to the file. Other values to be printed can be given, e.g. ...,notavailable="",... or ...,notavailable="NULL",.... |
endofline |
By default, a carriage return denotes the end of the single output line.
Other values may be given, such as the IETF standard for csv files (...,endofline="\r\n",...). |
Jens J. Rogmann, University of Hamburg, Department of Psychology,
Hamburg, Germany (Jens.Rogmann@uni-hamburg.de)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | ## Not run:
# Example: Experiment with experimental group "ex" and control group "con"
# Data sets:
ex_pre<-c(52,53,55,59,57)
con_pre<-c(51,56,54,60,56)
ex_post<-c(58,62,63,64,69)
con_post<-c(48,58,57,62,55)
# Two independent and two paired comparisons are possible
# These are to be written to a csv-file
# Alpha-level = 10
orddom_f(con_pre,ex_pre,alpha=0.025,decimalpt=",",description="EXP 01: Between groups at time 01")
# result delta=-.04
orddom_f(con_post,ex_post,alpha=0.025,decimalpt=",",description="EXP 01: Between groups at time 02")
# result delta=.84
orddom_f(ex_pre,ex_post,alpha=0.025,paired=TRUE,decimalpt=",",description="EXP 01: Within exp 01 to 02")
# result delta_b=.9
orddom_f(con_pre,con_post,alpha=0.025,paired=TRUE,decimalpt=",",description="EXP 01: Within con 01 to 02")
# result delta_b=.2
file.show(file.path(getwd()),"orddom_csv.txt")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.