It is not clear as to how you want to parse the file. You need to at least
provide an example of what you expect from the output. You mention " the
detail which begins with 2 at byte location 1 to another file"; I don't see
the '2' at byte location 1.
Jim Holtman
Data Munger Guru
What is the
All,
I have a complex file I would like to parse in R a sample is described below
The header is 1:200 and the detail is 1 to 200. I have written code to parse
the file so far. As follows:
numchar <- nchar(x = data, type = "chars")
start <- c(seq(1, numchar, 398))
end <- c(seq(398, numchar,
Hi David,
As suggested, here is some example code adapted from the example of the
nomogram() from the rms package. You'll notice that variable labels are
not being applied to main effects or interaction terms.
Leonardo
rm(list = ls())
# Import libraries
require(Hmisc)
require(rms)
There has been some good advice not to lose the labels, but perhaps this
gets you where you seem determined to go?
?read.dta
read.dta(file, convert.dates = TRUE, convert.factors = TRUE,
missing.type = FALSE,
convert.underscore = FALSE, warn.missing.labels = TRUE)
or
On 26/08/2016 9:20 PM, Jaya Krishnan wrote:
Hi,
I'm trying to use leaflet for web-mapping. While trying to add polygons, I
get this error
Error in `*tmp*`$x : $ operator is invalid for atomic vectors
Any help is appreciated.
You need to post what you did if you want help. Avoiding HTML is
Hi,
I'm trying to use leaflet for web-mapping. While trying to add polygons, I
get this error
Error in `*tmp*`$x : $ operator is invalid for atomic vectors
Any help is appreciated.
Thanks,
Jaya
[[alternative HTML version deleted]]
__
On 8/26/2016 11:05 AM, Juan Ceccarelli Arias wrote:
Yep. Im a bit stalled.
I can't find the option to import only the values and drop the value labels
from the dta file.
Im quite sure R can do that. Then i'd only used the values and i'd rely on
my memory.
It isn't a bad alternative.
Hint: use
Dear Arne,
Many thanks for this,
It actually worked with heckit() command as well, do I need to use selection()?
Also, I would be really grateful if you can suggest a package that would allow
for estimation of heckman models with two ordered variables (0-1-2). Can
sampleSelection handle
See also:
http://r-forge.r-project.org/forum/forum.php?thread_id=31866_id=844_id=256
On 26 August 2016 at 16:11, PIKAL Petr wrote:
> Hi
>
> See in line
>
>> -Original Message-
>> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Faradj
>> Koliev
9 matches
Mail list logo