Search
 
SCRIPT & CODE EXAMPLE
 

R

operators R

Operator	Description
#Arithmetic 
+	addition
-	subtraction
*	multiplication
/	division
^ or **	exponentiation
x %% y	modulus (x mod y) 5%%2 is 1
x %/% y	integer division 5%/%2 is 2
#Logical
<	less than
<=	less than or equal to
>	greater than
>=	greater than or equal to
==	exactly equal to
!=	not equal to
!x	Not x
x | y	x OR y
x & y	x AND y
isTRUE(x)	test if X is TRUE
Comment

or R operator

# Or
x | y

# Other operators:
<	# less than
<=	# less than or equal to
>	# greater than
>=	# greater than or equal to
==	# exactly equal to
!=	# not equal to
!x	# Not x
x | y	# x OR y
x & y	# x AND y
isTRUE(x) # 	test if X is TRUE
Comment

PREVIOUS NEXT
Code Example
R :: show 2 plots together 
R :: na by column r 
R :: gather function in r 
R :: repeat each value in a vector in r 
R :: remove first and last character from string R 
R :: filter only NA column in R 
R :: how to make matrix in r 
R :: find row with na r 
R :: how to get quantile summary statistics in r summarise 
R :: for loop in R dictionary 
R :: how to change legend title in r 
R :: n list to dataframe r 
R :: load multiple packages in r 
R :: unite r function how to include in dataframe 
R :: count equal values in a vector 
R :: r select columns by vector of names 
R :: distance matrix in r 
R :: connect excel to r 
R :: R new column t test p-value 
R :: R gap between date add missing value 
R :: how to combine multiple time series in r 
Rust :: how to clear the console rust 
Rust :: how to concatenate two &str in rust 
Rust :: rust import file 
Rust :: rust lang start a new project 
Rust :: get the temp directory rust 
Rust :: rust from floating point to money 
Rust :: key value in for loop rust 
Rust :: rust•armanriazi•error•cannot be formatted with the default formatter 
Rust :: armanriazi•rust•trait•object•safe 
ADD CONTENT
Topic
Content
Source link
Name
6+5 =