0

I am estimating a latent profile analysis. I made the graph with the following code:

y1[1:158, ] %>%
  select(BIEPSA, IAB, IDS, AFN_EMO, EVT_EMO, EEA_EMO, REP_RAC, RLG_RAC, FSP_RAC, BAS_RAC) %>%
  single_imputation() %>%
  estimate_profiles(2) %>%
  plot_profiles(add_line = TRUE, sd = FALSE, rawdata = FALSE, bw = FALSE, ci = NULL)

It results in the left figure.

However, I want to put an asterisk over the pair of points for each category that shows statistically significant differences. Something like what is shown in the right figure.

Actually I have no idea about how to solve this problem

Phil
  • 7,287
  • 3
  • 36
  • 66
xeurop
  • 1
  • Hi, can you provide a reproducible example? We don't have your data. https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example – william3031 Feb 10 '23 at 02:39
  • Please provide enough code so others can better understand or reproduce the problem. – Community Feb 10 '23 at 08:40

0 Answers0