How to suppress a warning message in the R programming language. More details: https://statisticsglobe.com/temporari...
R code of this video:
x <- c("1.1", "1,1", "2", "3") # Create example data
x # Print example data
as.numeric(x) # Produce warning message
suppressWarnings(as.numeric(x)) # Suppress warning message
Follow me on Social Media:
Facebook – Statistics Globe Page: / statisticsglobecom
Facebook – R Programming Group for Discussions & Questions: / statisticsglobe
Facebook – Python Programming Group for Discussions & Questions: / statisticsglobepython
LinkedIn – Statistics Globe Page: / statisticsglobe
LinkedIn – R Programming Group for Discussions & Questions: / 12555223
LinkedIn – Python Programming Group for Discussions & Questions: / 12673534
Twitter: / joachimschork
Music by bensound.com