#========================================================
#wolf moose graph version 20170616.R
#
#
#Data are from Messier,F.1994.Ungulate popuparion models
#with predation:a case study with the North American moose.
#
#
#========================================================
#------------------------------------------------
#Enter data into two vectors.
#------------------------------------------------
moose.density=c(.17,.23,.23,.26,.37,.42,.66,.80,1.11,1.30,1.37,1.41,1.73,2.49)
kill.rate=c(.37,.47,1.90,2.04,1.12,1.74,2.78,1.85,1.88,1.96,1.80,2.44,2.81,3.75)

#------------------------------------------------
#Draw a scatterplot of the data
#------------------------------------------------
plot(moose.density,kill.rate,type="p")

 

运行效果:

使用R语言绘制图表

 

相关文章:

  • 2021-11-08
  • 2021-07-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-18
  • 2021-08-03
猜你喜欢
  • 2021-10-29
  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
  • 2021-08-07
  • 2021-07-02
相关资源
相似解决方案