Open dasom1348 opened 6 years ago
These are what I've tried for drawing lines on graph, setting x and y scales, and changing gross_info to number by referencing hws and mp3! But there are some errors ha.. I pushed this. You can pull :)
library(scales)
ggplot(data=MP_info, aes(x=gross_info, y=rating)) + geom_point(aes(color=gender)) + labs(title = "Quality of Best 100 Movies by Male and Female Directors", x = "Revenue($)", y = "Rating")
CHECKING THROUGH HERE !!
scale_y_discrete(labels = c("4.5", "5.0", "5.5", "6.0", "6.5", "7.0", "7.5", "8.0", "8.5"), limits = c(4.0, 9.0), breaks = seq(4.5,8.5,0.5)) + scale_x_discrete(labels = c("25M", "50M", "75M", "100M"), limits = c(0,105000000), breaks = seq(25000000,100000000, 25000000))
annotate("segment", x=1940, xend=1948, y=0.5, yend=0.5, color="black")+ annotate("segment", x=1940, xend=1940, y=0.4, yend=0.5, color="black") +
labels =c("1940", "'60", "'80", "2000" ), limits =c(1930,2012) ,breaks =seq(1940,2000,20
movie_test <- movie_gross100 %>% mutate(Revenue=as.numeric(gross_info))
mutate (Difficulty= if_else(as.numeric(numeric_rating)<10, "Easy", ifelse(as.numeric(numeric_rating)<30, "Moderate", "Hard")))
I also started to write up something! And found some external resources. Plz checking rmd file by pulling it first :) then Feel free to add and edit my writings. I just roughed out.
title: "192_MP4" author: "Dasom An & Janell Lin" output: html_document: code_folding: hide
Gender Bias Against Directors in Film Field?
We sought to determine if there is an association between gender of directors and the quality of movie.