Skip to content

Commit 91eafd6

Browse files
reknitting
1 parent 3262b16 commit 91eafd6

6 files changed

Lines changed: 6 additions & 3 deletions

File tree

DESCRIPTION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ Suggests:
4747
rmarkdown,
4848
testthat (>= 3.0.0),
4949
tidyverse,
50+
mvtnorm,
5051
withr
5152
VignetteBuilder:
5253
knitr

man/isTwin.Rd

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
22.7 KB
Loading
16.6 KB
Loading
17.4 KB
Loading

vignettes/v6_pedigree_model_fitting.Rmd

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ if (!has_mvtnorm) {
5252
"mvtnorm is not installed. Data simulation examples will not run.\n",
5353
"Install mvtnorm with: install.packages('mvtnorm')"
5454
)
55+
} else {
56+
library(mvtnorm)
5557
}
5658
5759
run_models <- has_openmx && has_mvtnorm
@@ -257,9 +259,8 @@ ytemp <- paste("S", rownames(add_matrix))
257259

258260
```{r show-phenotype}
259261
260-
if (is.null(y)) {
262+
if (!exists("y")) {
261263
y <- rep(NA, nrow(add_matrix))
262-
263264
}
264265
265266
```

0 commit comments

Comments
 (0)