summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--r.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/r.html.markdown b/r.html.markdown
index e90d5a97..c3422d2d 100644
--- a/r.html.markdown
+++ b/r.html.markdown
@@ -405,7 +405,7 @@ mat
# [2,] 2 5
# [3,] 3 6
# Unlike a vector, the class of a matrix is "matrix", no matter what's in it
-class(mat) # => "matrix"
+class(mat) # => "matrix" "array"
# Ask for the first row
mat[1,] # 1 4
# Perform operation on the first column