4/8/2023 0 Comments Rstudio ggplot![]() ![]() Now let’s look at the different parts of the commands. It is how computers show scientific notation where 2e 05 \(= 2 \times 10^5\). Here is how you produce a scatter plot of perceived attractiveness against age ggplot( data = Pulse, aes( x = Attractiveness, y = Income)) geom_point()īefore we break down this example, it is perhaps worth noting the notation used on the y axis. On a scale of 1-10 how physically attractive are you? Would you say you are liberal conservative or moderate?ĭo you approve disapprove or neither approve nor disapprove of how Donald Trump is handling his job as president? ![]() In politics today do you consider yourself a Democrat a Republican or Independent? The “Pulse” dataset is an extract from the monthly survey “Pulse of the Nation” made by Cards Against Humanity (Cards Against Humanity 2018) which contains a representative sample of US citizens.The dataset contains an extract of 356 repsonses to 10 of the survey questions: VariableĪbout how much money do you make per year? (USD) You can view the dataset in RStudio by single clicking the name in the Environment tab.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |