Publications by Lisa Szydziak
harvardX
# define x and z library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ── ## ✔ ggplot2 3.4.0 ✔ purrr 1.0.1 ## ✔ tibble 3.1.8 ✔ dplyr 1.0.10 ## ✔ tidyr 1.2.1 ✔ stringr 1.5.0 ## �...
606 sym R (1319 sym/8 pcs) 3 img
HW2 R Bridge Lszydziak 010721
#Here is a list of data sets: #http://vincentarelbundock.github.io/Rdatasets/ #(click on the csv index for a list) # Please select one, download it and perform the #following tasks: Lets look at “Fairs extramarital affairs data”. In particular, focusing on age and rating (happiness in marriage - higher is happier). Bringing the dataset in fro...
2717 sym R (7455 sym/58 pcs)
HW1 R bridge 121720
#1. Write a loop that calculates 12-factorial r<-2 fact<-1 for (i in 1:12) { fact<-fact*(r-1) r<-r+1 } print(fact) ## [1] 479001600 #2. Show how to create a numeric vector that contains the sequence from 20 to 50 by 5. vect<-seq(20,50,5) vect ## [1] 20 25 30 35 40 45 50 3. Create the function “quadratic” that takes a trio of inp...
724 sym R (496 sym/6 pcs)
HW3 Bridge Final LSzydziak
Here is the final project: We will be exploring the dataset ResumeNames. Cross-section of data about resume, call-back and employer information for 4870 fictitious resumes. Are Emily and Greg More Employable than Lakisha and Jamal? In other words, are Caucasian sounding names more likely to receive a call-back than African American sounding names...
5812 sym R (22187 sym/84 pcs) 11 img
HW4 605 Eigenshoes 022121 LSzydziak
Read Pix Set Up Initialization library(doParallel) ## Loading required package: foreach ## Loading required package: iterators ## Loading required package: parallel library(foreach) library(jpeg) library(EBImage) library(kableExtra) library(OpenImageR) ## ## Attaching package: 'OpenImageR' ## The following objects are masked from 'package:E...
2995 sym R (15029 sym/57 pcs) 6 img
LSzydziak HW1 608 draft
Principles of Data Visualization and Introduction to ggplot2 I have provided you with data about the 5,000 fastest growing companies in the US, as compiled by Inc. magazine. lets read this in: library(ggpubr) ## Loading required package: ggplot2 library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:s...
2094 sym R (9140 sym/49 pcs) 6 img
matrix transformation
library(animation) #dev.control('enable') myani=ani.record(reset=TRUE, replay.cur=FALSE) x=c(rep(0,500),seq(0,1,length.out=1000), rep(2,500),seq(2,3,length.out=1000),seq(2,3,length.out=1000),seq(2,3,length.out=1000), rep(3,500)) y=c(seq(-1,1,length.out=500),rep(-1,1000), seq(0,1,length.out=500),rep(1,1000),rep(0,1000),rep(-1,1000),seq(-1,0,l...
135 sym R (1429 sym/5 pcs) 401 img
Lisa Szydziak HW2 605
Problem 2: Write an R function to factorize a square matrix A into LU or LDU, whichever you prefer. Here is my attempt for a 3x3 matrix… LU decomposition from lecture notes - my LU x<-matrix(c(1,-2,3,4,8,4,-3,5,7),nrow=3, ncol=3) x ## [,1] [,2] [,3] ## [1,] 1 4 -3 ## [2,] -2 8 5 ## [3,] 3 4 7 Find the LU decomp...
564 sym R (2025 sym/6 pcs)
HW3 605
What is the rank of the matrix A? $$ \[\begin{bmatrix}{} 1 & 2 & 3 & 4 \\ -1 & 0 & 1 & 3 \\ 0 & 1 & -2 & 1 \\ 5 & 4 & -2 & 3 \\ \end{bmatrix}\] $$ library(Matrix) library(pracma) ## ## Attaching package: 'pracma' ## The following objects are masked from 'package:Matrix': ## ## expm, lu, tril, triu A<-matrix(c(1,0,0...
2545 sym R (1248 sym/15 pcs)
HW2 605 Lszydziak
Read Pix Set Up Initialization library(doParallel) ## Loading required package: foreach ## Loading required package: iterators ## Loading required package: parallel library(foreach) library(jpeg) library(EBImage) library(kableExtra) library(OpenImageR) ## ## Attaching package: 'OpenImageR' ## The following objects are masked from 'package:E...
1465 sym R (4353 sym/23 pcs) 4 img