What do you want to save?
Add Code snippet
New code examples in category R
-
Awgiedawgie 2022-01-23 09:00:04
r na if
dat <- dat %>% mutate(x = replace(x, x<0, NA)) Add solution -
Awgiedawgie 2022-01-23 03:01:26
r install package
# Basic syntax: install.packages("package_you_want") # To then use the package in R, you need to run: library(package_you_want) # Note, when you install a package, the package name has to be in quotes # but when you load it, it shouldn't be # ... Add solution
Best helpers
Mastersulm
+5
Diane
+5
Artmal
+5
Richard D
+5
Any Mouse
+5
RiCo
+5
Adam Clowes
+5
Tushar Diwan
+5
Saforrest
+5
Sinow
+5
Naman
+5
Zelite
+5
I-love-php
+5
Pinakin
+5