💾 Archived View for gemlog.blue › users › cariboudatascience › 1613525003.gmi captured on 2024-02-05 at 12:07:09. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-04)

-=-=-=-=-=-=-

Mental Health As Risk For Drug Dependency

Software required to recreate plot:

Walkthough (R Code)

Gemini Browser

Caribou Data Science(Capsule)

Run R Code:

rm(list=ls())
mental_head_risk <- read.csv("./DATA/mental-health-as-risk-for-drug-dependency.csv")
colnames(mental_head_risk) <- c("Disorder","Risk")
mental_head_risk  %>% ggplot() + geom_col(aes(x=reorder(Disorder,Risk),y=Risk)) +
  coord_flip() + labs(title="Mental Health as Risk For Drug Dependency",
                      x="Mental Disorders") +
  geom_text(aes(x=Disorder,y=Risk,label=Risk),nudge_y = 0.5)

Plot Mental Health Risk

https://github.com/davidjayjackson/Gemini-content/blob/main/mental-health-as-risk-for-drug-dependency.png

Resources:

R Code, data

R Language and Rtools40 (click and "base" and "Rtools")

Download and install RStudio