-R management
R can read files from various datatype and sources suche as csv, excel, database, from web, twitter, etc
#R functions for objects
rm(list=ls()) #delete all objectslength(object)
# number of elements str(object)
# structure of an object class(object)
# class or type of an objectnames(object)
# names of a objectobject
# prints the objectls()
# list current objectsrm(object)
# delete an objectc(object,object,...)
# combine objects into a vectorcbind(object, object, ...)
# combine objects as columnsrbind(object, object, ...)
# combine objects as rows #R data import/export
#1- Import from CSV plain text: read.table()
#2-Import from Excel:
#R dataset information
#R missing data
Missing Values test:
Excluding Missing Values from Analyses:
Advanced Handling of Missing Data:
#R date Values
Todays date and time:
#R create variable
Assign a variable:
Categorial variable:
#R operators
Arithmetic Operators:
Logical Operators:
#R built in functions-X
#R control structures-X
Last updated