read_tdf | R Documentation |
Read data files intended for the original TRIM programme.
read_tdf(x, ...)
## S3 method for class 'character'
read_tdf(
x,
missing = -1,
weight = FALSE,
ncovars = 0,
labels = character(0),
...
)
## S3 method for class 'trimcommand'
read_tdf(x, ...)
x |
a filename or a |
... |
(unused) |
missing |
|
weight |
|
ncovars |
|
labels |
|
A data.frame
.
TRIM input data is stored in a ASCII
encoded file where headerless columns
are separated by one or more spaces. Below are the columns as read_tdf
expects
them.
Variable | status | R type |
site | requiered | integer |
time | required | integer |
count | required | numeric |
weight | optional | numeric |
<covariate1> | optional | integer |
... | ||
<covariateN> | optional | integer |
Other modelspec:
check_observations()
,
read_tcf()
,
set_trim_verbose()
,
trim()
,
trimcommand()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.