From d4b1835635835a76c4a80c3e1420093871dc766f Mon Sep 17 00:00:00 2001 From: "Aaron A. King" Date: Wed, 24 Jan 2024 07:58:13 -0500 Subject: [PATCH] style change --- vignettes/C_API.Rmd | 8 ++--- vignettes/C_API.html | 56 +++++++++++++++++--------------- vignettes/FAQ.Rmd | 2 +- vignettes/FAQ.html | 50 +++++++++++++++-------------- vignettes/He2010.Rmd | 2 +- vignettes/He2010.html | 50 +++++++++++++++-------------- vignettes/R_v_C.Rmd | 2 +- vignettes/R_v_C.html | 58 ++++++++++++++++++---------------- vignettes/getting_started.Rmd | 2 +- vignettes/getting_started.html | 50 +++++++++++++++-------------- vignettes/oaxaca.Rmd | 2 +- vignettes/oaxaca.html | 50 +++++++++++++++-------------- vignettes/upgrade_guide.Rmd | 2 +- vignettes/upgrade_guide.html | 50 +++++++++++++++-------------- 14 files changed, 206 insertions(+), 178 deletions(-) diff --git a/vignettes/C_API.Rmd b/vignettes/C_API.Rmd index 8a2423224..6652153aa 100644 --- a/vignettes/C_API.Rmd +++ b/vignettes/C_API.Rmd @@ -3,7 +3,7 @@ title: 'pomp C API' output: html_document: theme: null - highlight: haddock + highlight: tango toc: yes toc_depth: 3 params: @@ -48,7 +48,7 @@ $$\mathbb{E}\left[X\right]=n\,p\qquad\text{and}\qquad\mathrm{Var}\left[X\right]= double dmultinom(int m, const double *prob, double *x, int give_log); ``` -The **R** C API provides a simulator for the multinomial distribution, `rmultinom`. +The [**R** C API](https://CRAN.R-project.org/doc/manuals/r-release/R-exts.html#The-R-API) provides a [simulator for the multinomial distribution, `rmultinom`](https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Distribution-functions). See the "Rmath.h" header file for information on this facility. **pomp** provides an evaluator for the probability mass function (`dmultinom`) for this distribution. @@ -83,7 +83,7 @@ Input: On return, `trans[0]`, ..., `trans[m-1]` will be the numbers of individuals making each of the respective transitions. -See [`?reulermultinom`](https://kingaa.github.io/manuals/pomp/html/distributions.html) and [FAQ 3.6](./FAQ.html#eulermultinomial-approximation) for more on the Euler-multinomial distributions. +See [`?reulermultinom`](https://kingaa.github.io/manuals/pomp/html/eulermultinom.html) and [FAQ 3.6](./FAQ.html#eulermultinomial-approximation) for more on the Euler-multinomial distributions. **NB:** `reulermultinom` does not call `GetRNGstate()` or `PutRNGstate()` internally. This must be done by the calling program. @@ -110,7 +110,7 @@ Input: The value returned is the probability or log probability (as requested). -See [`?deulermultinom`](https://kingaa.github.io/manuals/pomp/html/distributions.html) and [FAQ 3.6](./FAQ.html#eulermultinomial-approximation) for more on the Euler-multinomial distributions. +See [`?deulermultinom`](https://kingaa.github.io/manuals/pomp/html/eulermultinom.html) and [FAQ 3.6](./FAQ.html#eulermultinomial-approximation) for more on the Euler-multinomial distributions. ### Gamma white noise diff --git a/vignettes/C_API.html b/vignettes/C_API.html index 6caa4127c..6ab8238ae 100644 --- a/vignettes/C_API.html +++ b/vignettes/C_API.html @@ -93,34 +93,38 @@ } pre.numberSource { margin-left: 3em; border-left: 1px solid #aaaaaa; padding-left: 4px; } div.sourceCode - { } + { background-color: #f8f8f8; } @media screen { pre > code.sourceCode > span > a:first-child::before { text-decoration: underline; } } -code span.al { color: #ff0000; } /* Alert */ -code span.an { color: #008000; } /* Annotation */ -code span.at { } /* Attribute */ -code span.bu { } /* BuiltIn */ -code span.cf { color: #0000ff; } /* ControlFlow */ -code span.ch { color: #008080; } /* Char */ -code span.cn { } /* Constant */ -code span.co { color: #008000; } /* Comment */ -code span.cv { color: #008000; } /* CommentVar */ -code span.do { color: #008000; } /* Documentation */ -code span.er { color: #ff0000; font-weight: bold; } /* Error */ +code span.al { color: #ef2929; } /* Alert */ +code span.an { color: #8f5902; font-weight: bold; font-style: italic; } /* Annotation */ +code span.at { color: #c4a000; } /* Attribute */ +code span.bn { color: #0000cf; } /* BaseN */ +code span.cf { color: #204a87; font-weight: bold; } /* ControlFlow */ +code span.ch { color: #4e9a06; } /* Char */ +code span.cn { color: #000000; } /* Constant */ +code span.co { color: #8f5902; font-style: italic; } /* Comment */ +code span.cv { color: #8f5902; font-weight: bold; font-style: italic; } /* CommentVar */ +code span.do { color: #8f5902; font-weight: bold; font-style: italic; } /* Documentation */ +code span.dt { color: #204a87; } /* DataType */ +code span.dv { color: #0000cf; } /* DecVal */ +code span.er { color: #a40000; font-weight: bold; } /* Error */ code span.ex { } /* Extension */ +code span.fl { color: #0000cf; } /* Float */ +code span.fu { color: #000000; } /* Function */ code span.im { } /* Import */ -code span.in { color: #008000; } /* Information */ -code span.kw { color: #0000ff; } /* Keyword */ -code span.op { } /* Operator */ -code span.ot { color: #ff4000; } /* Other */ -code span.pp { color: #ff4000; } /* Preprocessor */ -code span.sc { color: #008080; } /* SpecialChar */ -code span.ss { color: #008080; } /* SpecialString */ -code span.st { color: #008080; } /* String */ -code span.va { } /* Variable */ -code span.vs { color: #008080; } /* VerbatimString */ -code span.wa { color: #008000; font-weight: bold; } /* Warning */ +code span.in { color: #8f5902; font-weight: bold; font-style: italic; } /* Information */ +code span.kw { color: #204a87; font-weight: bold; } /* Keyword */ +code span.op { color: #ce5c00; font-weight: bold; } /* Operator */ +code span.ot { color: #8f5902; } /* Other */ +code span.pp { color: #8f5902; font-style: italic; } /* Preprocessor */ +code span.sc { color: #000000; } /* SpecialChar */ +code span.ss { color: #4e9a06; } /* SpecialString */ +code span.st { color: #4e9a06; } /* String */ +code span.va { color: #000000; } /* Variable */ +code span.vs { color: #4e9a06; } /* VerbatimString */ +code span.wa { color: #8f5902; font-weight: bold; font-style: italic; } /* Warning */