Misc. & Shortcuts
abs(x)**absolute value of x
sqrt(x)**principal sqrt of x
x can be any numeric or complex vector display
for complex vectors
abs(x)==Mod(x) and sqrt(x)==x^0.5
$
!
indicative of ‘logical negation, or not’
for example: x<-rnorm(x),y<-rnorm(y), is.na(x)//should return all false, when perform y<-x[!is.na(x)], will recall a list of new y values (identical to x) because
!indicates or as in present all index values that are not true
since there are no NA values, should display all x values
&, &&
signifies ‘logical AND
|,||
signifies OR














