Horje
r - if value in a df is between two number then add 1 Code Example
r - if value in a df is between two number then add 1
library(TeachingDemos)

x <- c(3.2,6,7.8,1,3,2.5)
x <- ifelse(2 %<% x %<% 5, -1, x) 




R

Related
emf from r plot Code Example emf from r plot Code Example
ts object to data frame Code Example ts object to data frame Code Example
Php Rdk Php Rdk
Cmf Bigdata Cmf Bigdata

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
6