Publications by Carlos Carrillo A01751169
USArrest
Importar base de datos data("USArrests") summary(USArrests) ## Murder Assault UrbanPop Rape ## Min. : 0.800 Min. : 45.0 Min. :32.00 Min. : 7.30 ## 1st Qu.: 4.075 1st Qu.:109.0 1st Qu.:54.50 1st Qu.:15.07 ## Median : 7.250 Median :159.0 Median :66.00 Median :20.10 ## Mean :...
1752 sym R (1998 sym/11 pcs) 3 img
WalmartCC
Walmart Importar base datos #file.choose() stores <- read.csv("/Users/mac/Downloads/stores.csv") features <- read.csv("/Users/mac/Downloads/features.csv") train <- read.csv("/Users/mac/Downloads/train.csv") test <- read.csv("/Users/mac/Downloads/test.csv") Instalar paquetes, llamar librerias #install.packages("dplyr") library(dplyr) ## ...
1607 sym R (15729 sym/45 pcs) 1 img
Publish Document
Marvel Tendencias Globales Instalar paquetes y llamar librerias library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ── ## ✔ ggplot2 3.3.6 ✔ purrr 0.3.4 ## ✔ tibble 3.1.8 ✔ dplyr 1.0.10 #...
3436 sym R (862 sym/12 pcs) 2 img
USArrest
Importar base de datos data("USArrests") summary(USArrests) ## Murder Assault UrbanPop Rape ## Min. : 0.800 Min. : 45.0 Min. :32.00 Min. : 7.30 ## 1st Qu.: 4.075 1st Qu.:109.0 1st Qu.:54.50 1st Qu.:15.07 ## Median : 7.250 Median :159.0 Median :66.00 Median :20.10 ## Mean :...
3321 sym R (1998 sym/11 pcs) 3 img
Segmentación de Mercado
Market Importar la base de datos #file.choose() bd <- read.csv("/Users/mac/Downloads/datos_clientes.csv") Agregar el CustomerID como nombre de los renglones bd2 <- bd rownames(bd2)<- bd2$CustomerID Eliminar la columna de CustomerID bd3 <- bd2 bd3 <- subset (bd3, select = -c(CustomerID)) Revisar presencia de datos anormales summary(bd3) ##...
6100 sym R (51503 sym/30 pcs) 6 img
Comandos Basicos
Bienvenido a RStudio Asignación de variables x <- 3 y <- 2 Impresión de Resultados x ## [1] 3 y ## [1] 2 suma <-x+y suma ## [1] 5 resta <-x-y resta ## [1] 1 multiplicación <- x*y multiplicación ## [1] 6 division <-x/y division ## [1] 1.5 division_entera <-x %/% y division_entera ## [1] 1 residuo <- x%%y residuo ## [1] 1 potencia <- x ...
3458 sym 4 img
Cáncer de Mama
Análisis Cáncer de Mama Importar base de datos #file.choose() base_de_datos <-read.csv("/Users/mac/Downloads/cancer_de_mama.csv") Entender base de datos summary(base_de_datos) ## diagnosis radius_mean texture_mean perimeter_mean ## Length:569 Min. : 6.981 Min. : 9.71 Min. : 43.79 ## Class :chara...
3556 sym R (5614 sym/10 pcs) 4 img
Jingle Bells
Music Primera parte jbells_pitch <- paste( "E E E", "E E E", "E G C D", "E", "F F F F", "F E E E", "E D D E", "D G", "E E E", "E E E", "E G C D", "E", "F F F F", "F E E E E", "G G F D", "C", "G3 E D C", "G3", "G3 G3 G3 E D C", "A3", "A3 F E D", "B3", "G G F D", "E", "G3 E D C", "G3", "G3 E ...
3676 sym 1 img
Banco Mundial
Analisis Global Instalar paquetes #install.packages ("WDI") #install.packages("wbstats") #install.packages("tidyverse") Información de 1 país library(wbstats) gdp_data <- wb_data(country = "MX", indicator ="NY.GDP.PCAP.CD", start_date = 1973, end_date = 2022) summary(gdp_data) ## iso2c iso3c country ...
3002 sym R (3512 sym/11 pcs) 5 img
Titanic
15 de abril de 1912 Importar base de datos #file.choose bd<- read.csv("/Users/mac/Downloads/titanic.csv") Entender base de datos summary(bd) ## pclass survived name sex ## Min. :1.000 Min. :0.000 Length:1309 Length:1309 ## 1st Qu.:2.000 1st Qu.:0.000 Class :character ...
3424 sym R (3776 sym/13 pcs) 3 img