You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With how is build the function h_g_ipp, currently we cannot color by something else than patient ID. My colleague try to color by Japanese vs Rest of the world, but the lines were not grouped by patient:
Therefore, he had to add a new parameter 'col_var' in the function h_g_ipp and add
col_var in all the ggplot functions (below id_var): p <- ggplot2::ggplot(
data = df,
mapping = ggplot2::aes(
x = .data[[xvar]],
y = .data[[yvar]],
group = .data[[id_var]],
colour = .data[[col_var]]
)
)
In the end, he got his correct plot:
Code of Conduct
I agree to follow this project's Code of Conduct.
Contribution Guidelines
I agree to follow this project's Contribution Guidelines.
Security Policy
I agree to follow this project's Security Policy.
The text was updated successfully, but these errors were encountered:
Feature description
tern/R
/individual_patient_plot.R
Dear NEST,
With how is build the function h_g_ipp, currently we cannot color by something else than patient ID. My colleague try to color by Japanese vs Rest of the world, but the lines were not grouped by patient:
Therefore, he had to add a new parameter 'col_var' in the function h_g_ipp and add
col_var in all the ggplot functions (below id_var):
p <- ggplot2::ggplot(
data = df,
mapping = ggplot2::aes(
x = .data[[xvar]],
y = .data[[yvar]],
group = .data[[id_var]],
colour = .data[[col_var]]
)
)
In the end, he got his correct plot:
Code of Conduct
Contribution Guidelines
Security Policy
The text was updated successfully, but these errors were encountered: