Introduction to R (Part 1): Data operators in R
#Specifying a variable #here, variable refer to a reserved memory to store values a=30 b=”Welcome to Research HUB” c= TRUE d= 15 #Data operators (5 categories) #Arithmetic operators (+, -, *, /, ^, %%, %/%) a+d a-d a*d a/d a^2 a%%d #%% gives reminder after division a%/%d #%/% gives round-up dividing number #Assignment operator (=, <-, <<-, ->, ->>)
Continue reading
Recent Comments