Skip to content

Commit

Permalink
Merge branch 'main' into create-pretty-table
Browse files Browse the repository at this point in the history
  • Loading branch information
mzayeddfe authored Oct 9, 2024
2 parents a5c4b15 + bb09eda commit 0cbe0c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/pretty.R
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ pretty_num <- function(

# Add suffix and prefix, plus convert to million or billion


# If nsmall is not given, make same value as dp
# if dp is smaller than 0, make nsmall 0
# if nsmall is specified, use that value
Expand Down Expand Up @@ -398,4 +399,5 @@ pretty_table <- function(data,
.cols = dplyr::all_of(cols_to_include),
~ pretty_num(., ...)
))

}
2 changes: 2 additions & 0 deletions man/pretty_num.Rd

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

0 comments on commit 0cbe0c6

Please sign in to comment.