Skip to content

Commit

Permalink
Update full URL to meet CRAN's requirement.
Browse files Browse the repository at this point in the history
  • Loading branch information
ntthung committed Feb 10, 2021
1 parent 5f88d72 commit 44caade
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/R-utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#' @param add_attr If TRUE, the column means and standard deviations are returned as attributes. This is consistent with [base::scale()].
#' @return The scaled matrix.
#' @section Reference:
#' This function was adopted from John Muschelli's code on \href{hopstat.wordpress.com/2016/02/23/a-faster-scale-function/}{StackOverflow}, but I changed the underlying functions to calculate mean and standard deviation from `matrixStats` to `Rfast`, which is much faster.
#' This function was adopted from John Muschelli's code on \href{https://hopstat.wordpress.com/2016/02/23/a-faster-scale-function/}{StackOverflow}, but I changed the underlying functions to calculate mean and standard deviation from `matrixStats` to `Rfast`, which is much faster.
colScale <- function(x, add_attr = TRUE) {

# Get the column means
Expand Down
2 changes: 1 addition & 1 deletion man/colScale.Rd

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

0 comments on commit 44caade

Please sign in to comment.