Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

254 decimals display of parameters #257

Merged
merged 3 commits into from
Jun 12, 2024

Conversation

LittleBeannie
Copy link
Collaborator

No description provided.

@LittleBeannie LittleBeannie self-assigned this Jun 12, 2024
@LittleBeannie LittleBeannie linked an issue Jun 12, 2024 that may be closed by this pull request
@LittleBeannie LittleBeannie added the development New feature or request label Jun 12, 2024
R/wlr.R Outdated
@@ -108,7 +108,7 @@ wlr <- function(data, weight, return_variance = FALSE) {
} else if (inherits(weight, "early_period")) {
x <- x |> early_zero_weight(early_period = weight$early_period, fail_rate = weight$fail_rate)

ans$parameter <- paste0("Xu 2017 with first ", weight$early_period, " months of 0 weights")
ans$parameter <- paste0("Xu 2017 with first ", around(weight$early_period, 4), " months of 0 weights")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
ans$parameter <- paste0("Xu 2017 with first ", around(weight$early_period, 4), " months of 0 weights")
ans$parameter <- paste0("Xu 2017 with first ", round(weight$early_period, 4), " months of 0 weights")

@LittleBeannie LittleBeannie merged commit 23449e0 into main Jun 12, 2024
7 checks passed
@LittleBeannie LittleBeannie deleted the 254-decimals-display-of-parameters branch June 12, 2024 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Decimals display of parameters
2 participants