Publications by Chandan Basavaraju
LAB-1
Logical Operations Your Turn # assign the value of 10 to x x <-10 x # assign the value of 5 to y y <-5 y # Calculate if x is greater than y if(x>y) { print("x is greater") } # Calculate if x is equal to 10 if(x==10) { print("x is equal") } # Change x to be 5, then calculate if x is greater than or equal to y x <-5 x print ("x")...
2811 sym Python (3831 sym/21 pcs)
Document
How to add a code section in R markdown file? Note that if you want to add a code section, use the backtick ``` as below. You have to give a unqiue name for the code section within this file. # The Insert button on the RStudio toolbar or the keyboard combination Ctrl + Alt + I (Cmd + Option + I on macOS) can be used to insert a R code chunk. Lo...
4161 sym R (489 sym/8 pcs)
Document
In this tutorial, we will using ggplot in tidyverse. You need to load the package. # load packages library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ── ## ✔ ggplot2 3.3.6 ✔ purrr 0.3.4 ## ✔ tibble...
3892 sym R (2436 sym/16 pcs) 6 img
Document
In this tutorial, we will using tidyverse. You need to load the package first. # load packages library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ── ## ✔ ggplot2 3.3.6 ✔ purrr 0.3.4 ## ✔ tibble 3....
3562 sym R (1470421 sym/64 pcs)
Document
In this tutorial, we will using tidyverse. You need to load the package first. # load packages library(tidyverse) library(modelr) library(broom) Ad <- read_csv("Advertising.csv") summary(Ad) ## TV Radio Newspaper Sales ## Min. : 0.70 Min. : 0.000 Min. : 0.30 Min. : 1.60 ## 1st Q...
1717 sym R (10062 sym/55 pcs) 19 img
Publish Document
In this tutorial, we will using tidyverse. You need to load the package first. # load packages library(tidyverse) library(modelr) library(broom) Ad <- read_csv("Advertising.csv") summary(Ad) ## TV Radio Newspaper Sales ## Min. : 0.70 Min. : 0.000 Min. : 0.30 Min. : 1.60 ## 1st Q...
3514 sym R (4317 sym/9 pcs) 3 img