Skip to content

Commit 3d13ac5

Browse files
committed
Rework docs source
1 parent cbe5e79 commit 3d13ac5

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

R/ds.glm.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
#' The \code{data} argument avoids you having to specify the name of the
6464
#' data frame in front of each covariate in the formula.
6565
#' For example, if the data frame is called \code{DataFrame} you
66-
#' avoid having to write: \eqn{DataFrame$y~DataFrame$a+DataFrame$b+DataFrame$c+DataFrame$d}
66+
#' avoid having to write: \eqn{DataFrame$y ~ DataFrame$a + DataFrame$b + DataFrame$c + DataFrame$d}
6767
#'
6868
#' The \code{checks} argument verifies that the variables in the model are all defined (exist)
6969
#' on the server-side at every study

R/ds.glmSLMA.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
#' The \code{dataName} argument avoids you having to specify the name of the
135135
#' data frame in front of each covariate in the formula.
136136
#' For example, if the data frame is called \code{DataFrame} you
137-
#' avoid having to write: \eqn{DataFrame$y~DataFrame$a+DataFrame$b+DataFrame$c+DataFrame$d}
137+
#' avoid having to write: \eqn{DataFrame$y ~ DataFrame$a + DataFrame$b + DataFrame$c + DataFrame$d}
138138
#'
139139
#' The \code{checks} argument verifies that the variables in the model are all defined (exist)
140140
#' on the server-site at every study

R/ds.glmerSLMA.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#' The \code{dataName} argument avoids you having to specify the name of the
3535
#' data frame in front of each covariate in the formula.
3636
#' For example, if the data frame is called \code{DataFrame} you avoid having to write:
37-
#' \eqn{DataFrame$y~DataFrame$a+DataFrame$b+(1|DataFrame$c)}.
37+
#' \eqn{DataFrame$y ~ DataFrame$a + DataFrame$b + (1 | DataFrame$c)}.
3838
#'
3939
#' The \code{checks} argument verifies that the variables in the model are all defined (exist)
4040
#' on the server-site at every study

R/ds.lmerSLMA.R

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,20 @@
1818
#'
1919
#' In \code{formula} most shortcut notation allowed by \code{lmer()} function is
2020
#' also allowed by \code{ds.lmerSLMA}. Many LMEs can be fitted very simply using a formula like:
21-
#' \deqn{y~a+b+(1|c)}
21+
#' \deqn{y ~ a + b + (1 | c)}
2222
#' which simply means fit an LME with \code{y} as the outcome variable with \code{a} and \code{b}
2323
#' as fixed effects, and \code{c} as a random effect or grouping factor.
2424
#'
2525
#' It is also possible to fit models with random slopes by specifying a model such as
26-
#' \deqn{y~a+b+(1+b|c)}
26+
#' \deqn{y ~ a + b + (1 + b | c)}
2727
#' where the effect of \code{b} can vary randomly between groups defined by \code{c}.
28-
#' Implicit nesting can be specified with formulae such as \eqn{y~a+b+(1|c/d)}
29-
#' or \eqn{y~a+b+(1|c)+(1|c:d)}.
28+
#' Implicit nesting can be specified with formulae such as \eqn{y ~ a + b + (1 | c / d)}
29+
#' or \eqn{y ~ a + b + (1 | c) + (1 | c : d)}.
3030
#'
3131
#' The \code{dataName} argument avoids you having to specify the name of the
3232
#' data frame in front of each covariate in the formula.
3333
#' For example, if the data frame is called \code{DataFrame} you avoid having to write:
34-
#' \eqn{DataFrame$y~DataFrame$a+DataFrame$b+(1|DataFrame$c)}.
34+
#' \eqn{DataFrame$y ~ DataFrame$a + DataFrame$b + (1 | DataFrame$c)}.
3535
#'
3636
#' The \code{checks} argument verifies that the variables in the model are all defined (exist)
3737
#' on the server-site at every study
@@ -192,7 +192,7 @@
192192
#'
193193
#' # Fit the lmer
194194
#'
195-
#' ds.lmerSLMA(formula = "BMI ~ incid_rate + diabetes + (1 | Male)",
195+
#' ds.lmerSLMA(formula = "BMI ~ incid_rate + diabetes + (1 | Male)",
196196
#' dataName = "D.comp",
197197
#' datasources = connections)
198198
#'

0 commit comments

Comments
 (0)