I know drop_na is a tidyverse function, so I installed the packages and everything then ran the code but the function won't work
I am assuming the problem has to do with the name in the parenthesis but I am not entirely sure what the correct label should be for the function to run
library(dplyr)
DesignInfo <- read.csv(file="C:\\Users\\ahmed\\Documents\\Assignment 3\\design_info.csv", header=TRUE, sep=",")
InspectionInfo <- read.csv(file="C:\\Users\\ahmed\\Documents\\Assignment 3\\inspection_info.csv", header=TRUE, sep=",")
left_join(DesignInfo, InspectionInfo, by = "weld_id")
library(tidyverse)
drop_na(DesignInfo and InspectionInfo)
With this code, the result should be a combine table of DesignInfo and InspectionInfo with no NA values but I end up with the following error message:
Error: unexpected symbol in "drop_na(DesignInfo and"