diff --git a/.Rbuildignore b/.Rbuildignore index 816089f..874233f 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -3,4 +3,6 @@ ^DRR\.Rcheck$ ^checkpackage\.sh$ ^\.travis\.yml$ -^scratch/ \ No newline at end of file +^scratch/ +^doc$ +^Meta$ diff --git a/.gitignore b/.gitignore index 10b927a..09b48e5 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,5 @@ dir-locals.el inst/doc /R/#DRR.R# scratch +doc +Meta diff --git a/DESCRIPTION b/DESCRIPTION index fe82f5b..3d34c1e 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -12,4 +12,4 @@ Suggests: knitr, rmarkdown VignetteBuilder: knitr LazyData: true Depends: kernlab, CVST, Matrix -RoxygenNote: 6.0.1 +RoxygenNote: 7.0.2 diff --git a/man/drr.Rd b/man/drr.Rd index fc6a9b7..c546152 100644 --- a/man/drr.Rd +++ b/man/drr.Rd @@ -4,10 +4,21 @@ \alias{drr} \title{Dimensionality Reduction via Regression} \usage{ -drr(X, ndim = ncol(X), lambda = c(0, 10^(-3:2)), kernel = "rbfdot", - kernel.pars = list(sigma = 10^(-3:4)), pca = TRUE, pca.center = TRUE, - pca.scale = FALSE, fastcv = FALSE, cv.folds = 5, fastcv.test = NULL, - fastkrr.nblocks = 4, verbose = TRUE) +drr( + X, + ndim = ncol(X), + lambda = c(0, 10^(-3:2)), + kernel = "rbfdot", + kernel.pars = list(sigma = 10^(-3:4)), + pca = TRUE, + pca.center = TRUE, + pca.scale = FALSE, + fastcv = FALSE, + cv.folds = 5, + fastcv.test = NULL, + fastkrr.nblocks = 4, + verbose = TRUE +) } \arguments{ \item{X}{input data, a matrix.}