R Language Basics

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.