Skip to content

Comments

bug fixes - TIME mismatch and labels in individual plots#406

Open
ggPMXdevelopment wants to merge 9 commits intomasterfrom
develop
Open

bug fixes - TIME mismatch and labels in individual plots#406
ggPMXdevelopment wants to merge 9 commits intomasterfrom
develop

Conversation

@ggPMXdevelopment
Copy link
Owner

@ggPMXdevelopment ggPMXdevelopment commented Sep 3, 2025

Lazy fix for mismatch in TIME in observed and predicted data due to rounding #404

Fix accepted/ignored labels to observed/censored in individual plots #403

Close #371 Close #403 Close #404

@ggPMXdevelopment ggPMXdevelopment changed the title but fixes - TIME mismatch and labels in individual plots bug fixes - TIME mismatch and labels in individual plots Sep 3, 2025
# Rounding because "predictions" data are rounded:
point$data$isobserv <-
ifelse(round(point$data$TIME) <= point$data$maxValue, "accepted", "ignored")
ifelse(round(point$data$TIME) <= point$data$maxValue, " observed", "censored")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Are we keeping this?

R/pmx-reader.R Outdated
}
ds <- merge(ds, resi, by = c("ID", "TIME"))
#Workaround for mlx18 prec
ds <- merge(ds %>% mutate(TIME = round(TIME, 4)), resi %>% mutate(TIME = round(TIME, 4)), by = c("ID", "TIME"))
Copy link
Collaborator

Choose a reason for hiding this comment

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

Looks good to me.

Copy link
Collaborator

@mattfidler mattfidler left a comment

Choose a reason for hiding this comment

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

Looks good to me.

# ggPMX 1.3.2
* Fixed bug resulting in missing points upon mergin observations and predictions

* Changed labels in individual plots form accepted/ignored to observed/censored (Should be removed in the future)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Looks good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Observations Ignored in Individual Plots Mismatch in TIME during controller creation Change labels in pmx_plot_individual()

2 participants