Skip to content

Commit f4a5bcc

Browse files
committed
rename sggm => grasps
1 parent ce47c3b commit f4a5bcc

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

NAMESPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Generated by roxygen2: do not edit by hand
22

3-
export(sggm)
3+
export(grasps)
44
importFrom(Rcpp,evalCpp)
55
importFrom(Rdpack,reprompt)
66
importFrom(stats,cov)

R/grasps.R

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -144,14 +144,14 @@
144144
#'
145145
#' @export
146146

147-
sggm <- function(X, n = nrow(X), membership, penalty,
148-
diag.ind = TRUE, diag.grp = TRUE, diag.include = FALSE,
149-
lambda = NULL, alpha = NULL, gamma = NULL,
150-
nlambda = 10, lambda.min.ratio = 0.01,
151-
growiter.lambda = 30, tol.lambda = 1e-03, maxiter.lambda = 50,
152-
rho = 2, tau.incr = 2, tau.decr = 2, nu = 10,
153-
tol.abs = 1e-04, tol.rel = 1e-04, maxiter = 1e+04,
154-
crit = "BIC", kfold = 5, ebic.tuning = 0.5) {
147+
grasps <- function(X, n = nrow(X), membership, penalty,
148+
diag.ind = TRUE, diag.grp = TRUE, diag.include = FALSE,
149+
lambda = NULL, alpha = NULL, gamma = NULL,
150+
nlambda = 10, lambda.min.ratio = 0.01,
151+
growiter.lambda = 30, tol.lambda = 1e-03, maxiter.lambda = 50,
152+
rho = 2, tau.incr = 2, tau.decr = 2, nu = 10,
153+
tol.abs = 1e-04, tol.rel = 1e-04, maxiter = 1e+04,
154+
crit = "BIC", kfold = 5, ebic.tuning = 0.5) {
155155

156156
p <- ncol(X)
157157

man/sggm.Rd renamed to man/grasps.Rd

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

0 commit comments

Comments
 (0)