Publications by Jyoti Nepal
GIS Assignment 6
knitr::opts_chunk$set(echo = TRUE) library(mapview) library(sf) ## Linking to GEOS 3.9.1, GDAL 3.2.1, PROJ 7.2.1; sf_use_s2() is TRUE library(censusxy) library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ## ...
422 sym R (12238 sym/74 pcs) 2 img
Document
library(forcats) library(stargazer, quietly = T) ## ## Please cite as: ## Hlavac, Marek (2018). stargazer: Well-Formatted Regression and Summary Statistics Tables. ## R package version 5.2.2. https://CRAN.R-project.org/package=stargazer library(survey, quietly = T) ## ## Attaching package: 'survey' ## The following object is masked from 'p...
12288 sym R (12117 sym/59 pcs) 6 img
Document
Data library(haven) ddi <- read_ipums_ddi("/Volumes/Jyoti/Stat 2 /PROJECT/nhis_00013.xml") data <- read_ipums_micro(ddi) ## Use of data from IPUMS NHIS is subject to conditions including that users ## should cite the data appropriately. Use command `ipums_conditions()` for more ## details. data<- haven::zap_labels(data) names(data) <- tolower(g...
8919 sym R (5881 sym/14 pcs) 3 img 1 tbl
Publish Document
Libraries ## Data ddi <- read_ipums_ddi("/Volumes/Jyoti/Stat 2 /PROJECT/nhis_00013.xml") data <- read_ipums_micro(ddi) ## Use of data from IPUMS NHIS is subject to conditions including that users ## should cite the data appropriately. Use command `ipums_conditions()` for more ## details. data<- haven::zap_labels(data) names(data) <- tolower(gsub...
12173 sym R (10936 sym/44 pcs) 1 img 5 tbl
Document
Read Data v19_Profile <- load_variables(2019, "acs5/profile", cache = TRUE) v14_Profile <- load_variables(2014, "acs5/profile", cache = TRUE)#demographic #Search for variables by using grep() v19_Profile[grep(x = v19_...
16022 sym R (63037 sym/32 pcs) 5 img
Document
library(survey, quietly = T) library(dplyr, quietly = T) library(car, quietly = T) library(ggplot2, quietly = T) library(tigris, quietly = T) library(classInt, quietly = T) library(srvyr, quietly = T) library(reldist, quietly = T) ## Warning: package 'reldist' was built under R version 4.1.3 library(ipumsr, quietly = T) ## Warning: package...
7939 sym R (5558 sym/32 pcs) 2 img 2 tbl
Document
library(survey) library(tidyverse) library(dplyr) library(car) library(ggplot2) library(tigris) library(classInt) library(mapview) library(srvyr) library(tmap) ## Warning: package 'tmap' was built under R version 4.1.3 library(classInt) library(janitor) ## Warning: package 'janitor' was built under R version 4.1.3 library(ipumsr) ## War...
150 sym R (10186 sym/26 pcs) 1 img
Document
Define an outcome, this can be of any form, but use an appropriate distribution for your outcome. Also define at least 1 continuous predictor. Outcome variable: Depression (deprx), measured as the use of prescription medication Predictor variables: age, total family income last year (famtotincinterval), marital status (mars), and race and ethnici...
7272 sym R (9023 sym/56 pcs) 2 img
Document
Libraries ## Data ddi <- read_ipums_ddi("/Volumes/Jyoti/Stat 2 /PROJECT/nhis_00012.xml") data <- read_ipums_micro(ddi) ## Use of data from IPUMS NHIS is subject to conditions including that users ## should cite the data appropriately. Use command `ipums_conditions()` for more ## details. data<- haven::zap_labels(data) names(data) <- tolower(gsub...
23074 sym R (12848 sym/47 pcs) 1 img 6 tbl