Publications by Dell
Project1 D607
# List of packages to install packages <- c("RCurl", "knitr", "kableExtra", "tidyverse", "stringr") # Check and install packages if not already installed new_packages <- packages[!(packages %in% installed.packages()[,"Package"])] if (length(new_packages) > 0) { install.packages(new_packages) } # Load required libraries library(RCurl) ...
2179 sym R (6592 sym/28 pcs) 4 img 2 tbl
Assignment4D607
#Assignment 4 #By Jose Fuentes #1rst and 2nd Part # Load the necessary library that contains tidyr and dplyr library(tidyverse) ## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ── ## ✔ dplyr 1.1.4 ✔ readr 2.1.5 ## ✔ forcats 1.0.0 ...
53 sym R (8744 sym/49 pcs) 1 img
Lab 02 - Introduction to Data
Some define statistics as the field that focuses on turning information into knowledge. The first step in that process is to summarize and describe the raw information – the data. In this lab we explore flights, specifically a random sample of domestic flights that departed from the three major New York City airports in 2013. We will generat...
16860 sym 1 img
Assignment3D607
#Assignment 3 by Jose Fuentes # First part: Provide an example of at least three dataframes in R that demonstrate normalization. # Initial DataFrame employees_raw <- data.frame( employee_id = c(1, 2, 3, 4), employee_name = c("John", "Emma", "Mike", "Sophia"), department_name = c("HR", "IT", "IT", "Finance"), project_name = c("Recrui...
16 sym Python (4734 sym/13 pcs)
Assignment1
#Brief introduction #The Steak-Risk Survey is designed to examine the connections between people's risk-taking #behaviors and their lifestyle choices, particularly their steak preferences. It gathers data on #habits such as smoking, drinking, gambling, and driving, along with more adventurous activities #like skydiving. The survey also asks...
40 sym R (15308 sym/29 pcs) 8 img
Lab 01 - Introduction to R and RStudio
The RStudio Interface The goal of this lab is to introduce you to R and RStudio, which you’ll be using throughout the course both to learn the statistical concepts discussed in the course and to analyze real data and come to informed conclusions. To clarify which is which: R is the name of the programming language itself and RStudio is a conv...
19344 sym 4 img
Assignment2
# Load the necessary libraries library(DBI) library(RMySQL) # Connect to the database conn <- dbConnect( MySQL(), user = 'jose.fuentes10', password = 'bc905859f24769a7', host = 'cunydata607sql.mysql.database.azure.com', port = 3306, dbname = 'jose.fuentes10' ...
20 sym R (5975 sym/17 pcs)
Mapa de Localização de Moçambique
# Carregar os pacotes necessários library(ggplot2) library(rnaturalearth) ## Warning: package 'rnaturalearth' was built under R version 4.3.3 library(sf) ## Warning: package 'sf' was built under R version 4.3.3 ## Linking to GEOS 3.11.2, GDAL 3.8.2, PROJ 9.3.1; sf_use_s2() is TRUE library(ggspatial) # Pacote para adicionar a rosa dos ventos ## W...
13 sym R (2607 sym/9 pcs) 1 img
Google Data Analytics Project Capstone
library(readxl) activity <- read_excel("Fitabase Data 4.12.16-5.12.16/dailyActivity_merged.xlsx") #activity contains daily data on steps, distance, calories, and active minute library(readr) heartrate <- read_csv("Fitabase Data 4.12.16-5.12.16/heartrate_seconds_merged.csv") ## Rows: 2483658 Columns: 3 ## ── Column specification ────...
61 sym R (13387 sym/52 pcs) 6 img
EA mig+eth analysis
# if (!requireNamespace("BiocManager", quietly = TRUE)) # install.packages("BiocManager") # BiocManager::install("limma") library(limma) library(MKmisc) ## ## Attaching package: 'MKmisc' ## The following objects are masked from 'package:psych': ## ## AUC, corPlot library(ResourceSelection) df1 <- dd[c("gpa", "age", "classnum", "v1...
3005 sym R (38667 sym/320 pcs) 14 img 4 tbl