当前位置:网站首页>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 )
边栏推荐
- 显示屏DIN 4102-1 Class B1防火测试要求
- What are the requirements of UL 2043 test for drive housing in the United States?
- Gcc9.5 offline installation
- vant 源码解析之 utils/index.ts 工具函数
- Simple interest mode - lazy type
- 張麗俊:穿透不確定性要靠四個“不變”
- AITM2-0002 12s或60s垂直燃烧试验
- 校招期间 准备面试算法岗位 该怎么做?
- Comprehensive optimization of event R & D workflow | Erda version 2.2 comes as "7"
- LeetCode_ Hash table_ Difficulties_ 149. Maximum number of points on the line
猜你喜欢
秋招将临 如何准备算法面试、回答算法面试题
Zhang Lijun: penetrating uncertainty depends on four "invariants"
PVC 塑料片BS 476-6 火焰传播性能测定
EasyExcel的读写操作
MySQL deep paging optimization with tens of millions of data, and online failure is rejected!
Teach yourself to train pytorch model to Caffe (III)
EasyExcel的讀寫操作
Influence of oscilloscope probe on measurement bandwidth
What should I do to prepare for the interview algorithm position during school recruitment?
Enclosed please find. Net Maui's latest learning resources
随机推荐
GCC9.5离线安装
MySQL deep paging optimization with tens of millions of data, and online failure is rejected!
Generics of TS
Comprehensive optimization of event R & D workflow | Erda version 2.2 comes as "7"
ArcGIS栅格重采样方法介绍
Learning notes of statistical learning methods -- Chapter 1 Introduction to statistical learning methods
MySQL 千万数据量深分页优化, 拒绝线上故障!
postgis 安装地理信息扩展
Interviewer: will concurrent programming practice meet? (detailed explanation of thread control operation)
场景化面试:关于分布式锁的十问十答
Why can't Chinese software companies produce products? Abandon the Internet after 00; Open source high-performance API gateway component of station B | weekly email exclusive to VIP members of Menon w
Aitm 2-0003 horizontal combustion test
WPF gets the control in the datagridtemplatecolumn of the specified row and column in the DataGrid
Sequence alignment
Talk about my fate with some programming languages
校招期间 准备面试算法岗位 该怎么做?
2022-07-03-cka- latest feedback from fans
EN 438-7建筑覆盖物装饰用层压板材产品—CE认证
五层网络协议
Teach yourself to train pytorch model to Caffe (2)