summaryrefslogtreecommitdiffhomepage
path: root/r.html.markdown
diff options
context:
space:
mode:
authorJohannes Choo <aquaroris@gmail.com>2013-08-11 20:11:44 +0800
committerJohannes Choo <aquaroris@gmail.com>2013-08-11 20:11:44 +0800
commit2f1db5d8ae8a8c437e9c225211dadaf7b1f0c58d (patch)
tree3d6c86dfdef360dd8c51b6e494964f28b434df23 /r.html.markdown
parent28b26b85ff3a94501adc0550c484c90d3e76fb90 (diff)
fixed wrong sample output in r.htl.markdown
Diffstat (limited to 'r.html.markdown')
-rw-r--r--r.html.markdown12
1 files changed, 7 insertions, 5 deletions
diff --git a/r.html.markdown b/r.html.markdown
index dd94072b..e4adb5dc 100644
--- a/r.html.markdown
+++ b/r.html.markdown
@@ -428,15 +428,17 @@ array(c(c(c(2,300,4),c(8,9,0)),c(c(5,60,0),c(66,7,847))), dim=c(3,2,2))
# =>
# , , 1
#
-# [,1] [,2]
-# [1,] 1 4
-# [2,] 2 5
+# [,1] [,2]
+# [1,] 2 8
+# [2,] 300 9
+# [3,] 4 0
#
# , , 2
#
# [,1] [,2]
-# [1,] 8 1
-# [2,] 9 2
+# [1,] 5 66
+# [2,] 60 7
+# [3,] 0 847
# LISTS (MULTI-DIMENSIONAL, POSSIBLY RAGGED, OF DIFFERENT TYPES)