File: xport.R

package info (click to toggle)
foreign 0.8.91-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,712 kB
  • sloc: ansic: 7,572; asm: 4; makefile: 2
file content (9 lines) | stat: -rw-r--r-- 253 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
library(foreign)
lookup.xport("Alfalfa.xpt")
Alfalfa <- read.xport("Alfalfa.xpt", stringsAsFactors = TRUE)
summary(Alfalfa)
## test data provided by FRohde@birchdavis.com
lookup.xport("test.xpt")
testdata <- read.xport("test.xpt")
summary(testdata)
q()