From 4b206e21dc763be88514e35eff71d6e220912c22 Mon Sep 17 00:00:00 2001 From: aaaakshat <33050725+aaaakshat@users.noreply.github.com> Date: Wed, 3 Nov 2021 12:07:25 -0400 Subject: [PATCH] Update comment phrasing --- ch08.r | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch08.r b/ch08.r index 27fb09f..ff4bc7c 100644 --- a/ch08.r +++ b/ch08.r @@ -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))