Skip to content

add digits argument to mifa.print #5

Description

@Teebusch
library(mifa)
library(psych)

mi <- mifa(
  data      = bfi, 
  cov_vars  = -c(gender, education, age),
  n_pc      = 2:8, 
  ci        = "fieller", 
  print     = FALSE
)

print(mi, digits = 3)  # digits has no effect

print(mi$var_explained, digits = 3)  # digits has desired effect

Desired behavior: passing the digits argument to print.mifa() should change the number digits printed in the variance explained part of the summary output, as is the case when using print() on mi$var_explained

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions