wcalc | R Documentation |
Calculate column widths of a plain text fixed-width file from column numbers on which each field begins.
wcalc(p)
p |
numeric vector of column numbers, should start with 1 and end with the number of the last column in a file+1 |
The first element of the p
argument should be 1 as it is the first
column of the first field. Subsequent numbers should correspond to the
column numbers that begin other fields. The last number of p
should
be the end of the last field + 1 or, equivalently, the begining of the next
(non-existing) field.
Numeric vector of column widths.
# TODO add examples
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.