RPubs will retire in June 2027. Your existing documents will stay accessible through December 31, 2031
and Connect Cloud is the recommended home for new publishing. Read the blog post

Recently Published

Dashboard Assignment - TRI Page View Analysis
Analyzing if Users Visit More Pages Before Converting
Plot # install.packages("ggplot2") library(ggplot2)
# install.packages("ggplot2") library(ggplot2) # Datos set.seed(1) df <- data.frame(x = rnorm(200), y = rnorm(200)) ggplot(df, aes(x = x, y = y)) + geom_density_2d_filled() + guides(fill = guide_legend(title = "Nivel"))
Plot # install.packages("ggplot2") library(ggplot2)
# install.packages("ggplot2") library(ggplot2) # Datos set.seed(1) df <- data.frame(x = rnorm(200), y = rnorm(200)) ggplot(df, aes(x = x, y = y)) + geom_point() + geom_density_2d_filled(alpha = 0.4) + geom_density_2d(colour = "black")
Plot # install.packages("ggplot2") library(ggplot2)
# install.packages("ggplot2") library(ggplot2) # Datos set.seed(1) df <- data.frame(x = rnorm(200), y = rnorm(200)) ggplot(df, aes(x = x, y = y)) + geom_density_2d_filled() + geom_density_2d(colour = "black")
Code Along 10
Plot # install.packages("ggplot2") library(ggplot2)
# install.packages("ggplot2") library(ggplot2) # Datos set.seed(1) df <- data.frame(x = rnorm(200), y = rnorm(200)) ggplot(df, aes(x = x, y = y)) + geom_density_2d_filled(alpha = 0.75)
Plot # install.packages("ggplot2") library(ggplot2)
# install.packages("ggplot2") library(ggplot2) # Datos set.seed(1) df <- data.frame(x = rnorm(200), y = rnorm(200)) ggplot(df, aes(x = x, y = y)) + geom_density_2d_filled() + scale_fill_brewer()
Plot # install.packages("ggplot2") library(ggplot2) # Datos set.seed(1) df <- data.frame(x = rnorm(200), y = rnorm(200)) ggplot(df, aes(x = x, y = y)) + geom_density_2d_filled()
# install.packages("ggplot2") library(ggplot2) # Datos set.seed(1) df <- data.frame(x = rnorm(200), y = rnorm(200)) ggplot(df, aes(x = x, y = y)) + geom_density_2d_filled()
pruebadenormalidad
Plot # install.packages("ggplot2") library(ggplot2)
# install.packages("ggplot2") library(ggplot2) # Datos set.seed(1) df <- data.frame(x = rnorm(200), y = rnorm(200)) ggplot(df, aes(x = x, y = y, fill = ..level..)) + stat_density_2d(geom = "polygon")