Kolmogorov–Smirnov test

Kolmogorov–Smirnov test

3dTS.R tests whether two samples (e.g., two groups of subjects) have the same distribution. Currently it only accepts input files with single sub-bricks. You can run it either inside R,

source("~/abin/3dTS.R")

 or, if all the input lines are stored in a file, e.g. Cmds.R, using one of the following two commands at the terminal prompt (not inside R):

R CMD BATCH Cmds.R myDiary &
Rscript Cmds.R |& tee myDiary &

or in the same fashion but remotely:

nohup R CMD BATCH Cmds.R myDiary &
nohup Rscript Cmds.R > myDiary &

File "myDiary" contains the progression of the running including error message. In case you encounter some problem with 3dKS, please send me the whole file myDiary.