Hey there,
I need an R command, which creates a table similar to the picture below (this picture was created by hand and does not correspond to any real data).
I have data from several dependent variables (the Big5, each in one column), influenced by different categorial independent variables (each group in one row). Namely I have (already calculated) the mean and the lower and upper border of the confidence interval for each measure.
However now I would like to plot these data in the matrix, so that in each cell there are three points (in a horizontal line): One for the mean and one for the two borders of the confidence interval) as I have demonstrated in the picture.
Thank you for your answer, but how can I put 3 dots (I have 3 values for each group) in each row?
I know how to put two dots in one row (cleveland dot plot), but is it also possible with three?
I want to create a lollipop chart with three dots, which are connected with two lines, but anyway it doesn´t work: I always get a lollipop chart with just two dots.
I'm sure you shared this image with the best intentions, but perhaps you didnt realise what it implies.
If someone wished to use example data to test code against, they would type it out from your screenshot...
This is very unlikely to happen, and so it reduces the likelihood you will receive the help you desire.
Therefore please see this guide on how to reprex data. Key to this is use of either datapasta, or dput() to share your data as code
I got it. It worked, I have three dots in each row.
Now I just need to do the fine-tuning and then create one chart for each column and connect it all to one table