Introduction to ggplot2 - 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-50SMay 15, 2025, 11:13 a.m. kinshuk02
-
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-20SMay 15, 2025, 12:12 p.m. sristyria@gmail.com
-
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-20SMay 15, 2025, 4:20 p.m. sristyria@gmail.com
-
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-60SMay 15, 2025, 11:15 a.m. fiza.j
-
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-30SMay 14, 2025, 8:31 a.m. Joohi
-
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-10SMay 15, 2025, 8:52 a.m. Joohi
-
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-30SMay 15, 2025, 2:33 a.m. 2019rce9074@mnit
-
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-20SMay 15, 2025, 2:11 p.m. ahujadrrashmi@gmail.com
-
ggplot
where is mtcars data. how to get it
00-01M 0-10SMay 15, 2025, 3:45 p.m. bsankari2007@rediffmail.com
-
ggplot
where is mtcars data. how to get it
00-01M 0-10SMay 15, 2025, 4:39 p.m. bsankari2007@rediffmail.com
-
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-60SMay 15, 2025, 9:05 a.m. gaurvanvita.singh01@gmail.com
-
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-10SMay 15, 2025, 8:17 a.m. archana.naware@gmail.com
-
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-30SMay 15, 2025, 4:50 p.m. Veluchurisireesha27
-
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:
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