Plottype.png(480 × 480 pixels, file size: 40 KB, MIME type: image/png)

Summary

Description
English: Different type of plots in the R plot function.
Date
Source Own work
Author PAC2

R source

x1 <- rnorm(50)
png("plottype.png")
par(mfrow = c(2,2))
plot(x1, type = "p", main = "points", ylab = "", xlab = "")
plot(x1, type = "l", main = "lines", ylab = "", xlab = "")
plot(x1, type = "b", main = "both", ylab = "", xlab = "")
plot(x1, type = "o", main = "both overplot", ylab = "", xlab = "")
dev.off()

Licensing

Public domain I, the copyright holder of this work, release this work into the public domain. This applies worldwide.
In some countries this may not be legally possible; if so:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.
 
This chart was created with R.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

18 May 2010

image/png

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current10:57, 18 May 2010Thumbnail for version as of 10:57, 18 May 2010480 × 480 (40 KB)PAC2{{Information |Description={{en|1=Different type of plots in the R plot function.}} |Source={{own}} |Author=PAC2 |Date=2010-05-18 |Permission= |other_versions= }} ==R source== <pre width = 80> x1 <- rnorm(50) png("plottype.png") par(mfrow =

The following 2 pages use this file: