Add draft of a function to draw computation times
authorBenjamin Auder <benjamin.auder@somewhere>
Wed, 15 Jan 2020 08:33:48 +0000 (09:33 +0100)
committerBenjamin Auder <benjamin.auder@somewhere>
Wed, 15 Jan 2020 08:33:48 +0000 (09:33 +0100)
reports/printTime.R [new file with mode: 0644]

diff --git a/reports/printTime.R b/reports/printTime.R
new file mode 100644 (file)
index 0000000..3e83a12
--- /dev/null
@@ -0,0 +1,10 @@
+load("timings.RData")
+for (d in c(2,5,10))
+{
+  cat("\n")
+  for (n in 4:6)
+  {
+    cat(mean(sapply(1:100, function(i) tm[[i]]$fm[d,n])))
+    cat(" ")
+  }
+}