Skip to content

Commit

Permalink
Update comment phrasing
Browse files Browse the repository at this point in the history
  • Loading branch information
aaaakshat committed Nov 3, 2021
1 parent 4db0e9c commit 4b206e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch08.r
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ mu = apply(y, c(1,2), mean)
lambdahat = -log(1-mu)
fig1 = x[,,1]

# Flip matrix since image reads the matrix bottom up
# Flip matrix since `image()` reads the matrix bottom up
flip_matrix = function(m) m[,nrow(m):1]

image(flip_matrix(fig1), col=gray.colors(255))
Expand Down

0 comments on commit 4b206e2

Please sign in to comment.