Using id=TRUE to label all partial residuals in effectsplot

Hi,
I am a beginner at Rstudio, and I want to make an allEffects plot with labeled points.
Each point signifies a country. The first graph shows the effect of the amount of cumulative excess deaths before march 2021, when the COVID vaccination campagne has not rolled out yet, vs the amount of cumulutive excess deaths after march 2021. The other graph shows the effect of the vaccinations.
This is my code for the plot(allEffects):
plot(allEffects(glsadditive, residuals=T), band.colors= "grey2",
residuals.color= adjustcolor ("blue",alpha.f = 0.50),
residuals.pch=16, smooth.residuals =F, rug = F, id=TRUE)

I have to use id=TRUE to label all the partial residuals, like it did for 4 poins. I now want this to happen for all my partial residuals, not just this number 1, 4 and 26. How do I solve this? I think it has something to do with list and n=32 (the number of residuals).

the problem is, when I use
id=list(n=32)
the text 'Error using packet 1 missing value where TRUE/FALSE needed' appears.

We need a reproducible example (reprex)

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.