38 lines
1.2 KiB
Plaintext
Raw Permalink Normal View History

2025-01-12 00:52:51 +08:00
R version 2.9.0 Under development (unstable) (2009-01-28 r47758)
Copyright (C) 2009 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(foreign)
> ex1.51 <- read.mtp("ex1-51.mtp")
> summary(ex1.51)
Length Class Mode
control 26 -none- numeric
seeded 26 -none- numeric
> str(ex1.51)
List of 2
$ control: num [1:26] 1203 830 372 346 321 ...
$ seeded : num [1:26] 2746 1698 1656 978 703 ...
> ex1.51 <- data.frame(ex1.51)
> summary(ex1.51)
control seeded
Min. : 1.00 Min. : 4.10
1st Qu.: 24.82 1st Qu.: 98.12
Median : 44.20 Median : 221.60
Mean : 164.59 Mean : 441.98
3rd Qu.: 159.20 3rd Qu.: 406.02
Max. :1202.60 Max. :2745.60
> q()