Skip to content

Commit

Permalink
More prose
Browse files Browse the repository at this point in the history
  • Loading branch information
coatless committed Sep 14, 2024
1 parent 863861d commit 80daaa0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
6 changes: 4 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ summary(r_logo_image_data)

### Applying the Surreal Method

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

```{r}
#| label: apply-surreal-method
Expand Down Expand Up @@ -102,7 +104,7 @@ plot(model$fitted, model$resid, pch = 16,
```

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

## Hide Your Own Message
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ summary(r_logo_image_data)
### Applying the Surreal Method

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

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

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

## Hide Your Own Message

Expand Down

0 comments on commit 80daaa0

Please sign in to comment.