gravatar

ashishj_sharda

Ashish Sharda

Recently Published

Using EBImage
Actual vs Predicted Stock Price
Dendrogram
Agglomerative Clustering
Quantiles
People Gardens
CyclicalChart
Autocorrelation Function
Non-Stationary Series
Stationery Time Series
Moving Average Chart
Pixel based display
StarPlot
Parallel Coordinate Plot
Mosaic Plot
StackedBarChart
QQ Plot
Leaflet Example
TreeMap
Spiral Calendar
Linear Regression
histogram bins
Decompose Time Series
Temporal Analysis
Save Plot
Numerical Variables
aesthetics
geomdensity
Create Bar Plots
geom_density
Binwidth Example
Density Plot
ggplot2 -7
Categorical Variable
histogram_3
Geom Histogram
Color Blind Safe
Groups
Remove Outliers
Geom Function -Options
Extra options specified in geom function
ScatterPlot -GeomPoint
Bar Chart using Titanic Data Set
library(ggplot2) data("Titanic") # Convert the 'Titanic' table to a data frame for easier manipulation titanic_df <- as.data.frame(Titanic) # Create a bar chart ggplot(titanic_df, aes(x = Class, y = Freq, fill = Age)) + geom_bar(stat = "identity") + labs( title = "Passenger Class Distribution on the Titanic", x = "Class", y = "Number of Passengers", fill = "Age Group" ) + theme_minimal()
Geometric Objects -1
Modeling
Watching Tv per day
library(forcats) library(ggplot2) library(dplyr) gss_cat relig <- gss_cat %>% group_by(relig) %>% summarize( age = mean(age, na.rm = TRUE), tvhours = mean(tvhours, na.rm = TRUE), n = n() ) ggplot(relig, aes(tvhours, relig)) + geom_point()
using forcats
ggplotthememinimal
example using ggplot and theme minimal
ggplotex21
Example using ggplot dist vs speed
Cars Data Set
example using cars data set
distvsspeedplot
dplyr
Example using dplyr
Control Transparency
Ggplotsize
GGPlot-Shape
CylinderPlot
FacetGrid
Example using facet grid
FacetWrapping
ex using facet wrapping
Histogram-MSleep
Example using msleep data set ,use conservation as "fill"
Gear Factor
BarPlot
Bar Plot using mtcars data set
GGplot -AES 7
AESEx3
BoxPlot-msleep
Boxplot
ScatterPlot2
Scatterplot of 2 continuous vars
geom_jitte
geomhistogram
Geom Histogram Plot
BarChart
Gaussian Function
Geom_Jitter
ScatterPlot
GGplot-Msleep
GgplotMsleep
GGPlotHistogram2
BarPlot
histogram2
set bin width to 1
GGPlotHistogram
ggplot15
ggplot9
GGPlot 5
GGPlot 5
Plot-Color Codes
Example using color codes
Iris Plot -2
BasePlotColor
Change color of base plot
Color
Add color
Axis Labels
Titles and Axis Labels
Multiple Plots
Linear Model -Plot
Example using linear model