Introduction to ggplot2 - English
- subtitles off
- captions off
- English
- Questions posted on Forums
- R Tutorials - English
-
ggplot2
i am unable to load the ggplot2 a warning sign is coming saying one or more packages to be updated are currently loaded restarting r is recommended i am restarting but again the same message is popping up
09-10M 40-50S kinshuk02
Answer last updated on: Aug. 31, 2021, 6:18 p.m.
-
GGPLOT2
Sir, I have installed the ggplot2 package and done the library function on these but when trying to do a ggplot function code . I continually get an error saying could not find function "ggplot". Have tried updating all my packages but that has not helped. Please help....
08-09M 10-20S sristyria@gmail.com
Answer last updated on: July 9, 2021, 2:07 p.m.
-
GGPLOT2
Sir,I have installed the ggplot2 package and done the library function on these but when trying to do a ggplot function code . I continually get an error saying could not find function "ggplot". Have tried updating all my packages but that has not helped.Please help....
08-09M 10-20S sristyria@gmail.com
Answer last updated on: July 9, 2021, 2:07 p.m.
-
title of th graph and y axis label
even after entering the code i am unable to get the title of the graph and the label to y axis
03-04M 50-60S fiza.j
Answer last updated on: Jan. 29, 2021, 1:19 p.m.
-
How to find numerical variables in mtcars ?
I have used str(mtcars).The answer is str(mtcars)'data.frame': 32 obs. of 11 variables: $ mpg : num 21 21 22.8 21.4 18.7 18.1 14.3 24.4 22.8 19.2 ... $ cyl : num 6 6 4 6 8 6 8 4 4 6 ... $ disp: num 160 160 108 258 360 ... $ hp : num 110 110 93 110 175 105 245 62 95 123 ... $ drat: num 3.9 3.9 3.85 3.08 3.15 2.76 3.21 3.69 3.92 3.92 ... $ wt : num 2.62 2.88 2.32 3.21 3.44 ... $ qsec: num 16.5 17 18.6 19.4 17 ... $ vs : num 0 0 1 1 0 1 0 1 1 1 ... $ am : num 1 1 1 0 0 0 0 0 0 0 ... $ gear: num 4 4 4 3 3 3 3 4 4 4 ... $ carb: num 4 4 1 1 2 1 4 2 2 4 ...Is there any other way of finding numerical variables .
11-12M 0-10S Joohi
Answer last updated on: Dec. 14, 2020, 4:52 p.m.
-
How to know which command needs which library ?
When I run library(ggplot2) and library(dplyr) then only it is identifying %>%.How do we come to know which library is required for which command ?
07-08M 20-30S Joohi
Answer last updated on: Dec. 14, 2020, 2:41 p.m.
-
Doubt on ggplot2
Sir,I have installed the ggplot2 package and done the library function on these but when trying to do a ggplot function code . I continually get an error saying could not find function "ggplot". Have tried updating all my packages but that has not helped.Please help....
08-09M 20-30S Veluchurisireesha27
Answer last updated on: Nov. 28, 2020, 3:04 p.m.
-
outcome is different by typing command.
when we make 2 graphs in one plot, the 2 plots sin and cos with their name appears; but I can only see sin name without cos name even after typing correct command. My plot names are not completely visible.
06-07M 50-60S gaurvanvita.singh01@gmail.com
Answer last updated on: Nov. 28, 2020, 2:52 p.m.
-
Error in plot.new() : figure margins too large
While executing the command of plotting x seq from -pi to pi with sin(x) I am getting the errorError in plot.new() : figure margins too large
03-04M 20-30S 2019rce9074@mnit
Answer last updated on: Nov. 28, 2020, 2:34 p.m.
-
Difference between ggplot and scatter plot
I have two doubts..Would be grateful if you could clear that..1) what is the difference between ggplot and a simple scatter plot which we plot through plot command ? Whats the additional advantage we have over using ggplot instead of a scatter plot ?2) When we want to plot two graphs together..it has to be one plotted through plot and other through line ? Thanks
10-11M 10-20S ahujadrrashmi@gmail.com
Answer last updated on: May 28, 2020, 10:39 p.m.
-
ggplot
where is mtcars data. how to get it
00-01M 0-10S bsankari2007@rediffmail.com
Answer last updated on: May 22, 2020, 3:22 p.m.
-
ggplot
where is mtcars data. how to get it
00-01M 0-10S bsankari2007@rediffmail.com
Answer last updated on: May 22, 2020, 3:22 p.m.
-
doubt in ggplot function
ggplot(data = movies, mapping = aes( x = critics_score, y = audience_score),col = "blue")geom_point()only X and Y axis is drawn. but points are not drawn.
11-12M 0-10S archana.naware@gmail.com
Answer last updated on: May 1, 2020, 5:19 p.m.
-
1Overview of R and RStudio
-
2Installing R and RStudio on Linux
-
3Installing R and RStudio on Windows
-
4Introduction to basics of R
-
5Introduction to Data Frames in R
-
6Introduction to RStudio
-
7Introduction to R script
-
8Working directories in RStudio
-
9Indexing and Slicing Data Frames
-
10Creating Matrices using Data Frames
-
11Operations on Matrices and Data Frames
-
12Merging and Importing Data
-
13Data types and Factors
-
14Lists and its Operations
-
15Plotting Histograms and Pie Chart
-
16Plotting Bar Charts and Scatter Plot
-
Introduction to ggplot2
-
18Aesthetic Mapping in ggplot2
-
19Data Manipulation using dplyr Package
-
20More Functions in dplyr Package
-
21Pipe Operator
-
22Conditional Statements
-
23Functions in R
Questions posted on ST Forums:
14437 visits
Outline:
Define visualization About grammar of graphics- ggplot2 Use of the plot function Add labels to a plot Change the color and type of plot Plot two graphs in the same plot Add a legend to the plot About ggplot2 package Draw a scatter plot using ggplot2 function Save plots using ggsave function
Width: | 906 | Height: | 626 |
---|---|---|---|
Duration: | 00:13:49 | Size: | 6.5 MB |
Show video info