R language Self-taught subtotal, from zero to picture function image

Source: Internet
Author: User

Since entering the Chrysanthemum factory, the spare time will have to be fewer and less. Plus a few months before graduation indulgence, left a lot of unfinished game, wasted some time, people also decadent a lot. Working pressure is getting bigger and more dissatisfied with the working environment, making me want to get away from here. Since want to escape chrysanthemum factory, naturally need to prepare some skills, clean up the mood ready to start to quit.

First, explore the depth of data mining to understand the R language. From this knowledge of getting started, R and Matlab do look similar.

Basic Knowledge Preparation:

https://www.w3cschool.cn/r/

Took a little time to find a little information on the world-class, after reading the basic grammar can start playing a play

R language

https://www.r-project.org/

After you find the download, click Download, install the Environment program, all the way next. Finally, the following program environment window is obtained.

Perform the print function below

> Print ("Hello R") [1"Hello R"

Official start

R language command to execute the specified file

Source ("d:\\user\\desktop\\y=x.r")

A small piece of code

#drawBaseLinesx=seq (0,Ten, by=1) #按步长1产生一个序列y=x #计算一组函数关系的yplot (Bty="L", xlab="x", ylab="y", X, Y, pch= +) #画x, the point of Y #smooth lineslines (spline (X,y,method="Natural") #把点折线 and smooth the line a bit #draw ShortLines and tagl_x=seq (4,5, by=1) l_y=l_xsegments (l_x,l_y,l_x,-Ten, lty=2) #画线段, lty is a dashed interval segments (l_x,l_y,-Ten, l_y,lty=2) Text (5.7,0.2, expression (paste (x[1],"+", Delta,"x")) #写字, where expression is a mathematical symbolic function; paste is a concatenation function; The delta is the letter name of the mathematical symbol, and the first letter is lowercase Greek letter text (0,4.2, expression (paste (delta,y[1])) )

Execution effect

Attached: Table of mathematical symbols reproduced

Attached 2: Greek alphabet

Greek alphabet Summary (English reading, non-Greek-tone)
Letter Name IPA Uppercase Letters Lowercase Letters Letter Name IPA Uppercase Letters Lowercase Letters
Alpha /'? lf?/ Alpha Alpha Nu /nju:/ Ν ν
Beta /' bi:t?/or/' be?t?/ Beta Beta Xi Greek/ksi/;/?za?/or/?ksa?/of England and America Ξ Ξ
Gamma /' g?m?/ Gamma Gamma Omicron /?u?maikr?n/or/?ɑm?? krɑn/ 0 ο
Delta /' delt?/ Pi /pa?/ Pi Pi
Epsilon /' eps?l?n/ Ε Ε Rho /r?? / Ρ ρ
Zeta /' zi:t?/ Ζ ζ Sigma /' s?ɡm?/ Σ Σ?
eta η η tau /t?:/or/ta?/ τ τ
/' θi:t?/ θ θ υ υ
Iota /A? '?? t?/ Ι ι? Phi /fa?/ Φ Φ
Kappa /' k?p?/ Κ κ Chi /ka?/ Χ χ
lambda /' L md?/ λ λ psi /psa?/ ψ ψ
Mu /mju:/ Μ Μ Omega /‘?? m?ɡ?/or/O? ' meɡ?/ Omega Omega

R language Self-taught subtotal, from zero to picture function image

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.