Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
131 views
in Technique[技术] by (71.8m points)

ggplot2 - overlap in text ggplot

(Sorry I dont have much experience with this platform so I don't know how to upload my question in the appropriate format)

In my facet grid plot I want to visualize correlations. However, this data comes from a seperate data file. It is not possible to merge this files I think.

Datafile 1 looks like this (Only a few rows shown) enter image description here

I want to visualize the relation between PA and MT and FL and MT for the different groups, conditions and muscles. I added the graph as an example

enter image description here

Now I want to add the correlations to the graph. So I calculated the correlations for the different conditions like this:

corsFLMT <- ddply(data1, c("Group", "Muscle","RestCon"), summarise, cor = round(cor(FL,MW), 2))
corsPAMT <- ddply(data1, c("Group", "Muscle","RestCon"), summarise, cor = round(cor(PA,MW), 2))
question from:https://stackoverflow.com/questions/66049264/overlap-in-text-ggplot

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...