Skip to content

Commit 3305035

Browse files
committed
Adding mass again and changing example.
1 parent 06b2b7e commit 3305035

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

DESCRIPTION

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@ RoxygenNote: 7.2.1
1919
Depends:
2020
R (>= 2.10)
2121
Imports:
22-
ggplot2
22+
ggplot2,
23+
MASS

R/VarGS_assoc.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@
2525
#' * pval, the p-value of the likelihood ratio test
2626
#' @examples
2727
#'
28-
#' n_val <- 100000L
28+
#' n_val <- 50000L
2929
#' trait_vec <- rnorm(n_val,0,1)
3030
#' var_vec <- exp(rnorm(n_val,0,0.1))
3131
#' est_vec <- trait_vec+rnorm(n_val,0,var_vec)
32-
#' res <- Var.assoc(trait_vec,est_vec,var_vec)
32+
#' res <- Var.assoc(trait_vec,est_vec,var_vec, iter = 20)
3333
#' @export
3434
Var.assoc <- function(qt, m_score, v_score, iter=50) {
3535
n <- length(qt)

man/Var.assoc.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.

0 commit comments

Comments
 (0)