-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathR_Operators.txt
More file actions
34 lines (29 loc) · 868 Bytes
/
R_Operators.txt
File metadata and controls
34 lines (29 loc) · 868 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
- Minus, can be unary or binary+ Plus, can be unary or binary! Unary not~ Tilde, used for model formulae, can be either unary or binary
? Help: Sequence, binary (in model formulae: interaction)
* Multiplication, binary/ Division, binary^ Exponentiation, binary
%% Modulus, binary%/% Integer divide, binary%*% Matrix product, binary%o% Outer product, binary%x% Kronecker product, binary%in% Matching operator, binary (in model formulae: nesting)
< Less than, binary> Greater than, binary== Equal to, binary>= Greater than or equal to, binary<= Less than or equal to, binary
& And, binary, vectorized&& And, binary, not vectorized
| Or, binary, vectorized|| Or, binary, not vectorized
<- Left assignment, binary
-> Right assignment, binary $ List subset, binary
####
#MEMO TO SELF
#CumSum(), Length(), Rev(), dlnorm(), RE()/IM(), Integrate()