Is there a possibility to exclude different points for different facets? For example, if I select one of the posted examples:
qic(month, n,
n = days,
data = hospital_infections,
facets = infection ~ hospital,
chart = 'u',
multiply = 10000,
title = 'Hospital infection rates',
ylab = 'Number of infections per 10.000 risk days',
xlab = 'Month')
And get this plot:
I can define a random vector to remove points:
to_exclude <- c(1:5, 10:12)
qic(month, n,
n = days,
data = hospital_infections,
facets = infection ~ hospital,
chart = 'u',
multiply = 10000,
title = 'Hospital infection rates',
ylab = 'Number of infections per 10.000 risk days',
xlab = 'Month',
exclude = to_exclude)
But then I get the numbers 1 to 5 and 10 to 12 removed from all the control charts:
Is there a possibility or a workaround to remove different points by referring them to the original dataset? Maybe it could be added by referring to a column of the dataset having a label '1' to remove '0' to use.
Is there a possibility to exclude different points for different facets? For example, if I select one of the posted examples:
qic(month, n, n = days, data = hospital_infections, facets = infection ~ hospital, chart = 'u', multiply = 10000, title = 'Hospital infection rates', ylab = 'Number of infections per 10.000 risk days', xlab = 'Month')
And get this plot:
I can define a random vector to remove points:
to_exclude <- c(1:5, 10:12)
qic(month, n, n = days, data = hospital_infections, facets = infection ~ hospital, chart = 'u', multiply = 10000, title = 'Hospital infection rates', ylab = 'Number of infections per 10.000 risk days', xlab = 'Month', exclude = to_exclude)
But then I get the numbers 1 to 5 and 10 to 12 removed from all the control charts:
Is there a possibility or a workaround to remove different points by referring them to the original dataset? Maybe it could be added by referring to a column of the dataset having a label '1' to remove '0' to use.