Skip to content

Commit

Permalink
typos in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
carlesmila committed Mar 7, 2024
1 parent 3d2a5db commit 761ec97
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion R/aoa.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#' Relevant if some data points are excluded, e.g. when using \code{\link{nndm}}.
#' @param method Character. Method used for distance calculation. Currently euclidean distance (L2) and Mahalanobis distance (MD) are implemented but only L2 is tested. Note that MD takes considerably longer.
#' @param useWeight Logical. Only if a model is given. Weight variables according to importance in the model?
#' @param LPD Logical. Indicates weather the local point density should be calculated or not.
#' @param LPD Logical. Indicates whether the local point density should be calculated or not.
#' @param maxLPD numeric or integer. Only if \code{LPD = TRUE}. Number of nearest neighbors to be considered for the calculation of the LPD. Either define a number between 0 and 1 to use a percentage of the number of training samples for the LPD calculation or a whole number larger than 1 and smaller than the number of training samples. CAUTION! If not all training samples are considered, a fitted relationship between LPD and error metric will not make sense (@seealso \code{\link{DItoErrormetric}})
#' @details The Dissimilarity Index (DI), the Local Data Point Density (LPD) and the corresponding Area of Applicability (AOA) are calculated.
#' If variables are factors, dummy variables are created prior to weighting and distance calculation.
Expand Down
2 changes: 1 addition & 1 deletion R/trainDI.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#' Relevant if some data points are excluded, e.g. when using \code{\link{nndm}}.
#' @param method Character. Method used for distance calculation. Currently euclidean distance (L2) and Mahalanobis distance (MD) are implemented but only L2 is tested. Note that MD takes considerably longer.
#' @param useWeight Logical. Only if a model is given. Weight variables according to importance in the model?
#' @param LPD Logical. Indicates wheather the local point density should be calculated or not.
#' @param LPD Logical. Indicates whether the local point density should be calculated or not.
#'
#' @seealso \code{\link{aoa}}
#' @importFrom graphics boxplot
Expand Down
2 changes: 1 addition & 1 deletion man/aoa.Rd

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

2 changes: 1 addition & 1 deletion man/trainDI.Rd

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

0 comments on commit 761ec97

Please sign in to comment.