Learn R Programming

plm (version 0.2-2)

pread.table: Read panel data from text file

Description

Create a pdata.frame directly by reading a text file.

Usage

pread.table(file,id,time=NULL,name=NULL,...)

Arguments

file
a text file,
id
the name of the individual index,
time
the name of the time index,
name
the name of the pdata.frame. If missing, the name of the pdata.frame is the name of the file, without the path and the extension,
...
further arguments passed to read.table.

Value

  • a pdata.frame object

See Also

pdata.frame