sudo apt install r-base
sudo apt install r-cran-rstan r-cran-tidyverse
wget https://download1.rstudio.org/electron/jammy/amd64/rstudio-2023.06.2-561-amd64.deb
sudo apt install -f ./rstudio-2023.06.2-561-amd64.deb
rstudio
df <- read.csv("~/path_to_file_.csv")
tibble::glimpse(df)
df2 <- subset(df, select = -c(?column1, column2,....,columnN))
Filter Rows by a column value
filter(df, ?column == '?value')
Filter Rows by list of column Values
filter(df, ?column %in% c('?val1','?val2','?val3'))
Filter Rows by Checking values on Multiple Columns
filter(df, ?column1 == '?value1' & ?column2 >?value2)
Filter DataFrame by column name column2 and column3.
subset(df,?column1 == '?value',select = c('column2','column3'))