Skip to content

Commit 92d8b4d

Browse files
committed
Fixing spelling and other small things for submission.
1 parent 6f66f76 commit 92d8b4d

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

DESCRIPTION

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Type: Package
22
Package: simstudy
33
Title: Simulation of Study Data
44
Version: 0.2.0
5-
Date: 2020-09-25
5+
Date: 2020-10-06
66
Authors@R:
77
c(person(given = "Keith",
88
family = "Goldfeld",
@@ -22,9 +22,9 @@ Description: Simulates data sets in order to explore modeling
2222
designs, and cluster randomized trials. Missingness can be generated
2323
using various mechanisms (MCAR, MAR, NMAR).
2424
License: GPL-3
25-
URL: https://kgoldfeld.github.io/simstudy,
26-
https://github.com/kgoldfeld/simstudy,
27-
https://github.com/kgoldfeld/simstudy/dev
25+
URL: https://github.com/kgoldfeld/simstudy,
26+
https://kgoldfeld.github.io/simstudy/,
27+
https://kgoldfeld.github.io/simstudy/dev/
2828
BugReports: https://github.com/kgoldfeld/simstudy/issues
2929
Depends:
3030
R (>= 3.2.2)

R/generate_data.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ genDummy <- function(dtName, varname, sep = ".", replace = FALSE) {
182182
#' @param varname Name of field(s) to be converted.
183183
#' @param labels Factor level labels. If not provided, the generated factor
184184
#' levels will be used as the labels. Can be a vector (if only one new factor or
185-
#' all factors have the same labeks) or a list of character vectors of the same
185+
#' all factors have the same labels) or a list of character vectors of the same
186186
#' length as varname.
187187
#' @param prefix By default, the new field name will be a concatenation of "f"
188188
#' and the old field name. A prefix string can be provided.
@@ -482,7 +482,7 @@ genMultiFac <- function(nFactors, each, levels = 2, coding = "dummy", colNames =
482482
#' assign zero probability to non-relevant columns.
483483
#' @param catVar Name of the new categorical field. Defaults to "cat". Can be a
484484
#' character vector with a name for each new variable defined via `baseprobs`.
485-
#' Will be overriden by `prefix` if more than one variable is defined and
485+
#' Will be overridden by `prefix` if more than one variable is defined and
486486
#' `length(catVar) == 1`.
487487
#' @param asFactor If `asFactor == TRUE` (default), new field is returned
488488
#' as a factor. If `asFactor == FALSE`, new field is returned as an integer.

cran-comments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Resubmission 2020OCT05
1+
## Resubmission 2020OCT06
22

33
This is a resubmission of version 0.2.0
44

man/genFactor.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/genOrdCat.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/simstudy-package.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vignettes/simstudy.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ Until this point, we have been generating new data sets, building them up from s
264264

265265
### defDataAdd/readDataAdd and addColumns
266266

267-
There are several important functions that facilitate the augementation of data sets. `defDataAdd` and `readDataAdd` are similar to their counterparts `defData` and `readData`; they create data definition tables that will be used by the function `addColumns`. The formulas in these "*add*-ing" functions are permitted to refer to fields that exist in the data set to be augmented, so all variables need not be defined in the current definition able.
267+
There are several important functions that facilitate the augmentation of data sets. `defDataAdd` and `readDataAdd` are similar to their counterparts `defData` and `readData`; they create data definition tables that will be used by the function `addColumns`. The formulas in these "*add*-ing" functions are permitted to refer to fields that exist in the data set to be augmented, so all variables need not be defined in the current definition able.
268268

269269
```{r}
270270
d1 <- defData(varname = "x1", formula = 0, variance = 1, dist = "normal")

0 commit comments

Comments
 (0)