savepoint

This commit is contained in:
Stefan Dresselhaus
2017-10-27 14:31:55 +02:00
parent 5b22c181be
commit f901716f60
104 changed files with 2941 additions and 866 deletions

View File

@ -0,0 +1,26 @@
#!/bin/bash
# regularity,variability,improvement,"Evolution error",steps
# 6.57581e-05,0.00592209,0.622392,113.016,2368
if [[ -f "$2" ]]; then
R -q --slave --vanilla <<EOF
print("================ Analyzing $2")
#library(Hmisc)
DF=as.matrix(read.csv("$2",header=TRUE))
print("Mean:")
mean(DF[,$1])
print("Median:")
median(DF[,$1])
print("Sigma:")
sd(DF[,$1])
print("Range:")
range(DF[,$1])
EOF
else
echo "Usage: $0 <column> <Filename.csv>"
fi

View File

@ -1,4 +1,4 @@
"5x5","7x4","4x7","7x7","10x10"
"5x5","4x7","7x4","7x7","10x10"
218.554,280.917,211.096,126.241,15.0742
215.888,315.729,233.828,110.962,19.0281
274.375,264.639,205.276,125.853,11.8948

1 5x5 4x7 7x4 7x7 10x10
2 218.554 211.096 280.917 280.917 211.096 126.241 15.0742
3 215.888 233.828 315.729 315.729 233.828 110.962 19.0281
4 274.375 205.276 264.639 264.639 205.276 125.853 11.8948

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB