当前位置:网站首页>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 ) 
边栏推荐
- ESP32
- 【案例】元素的显示与隐藏的运用--元素遮罩
- xlrd常见操作
- ODPs next map / reduce preparation
- 冯唐“春风十里不如你”数字藏品,7月8日登录希壤!
- selenium 获取dom内属性值的方法
- 100 cases of shell programming
- Pytorch实战——MNIST数据集手写数字识别
- Parker驱动器维修COMPAX控制器维修CPX0200H
- Learning notes of statistical learning methods -- Chapter 1 Introduction to statistical learning methods
猜你喜欢

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

leetcode:1139. The largest square bounded by 1

阿里云有奖体验:用PolarDB-X搭建一个高可用系统

MMAP

Parker driver maintenance COMPAX controller maintenance cpx0200h

MySQL InnoDB Architecture Principle

Zhang Lijun: penetrating uncertainty depends on four "invariants"

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

Wood board ISO 5660-1 heat release rate mapping test

What should I do to prepare for the interview algorithm position during school recruitment?
随机推荐
股票开户选择哪家证券公司比较好哪家平台更安全
MySQL 千万数据量深分页优化, 拒绝线上故障!
Incentive mechanism of Ethereum eth
冯唐“春风十里不如你”数字藏品,7月8日登录希壤!
selenium 查找b或p标签的内容
面试官:并发编程实战会吗?(线程控制操作详解)
Prior knowledge of machine learning in probability theory (Part 1)
Hdu2377bus pass (build more complex diagram +spfa)
Five layer network protocol
R语言【数据管理】
leetcode:1755. Sum of subsequences closest to the target value
MQ----activeMq
Wood board ISO 5660-1 heat release rate mapping test
【案例】定位的运用-淘宝轮播图
Utils/index TS tool function
Haas506 2.0 development tutorial - Alibaba cloud OTA - PAC firmware upgrade (only supports versions above 2.2)
EN 438-7 laminated sheet products for building covering decoration - CE certification
R language [data management]
Interviewer: will concurrent programming practice meet? (detailed explanation of thread control operation)
ESP32