From 6c3d2ff1cb9e7bd3bf1426e1ec4cecd0891ea089 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Wed, 10 Feb 2016 20:19:51 -0500 Subject: bugfixes, documentation improvements, and generic function agreement --- R/run.sparsestep.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'R/run.sparsestep.R') diff --git a/R/run.sparsestep.R b/R/run.sparsestep.R index 43017c9..0b32fd4 100644 --- a/R/run.sparsestep.R +++ b/R/run.sparsestep.R @@ -1,8 +1,8 @@ # Core SparseStep routine. This could be implemented in a low-level language # in the future, if necessary. # -run.sparsestep <- function(XX, Xy, nvars, lambda, gamma0, gammastep, gammastop, - IMsteps, force.zero, threshold) { +run.sparsestep <- function(x, y, XX, Xy, nvars, lambda, gamma0, gammastep, + gammastop, IMsteps, force.zero, threshold) { # Start solving SparseStep gamma <- gamma0 beta <- matrix(0.0, nvars, 1) -- cgit v1.2.3