Skip to content

Commit dd5ca4a

Browse files
committed
Update formula in vignette
1 parent a634500 commit dd5ca4a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

vignettes/Interatrix.qmd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ As mentionned previously, all qualitative variables must be defined as factors (
101101
There are two functions, one for each method: *chi2Corr* (accounting for risk factors) and *chi2CorrAge* (accounting for risk factors and for the cumulative effect of age).
102102

103103
The *chi2Corr* function is written:
104-
$chi2Corr(formula, data.obs, namepara1, namepara2, nsimu)$
104+
$$chi2Corr(formula, data.obs, namepara1, namepara2, nsimu)$$
105105

106106
and takes as parameters:
107107

@@ -111,7 +111,7 @@ and takes as parameters:
111111
- the number of simulations (an integer).
112112

113113
The *chi2CorrAge* function is written:
114-
$chi2CorrAge(formula, data.obs, namepara1, namepara2, nameage, w1, w2, mort, a, nsimu, nbcore = 3)$
114+
$$chi2CorrAge(formula, data.obs, namepara1, namepara2, nameage, w1, w2, mort, a, nsimu, nbcore = 3)$$
115115

116116
and takes as parameters:
117117

@@ -145,7 +145,7 @@ Via command lines, the user can define the optimal number of cores allocated for
145145

146146
Parameters taken in the example:
147147

148-
- formula = \textquotedbl $F1+F2*F3+F4$ \textquotedbl
148+
- formula = \textquotedbl $$F1+F2*F3+F4$$ \textquotedbl
149149
- data.obs = \textquotedbl dataInteratrix\textquotedbl
150150
- namepara1 = \textquotedbl Parasite1\textquotedbl
151151
- namepara2 = \textquotedbl Parasite2\textquotedbl
@@ -176,7 +176,7 @@ The conclusion is that the proportion of doubly positive hosts can be explained
176176

177177
Parameters taken in the example:
178178

179-
- formula = \textquotedbl $F1+F2+AGE$ \textquotedbl
179+
- formula = \textquotedbl $$F1+F2+AGE$$ \textquotedbl
180180
- data.obs = \textquotedbl dataInteratrix\textquotedbl
181181
- namepara1 = \textquotedbl Parasite1\textquotedbl
182182
- namepara2 = \textquotedbl Parasite2\textquotedbl

0 commit comments

Comments
 (0)