Last active
March 12, 2022 10:03
-
-
Save MJacobs1985/21a4414743cd9982786e2fc6f72d4c9e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nums <- unlist(lapply(dataset, is.numeric)) | |
datasetnums<-dataset[ , nums] | |
corr <- round(cor(datasetnums), 1) | |
ggcorrplot(corr, hc.order = TRUE, | |
type = "lower", | |
lab = TRUE, | |
lab_size = 3, | |
title="Correlogram of dataset", | |
ggtheme=theme_bw) | |
ggplot(dataset, aes(x = Hb,y = VO2cdi, color = factor(ID))) + | |
geom_point(shape = 16, size = 5, alpha=0.5) + | |
theme_bw() + theme(legend.position = "none") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment