What is R?
One of the most popular data analysis and visualization platforms.
Why Choose R?
Free support Windows/mac os/linux, open source, everyone can contribute to it, so there are many toolkits.
Master what's the function of R?
Can complete almost every step of the data analysis design,
Data acquisition ---"data cleansing ---" data analysis ---"results report ---" Release results
Data analysis:
Exploratory data analysis
Statistical inference
Regression analysis
Classification of machine learning -----
1. Exploratory data Analysis
the necessary steps in data analysis
Understanding Data
Drawing
2. Statistical Inference
the process of drawing formal conclusions based on data.
the data that is usually obtained is uncertain.
3. regression analysis
linear regression analysis,
linear model fitting data
predictor variables, result variables
4. Machine learning
requires a certain amount of computer knowledge and mathematics knowledge
train models with massive amounts of data and use models to predict new data
How to use R developing data products?
in the Tools for developing data products in R:
Googlevisapi How to use: make html with Rand call Google charts to generate a chart.
Interactive HTML charts.
Manipulate can perform human-computer interaction.
Rcharts using R to make interactive javascript visualization Products
Shiny the platform for creating interactive R programs that embed Web pages .
Slidify Production and release of R -based reports
cran.r-project.org r Download URL.
acquisition and installation of RStudio
Integrated development Environment ( IDE)
rstudio.com Download URL
The mechanism of package extension R Basic functions is also integrated with numerous functions.
in the There are 5 basic Object data Types in R:
Character
Numerical
Integer
Plural
Logic
in the assigning values to variables in the R language: x <-2
Class (x) to see the type of the variable x
X <-3L means that variable x is shaping.
The R language is case-sensitive.
Y <-"Hello World"
Y is a character variable.
in the In the R language, True or False (True orfalse) needs to be represented in uppercase.
plural: x <-1+2i
This article is from the "lss8025404" blog, make sure to keep this source http://lss18234826994.blog.51cto.com/11518794/1791188
R Language Basics