Skip to content
Snippets Groups Projects
Commit fa55737b authored by Nathalie Vialaneix's avatar Nathalie Vialaneix
Browse files

fixed #1: allows data.frame as input for SISIR

parent 42ed3414
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@
#' Remi Servien, \email{remi.servien@inrae.fr}\cr
#' Nathalie Vialaneix, \email{nathalie.vialaneix@inrae.fr}}
#'
#' @references {Picheny, V., Servien, R. and Villa-Vialaneix, N. (2016)
#' @references {Picheny, V., Servien, R. and Villa-Vialaneix, N. (2019)
#' Interpretable sparse SIR for digitized functional data.
#' \emph{Statistics and Computing}, \strong{29}(2), 255--267.}
#'
......@@ -72,6 +72,8 @@
#'
ridgeSIR <- function(x, y, H, d, mu2 = NULL) {
if (is.data.frame(x)) x <- as.matrix(x)
oldwarn <- getOption("warn")
options(warn = -1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment