当前位置:网站首页>Exercise 1 simple training of R language drawing
Exercise 1 simple training of R language drawing
2022-07-05 21:29:00 【A primary school student on the statistics Road】
In this section , I will provide you with a few examples for practice , Let's talk about R Master the language drawing function more skillfully , The data required for this article can be found in the content uploaded by me on my homepage , You can use it yourself , Of course, you can also confide in me , I'll pack it and send it to you directly , Everyone help a little praise , Thank you for your support !!!
subject 1: Ask to use the topic 1 Plot a scatter plot of the data , Its title is ‘my answer 1’, The abscissa name is month, The ordinate name is annal, The abscissa value is 0-330, The ordinate value is 0-4000, The color is set to red .
answer :
# Import csv file
shuju=read.csv('C:/Users/lhb/Desktop/ subject 1 data .csv',header = TRUE)
plot(shuju$month,shuju$annal,# Specify the horizontal and vertical coordinates
main = 'my answer 1',# Name the title
xlab='month',# Specify the abscissa name
ylab='annal',# Specify ordinate name
xlim=c(0,330),
ylim=c(0,4000),# Specify the value range of horizontal and vertical coordinates
col='red'# The specified color is red ) 
边栏推荐
- [daily training -- Tencent select 50] 89 Gray code (only after seeing the solution of the problem)
- Comprehensive optimization of event R & D workflow | Erda version 2.2 comes as "7"
- ESP32
- Problems encountered in office--
- Li Kou ----- the maximum profit of operating Ferris wheel
- Sequence alignment
- Determine the best implementation of horizontal and vertical screens
- Some things make feelings nowhere to put
- "Grain mall" -- Summary and induction
- 【案例】定位的运用-淘宝轮播图
猜你喜欢

Zhang Lijun: penetrating uncertainty depends on four "invariants"

基于 Ingress Controller 在集群外访问 Zadig 自测环境(最佳实践)

Li Kou ----- the maximum profit of operating Ferris wheel

校招期间 准备面试算法岗位 该怎么做?

Enclosed please find. Net Maui's latest learning resources

Ethereum ETH的奖励机制

显示屏DIN 4102-1 Class B1防火测试要求

The transformation based on vertx web sstore redis to realize the distributed session of vertx HTTP application

ArcGIS\QGIS无插件加载(无偏移)MapBox高清影像图

Cross end solution to improve development efficiency rapidly
随机推荐
张丽俊:穿透不确定性要靠四个“不变”
WPF gets the control in the datagridtemplatecolumn of the specified row and column in the DataGrid
LeetCode: Distinct Subsequences [115]
Access Zadig self-test environment outside the cluster based on ingress controller (best practice)
冯唐“春风十里不如你”数字藏品,7月8日登录希壤!
vant 源码解析 event.ts 事件处理 全局函数 addEventListener详解
Selenium gets the verification code image in DOM
Clickhouse copy paste multi line SQL statement error
selenium 查找b或p标签的内容
int GetMonth( ) const throw( );后面的throw( )什么意思?
Prior knowledge of machine learning in probability theory (Part 1)
EN 438-7建筑覆盖物装饰用层压板材产品—CE认证
Vant source code parsing event Detailed explanation of TS event processing global function addeventlistener
Influence of oscilloscope probe on signal source impedance
R language [data management]
Clion-MinGW编译后的exe文件添加ico图标
XML modeling
Postgres establish connection and delete records
Introduction of ArcGIS grid resampling method
Simple getting started example of Web Service