Skip to content

Commit c326bf4

Browse files
author
Raphael Sonabend
committed
Update create_wrapper.Rmd
Branch: master
1 parent 6e589fa commit c326bf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vignettes/webs/create_wrapper.rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ M$parameters()
3333
As the constructor may change the names of parameters, the `setParameterValue` is overloaded to ensure the correct `ParameterSet` from the corresponding distribution is updated. So given the example above, if a user wants to update the first Binomial distribution
3434

3535
```{r}
36-
M$setParameterValue(Binom1_prob = 0.2)
36+
M$setParameterValue(Binom1__prob = 0.2)
3737
```
3838

3939
And internally the parameter name is split at the underscore and updates the parameter of the first Binomial distribution, notice now that both the external representation of the combined `ParameterSet` is updated as well as the one in the internal model

0 commit comments

Comments
 (0)