Home
Add Document
Sign In
Create An Account
R Programming Cheat Sheet - Data Science Free
Recommend Documents
No documents
R Programming Cheat Sheet - Data Science Free
Download PDF
1 downloads
532 Views
282KB Size
Report
Comment
Dec 2, 2015 - merge(x = df1, y = df2, by.x = c('col1', ... Join in plyr() package works similar to merge but .... do.cal
R Programming Cheat Sheet just the basics Created By: Arianne Colton and Sean Chen
General • R version 3.0 and greater adds support for 64 bit integers • R is case sensitive • R index starts from 1
Manipulating Strings Putting Together Strings
HELP help(functionName) or ?functionName
Split String
Help Home Page
help.start()
Get Substring
apropos('mea')
Match String
Special Character Help Search Help Search Function - with Partial Name See Example(s)
help('[') help.search(..)or ??.. example(topic)
Objects in current environment Display Object Name Remove Object
objects() or ls()
rm(object1, object2,..)
paste('string1', 'string2', sep = '/') # separator ('sep') is a space by default paste(c('1', '2'), collapse = '/') # returns '1/2' stringr::str_split(string = v1, pattern = '-') # returns a list stringr::str_sub(string = v1, start = 1, end = 3) isJohnFound
×
Report "R Programming Cheat Sheet - Data Science Free"
Your name
Email
Reason
-Select Reason-
Pornographic
Defamatory
Illegal/Unlawful
Spam
Other Terms Of Service Violation
File a copyright complaint
Description
×
Sign In
Email
Password
Remember me
Forgot password?
Sign In
Our partners will collect data and use cookies for ad personalization and measurement.
Learn how we and our ad partner Google, collect and use data
.
Agree & close