Skip to content

Commit

Permalink
General comments for review #27
Browse files Browse the repository at this point in the history
udpate documentation in corr_rm
  • Loading branch information
PHS-Meantrix committed Jan 9, 2025
1 parent 639755d commit d564f1a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
13 changes: 8 additions & 5 deletions R/corr_rm.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,22 @@
#'
#'
#' @param df \[\code{data.frame(1)}]\cr input data frame.
#' @param c \[\code{clist(1)} | \code{cmatrix(1)}]\cr correlation list output from \code{\link{corrp}} or
#' correlation matrix output from \code{\link{corr_matrix}}.
#' @param c \[\code{clist(1)} | \code{cmatrix(1)}]\cr correlation list output from the function \code{\link[corrp]{corrp}}
#' with class \code{\link[corrp]{clist}} or correlation matrix output
#' from \code{\link[corrp]{corr_matrix}} with class \code{\link[corrp]{cmatrix}}.
#' @param cutoff \[\code{numeric(1)}]\cr A numeric value for the pair-wise absolute correlation cutoff.
#' The default values is 0.75.
#' @param col \[\code{character(1)}]\cr choose the column to be used in the correlation matrix
#' @param isig \[\code{logical(1)}]\cr values that are not statistically significant will
#' be represented by NA or FALSE in the correlation matrix.
#' @param ... Additional arguments (TODO).
#' @param ... Additional arguments.
#'
#' @examples
#'
#' iris_cor <- corrp(iris)
#' corr_rm(df = iris, c = iris_cor, cutoff = 0.75, col = "infer.value", isig = FALSE)
#' iris_clist <- corrp(iris)
#' iris_cmatrix <- corr_matrix(iris_clist)
#' corr_rm(df = iris, c = iris_clist, cutoff = 0.75, col = "infer.value", isig = FALSE)
#' corr_rm(df = iris, c = iris_cmatrix, cutoff = 0.75, col = "infer.value", isig = FALSE)
#'
#' @author Igor D.S. Siciliani
#'
Expand Down
13 changes: 8 additions & 5 deletions man/corr_rm.Rd

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

0 comments on commit d564f1a

Please sign in to comment.