Publications by Nirmal Ghimire, K-16 Literacy Center
Exploratory Data Analysis: Histogram, Kernel Distribution, and CDF
set the library with the packages we use library(ggplot2) library(tidyverse) require(cowplot)#makes the grids Setting the Correct Directory setwd("C:/Users/nirma/Documents/EDX courses/MicroMaster MIT/14.310x-Data Analysis for Social Scientists/Programs/") Loading Required Data bihar_data <- read_csv("Bihar_sample_data.csv") Checkin the Data ...
2840 sym R (7094 sym/31 pcs) 15 img
Sample (), Simulation, and Apply Funcations
This tutorial is about using a few Simple R functions using the ‘sampling’ command. 1. sample function() 2. for loops 3. apply () function when working with R there are various reasons why we want R to do some task repeatedly,like running through every row in the data set and performing some calculations. Or may be, we want to run a simulatio...
5101 sym R (7336 sym/88 pcs) 11 img
Creating Matrix and Doing Fun Things
Overview Creating Simple Matrices Names Attributes Factors Missing Values Reading Data in R Writing Data Using R Subsetting Data Tables Vectorized Operations Introduction Matrices are special vectors in R. They are vectors with dimensions. While generating Matrices, I can specifically mention the number of columns and rows I want in it. I can c...
8417 sym R (8788 sym/120 pcs)
Capstone Modified Week 2
Task 2 - Exploratory Data Analysis The first step in building a predictive model for text is understanding the distribution and relationship between the words, tokens, and phrases in the text. The goal of this task is to understand the basic relationships you observe in the data and prepare to build your first linguistic models. Loading Required...
1563 sym R (4973 sym/23 pcs)
Presentation Deck _ Capstone Project
Predicting Next Work App Information_NGNirmal Ghimire02/09/2021 First Slide Here's the link for the Shiny apps https://nirmalghimire.shinyapps.io/predicting_NG/. Here's the link for the codes to download and prepare data for predictive model https://rpubs.com/nirmal/709753 Here's the link for the predictive model with complete program https://r...
548 sym R (245 sym/2 pcs) 1 img
Coursera Data Science Capstone Project
Natural Language Processing: Stage 1 Task 3 - Modeling The goal of this project is to build a first simple model for the relationship between words. This is the first step in building a predictive text mining application. We will explore simple models and discover more complicated modeling techniques. Tasks to accomplish Build basic n-gram mod...
3581 sym R (4726 sym/20 pcs)
Using GGPLOT2
While working with ggplot, it is essential to remember that it works in layers, i.e., we keep adding layers until the visualization meets our need. Let’s take a journey: Invoking ggplot2 Library and Setting Dataset We are using the ‘cars’ dataset. I have loaded the data and assigned it a local name called ‘mydata’. Once I am done, I wa...
2876 sym R (9099 sym/41 pcs) 21 img
Fictional Nepalese Research Study
Please be aware that it is a fictional study conducted as a practice to my big data analysis skills. This project is classified into two phases: A. Fictional Data Generation, and B. Exploratory Data Analyses/Data Visualization A. Fictional Data Generation I will start off creating 100,000 Fictional Data Points about Nepalese Peoples’ Character...
6173 sym R (10748 sym/58 pcs) 10 img
Sample GGPLOT Codes and Plots
library(tidyverse) library(UsingR) library(ggplot2) library(cowplot) library(dplyr) data("galton") library(data.table) library(tidyr) 1. Histogram A. Simple and Combined Histograms with Color # Simple Default Colorless Histogram h <- ggplot(galton, aes(parent)) h <- h + geom_histogram() # Creating Label and Color h1 <- ggplot(galton...
687 sym R (8324 sym/18 pcs) 12 img