Description Usage Arguments Details Value Author(s) References See Also Examples
A block is a character vector where each element represents a line of text from a table. This function converts the character vector to a data.frame. The first line must be a header, and names will not be checked.
1 2 | ## S3 method for class 'block'
as.data.frame(x, ...)
|
x |
character |
... |
extra arguments passed to |
The function calls read.table
with header=TRUE
, as.is=TRUE
, and
check.names=FALSE
. It is an error to specify these arguments.
data.frame
Tim Bergsma
http://metrumrg.googlecode.com
read.table
1 2 3 4 5 6 7 8 9 | as.data.frame.block(
c(
'just an example',
'run param estimate',
'1 CL 45',
'1 V2 70',
'1 Ka 3.14'
)
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.