绘制散点图
You have paired observations: (x1, y1), (x2, y2), ..., (xn, yn). You want to create a scatter plot of the pairs.
公卫百科
If your data is held in two parallel vectors, x and y, use them as arguments of plot:
> plot(x, y)
If your data is held in a (two-column) data frame, plot the data frame:
公卫考场
> plot(dfrm)
See the help page for plot to learn more about adding a title, subtitle, and labels.
附件列表
词条内容仅供参考,如果您需要解决具体问题
(尤其在法律、医学等领域),建议您咨询相关领域专业人士。