02.07.2013 Views

现代统计图形 - 科学网—博客

现代统计图形 - 科学网—博客

现代统计图形 - 科学网—博客

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

114 第五章 图库<br />

1 > # 原始数据:是否失效以及相应温度<br />

2 > fail = factor(c(2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 2,<br />

3 + 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1), levels = 1:2,<br />

4 + labels = c("no", "yes"))<br />

5 > temperature = c(53, 57, 58, 63, 66, 67, 67, 67, 68,<br />

6 + 69, 70, 70, 70, 70, 72, 73, 75, 75, 76, 76, 78,<br />

7 + 79, 81)<br />

8 > par(mar = c(3.5, 4, 0.5, 2))<br />

9 > t(x

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!