Skip to content

Commit 80daaa0

Browse files
committed
More prose
1 parent 863861d commit 80daaa0

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

README.Rmd

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ summary(r_logo_image_data)
7373

7474
### Applying the Surreal Method
7575

76-
Now, let's apply the surreal method to the R logo data to hide it in a dataset:
76+
Now, let's apply the surreal method to the R logo data to hide it in a dataset.
77+
We'll want to set a seed for reproducibility purposes since the algorithm
78+
relies on an optimization routine:
7779

7880
```{r}
7981
#| label: apply-surreal-method
@@ -102,7 +104,7 @@ plot(model$fitted, model$resid, pch = 16,
102104
```
103105

104106
The residual plot reveals the original R logo with a slight border. This
105-
border is automatically added to within the surreal method to enhance the
107+
border is automatically added inside the surreal method to enhance the
106108
recovery of the hidden image in the residual plot.
107109

108110
## Hide Your Own Message

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ summary(r_logo_image_data)
7373
### Applying the Surreal Method
7474

7575
Now, let’s apply the surreal method to the R logo data to hide it in a
76-
dataset:
76+
dataset. We’ll want to set a seed for reproducibility purposes since the
77+
algorithm relies on an optimization routine:
7778

7879
``` r
7980
set.seed(114)
@@ -105,8 +106,8 @@ plot(model$fitted, model$resid, pch = 16,
105106
<img src="man/figures/README-surreal-method-residual-plot-1.png" width="100%" />
106107

107108
The residual plot reveals the original R logo with a slight border. This
108-
border is automatically added to within the surreal method to enhance
109-
the recovery of the hidden image in the residual plot.
109+
border is automatically added inside the surreal method to enhance the
110+
recovery of the hidden image in the residual plot.
110111

111112
## Hide Your Own Message
112113

0 commit comments

Comments
 (0)