Skip to content

Commit

Permalink
Help files were re-created.
Browse files Browse the repository at this point in the history
  • Loading branch information
svkucheryavski committed Jan 3, 2019
1 parent 90b7ed6 commit a129cef
Show file tree
Hide file tree
Showing 49 changed files with 151 additions and 105 deletions.
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ Author: Sergey Kucheryavskiy
Maintainer: Sergey Kucheryavskiy <[email protected]>
Description: Package implements projection based methods for preprocessing,
exploring and analysis of multivariate data used in chemometrics.
Encoding: UTF-8
License: MIT + file LICENSE
Imports:
methods,
graphics,
grDevices,
stats
RoxygenNote: 6.0.1
RoxygenNote: 6.1.1
Suggests: testthat
2 changes: 2 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ S3method(summary,simca)
S3method(summary,simcam)
S3method(summary,simcamres)
S3method(summary,simcares)
export(classres)
export(crossval)
export(erfinv)
export(getCalibrationData)
export(getConfusionMatrix)
Expand Down
4 changes: 3 additions & 1 deletion R/pca.R
Original file line number Diff line number Diff line change
Expand Up @@ -222,12 +222,14 @@ getCalibrationData.pca = function(obj, ...) {
#' PCA model (object of class \code{pca})
#' @param ncomp
#' number of components to select
#' @param ...
#' other parameters if any
#'
#' @return
#' the same model with selected number of components
#'
#' @export
selectCompNum.pca = function(model, ncomp) {
selectCompNum.pca = function(model, ncomp, ...) {
if (ncomp < 1 || ncomp > model$ncomp)
stop('Wrong number of selected components!')

Expand Down
4 changes: 3 additions & 1 deletion R/pls.R
Original file line number Diff line number Diff line change
Expand Up @@ -801,6 +801,8 @@ pls.crossval = function(model, x, y, cv, center, scale, method, jack.knife = T)
#' @param selcrit
#' criterion for selecting optimal number of components (\code{'min'} for
#' first local minimum of RMSECV and \code{'wold'} for Wold's rule.)
#' @param ...
#' other parameters if any
#'
#' @return
#' the same model with selected number of components
Expand All @@ -813,7 +815,7 @@ pls.crossval = function(model, x, y, cv, center, scale, method, jack.knife = T)
#' See examples in help for \code{\link{pls}} function.
#'
#' @export
selectCompNum.pls = function(model, ncomp = NULL, selcrit = model$ncomp.selcrit) {
selectCompNum.pls = function(model, ncomp = NULL, selcrit = model$ncomp.selcrit, ...) {
if (!is.null(ncomp)) {
# user defined number of components
if (ncomp > model$ncomp || ncomp < 0)
Expand Down
7 changes: 4 additions & 3 deletions man/getRegcoeffs.pls.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions man/ipls.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/ldecomp.getDistances.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions man/mdaplot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/mdaplot.getAxesLim.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/mdaplot.plotAxes.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/mdaplot.showLines.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/mdaplot.showRegressionLine.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 8 additions & 7 deletions man/mdaplotg.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions man/pca.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/pca.cal.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/pca.mvreplace.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/plot.randtest.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/plot.regcoeffs.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/plotCooman.simcamres.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/plotCumVariance.ldecomp.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/plotModelDistance.simcam.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/plotPerformance.classmodel.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/plotPredictions.plsres.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/plotPredictions.regres.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions man/plotRMSE.ipls.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/plotRMSE.regres.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/plotResiduals.pcares.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/plotResiduals.simcares.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/plotScores.pca.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a129cef

Please sign in to comment.