diff --git a/DESCRIPTION b/DESCRIPTION index b5714a3..1fd310a 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -27,5 +27,5 @@ URL: http://github.com/AnestisTouloumis/SimCorMultRes BugReports: http://github.com/AnestisTouloumis/SimCorMultRes/issues License: GPL-3 VignetteBuilder: knitr -RoxygenNote: 6.1.1 +RoxygenNote: 7.1.1 Encoding: UTF-8 diff --git a/man/rbin.Rd b/man/rbin.Rd index 8fb2990..1e1ebb5 100644 --- a/man/rbin.Rd +++ b/man/rbin.Rd @@ -5,9 +5,16 @@ \title{Simulating Correlated Binary Responses Conditional on a Marginal Model Specification} \usage{ -rbin(clsize = clsize, intercepts = intercepts, betas = betas, - xformula = formula(xdata), xdata = parent.frame(), link = "logit", - cor.matrix = cor.matrix, rlatent = NULL) +rbin( + clsize = clsize, + intercepts = intercepts, + betas = betas, + xformula = formula(xdata), + xdata = parent.frame(), + link = "logit", + cor.matrix = cor.matrix, + rlatent = NULL +) } \arguments{ \item{clsize}{integer indicating the common cluster size.} diff --git a/man/rmult.acl.Rd b/man/rmult.acl.Rd index 6f803ff..cba380d 100644 --- a/man/rmult.acl.Rd +++ b/man/rmult.acl.Rd @@ -5,9 +5,15 @@ \title{Simulating Correlated Ordinal Responses Conditional on a Marginal Adjacent-Category Logit Model Specification} \usage{ -rmult.acl(clsize = clsize, intercepts = intercepts, betas = betas, - xformula = formula(xdata), xdata = parent.frame(), - cor.matrix = cor.matrix, rlatent = NULL) +rmult.acl( + clsize = clsize, + intercepts = intercepts, + betas = betas, + xformula = formula(xdata), + xdata = parent.frame(), + cor.matrix = cor.matrix, + rlatent = NULL +) } \arguments{ \item{clsize}{integer indicating the common cluster size.} diff --git a/man/rmult.bcl.Rd b/man/rmult.bcl.Rd index 7cb5090..eb4dc5f 100644 --- a/man/rmult.bcl.Rd +++ b/man/rmult.bcl.Rd @@ -5,9 +5,15 @@ \title{Simulating Correlated Nominal Responses Conditional on a Marginal Baseline-Category Logit Model Specification} \usage{ -rmult.bcl(clsize = clsize, ncategories = ncategories, betas = betas, - xformula = formula(xdata), xdata = parent.frame(), - cor.matrix = cor.matrix, rlatent = NULL) +rmult.bcl( + clsize = clsize, + ncategories = ncategories, + betas = betas, + xformula = formula(xdata), + xdata = parent.frame(), + cor.matrix = cor.matrix, + rlatent = NULL +) } \arguments{ \item{clsize}{integer indicating the common cluster size.} diff --git a/man/rmult.clm.Rd b/man/rmult.clm.Rd index a115326..984d007 100644 --- a/man/rmult.clm.Rd +++ b/man/rmult.clm.Rd @@ -5,9 +5,16 @@ \title{Simulating Correlated Ordinal Responses Conditional on a Marginal Cumulative Link Model Specification} \usage{ -rmult.clm(clsize = clsize, intercepts = intercepts, betas = betas, - xformula = formula(xdata), xdata = parent.frame(), link = "logit", - cor.matrix = cor.matrix, rlatent = NULL) +rmult.clm( + clsize = clsize, + intercepts = intercepts, + betas = betas, + xformula = formula(xdata), + xdata = parent.frame(), + link = "logit", + cor.matrix = cor.matrix, + rlatent = NULL +) } \arguments{ \item{clsize}{integer indicating the common cluster size.} diff --git a/man/rmult.crm.Rd b/man/rmult.crm.Rd index 82aea20..fb2a35e 100644 --- a/man/rmult.crm.Rd +++ b/man/rmult.crm.Rd @@ -5,9 +5,16 @@ \title{Simulating Correlated Ordinal Responses Conditional on a Marginal Continuation-Ratio Model Specification} \usage{ -rmult.crm(clsize = clsize, intercepts = intercepts, betas = betas, - xformula = formula(xdata), xdata = parent.frame(), link = "logit", - cor.matrix = cor.matrix, rlatent = NULL) +rmult.crm( + clsize = clsize, + intercepts = intercepts, + betas = betas, + xformula = formula(xdata), + xdata = parent.frame(), + link = "logit", + cor.matrix = cor.matrix, + rlatent = NULL +) } \arguments{ \item{clsize}{integer indicating the common cluster size.} diff --git a/man/rnorta.Rd b/man/rnorta.Rd index 9214692..971e8be 100644 --- a/man/rnorta.Rd +++ b/man/rnorta.Rd @@ -4,8 +4,7 @@ \alias{rnorta} \title{Simulating Random Vectors using the NORTA Method} \usage{ -rnorta(R = R, cor.matrix = cor.matrix, distr = distr, - qparameters = NULL) +rnorta(R = R, cor.matrix = cor.matrix, distr = distr, qparameters = NULL) } \arguments{ \item{R}{integer indicating the sample size.} diff --git a/man/rsmvnorm.Rd b/man/rsmvnorm.Rd index 8f0b0ea..5f2577a 100644 --- a/man/rsmvnorm.Rd +++ b/man/rsmvnorm.Rd @@ -30,7 +30,7 @@ assessed via eigenvalues. ## equal to 0.4. set.seed(1) sample_size <- 10000 -correlation_matrix <- stats::toeplitz(c(1, 0.4)) +correlation_matrix <- toeplitz(c(1, 0.4)) simulated_normal_responses <- rsmvnorm(R = sample_size, cor.matrix = correlation_matrix) colMeans(simulated_normal_responses)