File:Twin Study MZ discordant positive example.png

Original file (750 × 750 pixels, file size: 82 KB, MIME type: image/png)

Summary

Description
English: # ====================
  1. = R code to create =
  2. ====================

library(ggplot2); library(MASS) set.seed(1000) cov = .5 myCovariance = matrix(nrow = 2, c(1, cov, cov, 1)); xy = MASS::mvrnorm (n = 100, mu = c(0,0), Sigma = myCovariance); xy = data.frame(xy); names(xy) <- c("x", "y"); p = qplot(x, y, data = xy, geom = c("point", "smooth"), method = "lm", xlab = "MZ difference on trait 1", ylab = "MZ difference on trait 2", main = "MZ discordant Design" ) p + annotate("text", x = 1.5, y = 2, label = "High on both") + annotate("text", x = -.5, y = -2., label = "Low on both traits")

  1. Save as pdf, convert to png
"Twin Study MZ discordant positive_example.png"
Date
Source Own work
Author Tim bates

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported 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.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

30 March 2013

File history

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

Date/TimeThumbnailDimensionsUserComment
current21:44, 30 March 2013Thumbnail for version as of 21:44, 30 March 2013750 × 750 (82 KB)Tim batesUser created page with UploadWizard

The following page uses this file:

Global file usage

The following other wikis use this file:

Metadata