Skip to content

Commit

Permalink
fine del fix
Browse files Browse the repository at this point in the history
  • Loading branch information
spedygiorgio committed May 16, 2023
1 parent 77d264b commit 4eb1ec1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vignettes/higher_order_markov_chains.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ object <- fitHighOrderMultivarMC(sales, order = 8, Norm = 2)
We choose to show only results shown in the paper. We see that $\lambda$ values are quite close, but not equal, to those shown in the original paper.

```{r result, echo = FALSE}
if (requireNamespace("Rsolnp", quietly = TRUE)) {
i <- c(1, 2, 2, 3, 4, 4, 4, 5, 5, 5)
j <- c(2, 2, 2, 5, 2, 5, 5, 2, 4, 5)
k <- c(1, 1, 3, 1, 8, 1, 2, 8, 1, 2)
Expand All @@ -295,6 +296,9 @@ for(p in 1:10) {
print(object@P[, , t+k[p]])
cat("\n")
}
} else {
print("package Rsolnp unavailable")
}
```

# References

0 comments on commit 4eb1ec1

Please sign in to comment.