File:Plots from lm example.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Simple English Wikipedia, the free encyclopedia

Original file(SVG file, nominally 540 × 540 pixels, file size: 111 KB)

You have we need

Summary

Description
Français : Graphique produit dans R 2.9.1 avec la package Cairo en utilisant le code d'exemple proposé dans en:R (programming language):
English: Plots produced by example code in R, using R version 2.9.1 and the Cairo package:
Date
Source travail personnel (own work), SVG conversion from File:Plots from lm example.png
Author Calimo
Other versions File:Plots from lm example.png
SVG development
InfoField
 
The SVG code is valid.
 
This plot was created with R.
Source code
InfoField

R code

library(Cairo)
x <- c(1,2,3,4,5,6)
y <- x^2
CairoSVG("Plots from lm example.svg")
par(mfrow=c(2, 2))
par(cex.axis=.8)
par(mgp=c(2, 1, 0))
par(mar=c(4, 3.5, 2.5, 1.5))
plot(lm(y ~ x))
dev.off()

Licensing

I, the copyright holder of this work, hereby publish it under the following licenses:
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported, 2.5 Generic, 2.0 Generic and 1.0 Generic license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
You may select the license of your choice.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

26 August 2009

File history

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

Date/TimeThumbnailDimensionsUserComment
current11:44, 26 August 2009Thumbnail for version as of 11:44, 26 August 2009540 × 540 (111 KB)CalimoMaybe a cache problem, but somehow the previous version went through instead of the new one.
11:41, 26 August 2009Thumbnail for version as of 11:41, 26 August 2009540 × 540 (111 KB)CalimoChange margin and axis text sizes to have all the labels plotted. <pre>par(cex.axis=.8) par(mgp=c(2, 1, 0)) par(mar=c(4, 3.5, 2.5, 1.5))</pre>
09:59, 26 August 2009Thumbnail for version as of 09:59, 26 August 2009540 × 540 (106 KB)Calimo{{Information |Description={{en|1=Plots produced by example code in R, using R version 2.9.1 and the Cairo package: <pre> library(Cairo) x <- c(1,2,3,4,5,6) y <- x^2 CairoSVG("Plots from lm example.svg") par(mfrow=c(2, 2))

The following page uses this file:

Global file usage

The following other wikis use this file: