Skip to content

Commit

Permalink
DS-2405: Fix print.Calibrate
Browse files Browse the repository at this point in the history
  • Loading branch information
chschan committed Jun 3, 2019
1 parent 3ee8701 commit 2067588
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ Remotes:
Displayr/flipTime,
Displayr/flipTransformations,
Displayr/flipU
Encoding: UTF-8
3 changes: 2 additions & 1 deletion R/calibrate.R
Original file line number Diff line number Diff line change
Expand Up @@ -206,5 +206,6 @@ print.Calibrate <- function (x, ...) {

ess = flipData::EffectiveSampleSize(x)
ess.percent = round(ess / length(x) * 100)
paste0("Effective sample size: ", flipFormat::FormatAsReal(ess, decimals = 0), " (", ess.percent, "%)")
result <- paste0("Effective sample size: ", flipFormat::FormatAsReal(ess, decimals = 0), " (", ess.percent, "%)")
cat(result)
}
2 changes: 1 addition & 1 deletion man/Calibrate.Rd

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

4 changes: 2 additions & 2 deletions man/print.Calibrate.Rd

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

0 comments on commit 2067588

Please sign in to comment.