Skip to content

Commit 85e6d3c

Browse files
Timothée Flutremllg
Timothée Flutre
authored andcommitted
fix links in vignette (#142)
1 parent 18f1636 commit 85e6d3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vignettes/batchtools.Rmd

+2-2
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@ It can then be reused later, e.g., when you login to the system again, by callin
188188

189189
When a registry object is created or loaded, it is stored for the active R session as the default.
190190
Therefore the argument `reg` will be ignored in functions calls of this example, assuming the correct registry is set as default.
191-
To get the current default registry, [`getDefaultRegistry`](https://mllg.github.io/batchtools/reference/makeRegistry) can be used.
192-
To switch to another registry, use [`setDefaultRegistry()`](https://mllg.github.io/batchtools/reference/makeRegistry).
191+
To get the current default registry, [`getDefaultRegistry`](https://mllg.github.io/batchtools/reference/getDefaultRegistry) can be used.
192+
To switch to another registry, use [`setDefaultRegistry()`](https://mllg.github.io/batchtools/reference/getDefaultRegistry).
193193

194194
First, we create a function which samples $n$ points $(x_i, y_i)$ whereas $x_i$ and $y_i$ are distributed uniformly, i.e. $x_i, y_i \sim \mathcal{U}(0,1)$.
195195
Next, the distance to the origin $(0, 0)$ is calculated and the fraction of points in the unit circle ($d \leq 1$) is returned.

0 commit comments

Comments
 (0)