Skip to content

n_factors is ignored #9

@m-clark

Description

@m-clark

Currently n_factors arg in corr_heat is ignored at the point of checking for problematic input for small K column data (e.g. more factors than data would warrant).

  if (!plot_only) {
    if (rlang::is_null(dimnames(cormat))) 
      stop("Need a correlation matrix with row and column names")
    if (!rlang::is_null(n_factors) && nc < 4) {
      n_factors <- 1
    }
    else {
      n_factors <- floor(sqrt(nc))
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions