Ok, just so as I get that straight, is the 'labelled' class something
that you created in your package or a readily available class in base R?
*Sebastien Bihorel, PharmD, PhD*
PKPD Scientist
Cognigen Corp
Email: sebastien.biho...@cognigencorp.com
mailto:sebastien.biho...@cognigencorp.com
Sebastien Bihorel wrote:
Ok, just so as I get that straight, is the 'labelled' class something
that you created in your package or a readily available class in base R?
It's something we added for the Hmisc package.
Signing off,
Frank
*Sebastien Bihorel, PharmD, PhD*
PKPD Scientist
Cognigen
Thanks a lot Frank,
One last question, though. I was tempted to remove all attributes of my
variables after the sasxport.get call using
foo - sasxport.get(...)
foo - as.data.frame(lapply(unclass(foo),as.vector))
Since I never worked with the objects of class 'labeled', I was
wondering what I
Sebastien Bihorel wrote:
Thanks a lot Frank,
One last question, though. I was tempted to remove all attributes of my
variables after the sasxport.get call using
foo - sasxport.get(...)
foo - as.data.frame(lapply(unclass(foo),as.vector))
Since I never worked with the objects of class
I also realized the flaw after testing the script on various datasets...
Following up on your last note:
1- Is that the reason why the class of integer and regular numeric
variable is solely labelled following sasxport.get?
2- Can class be 'soft' for other 'kind' of variables?
3- Would you
Sebastien Bihorel wrote:
I also realized the flaw after testing the script on various datasets...
Following up on your last note:
1- Is that the reason why the class of integer and regular numeric
variable is solely labelled following sasxport.get?
Yes. R gurus might correct me but just
Sebastien Bihorel wrote:
Dear R-users,
The sasxport.get function (from the Hmisc package) automatically defines
the class of imported variables. I have noticed that the class of
theoretically numeric variables is simply labelled, although character
variables might end up been defined as
Sebastien Bihorel wrote:
Frank,
It is a non existing issue for me if the variables of class labelled
(and only labelled) can only be numerical variables (integer or numeric).
Sebastien
'labelled' can apply to any type of vector. I'm not clear on the
problem this causes you. Please
Frank,
It is a non existing issue for me if the variables of class labelled
(and only labelled) can only be numerical variables (integer or numeric).
Sebastien
Frank E Harrell Jr wrote:
Sebastien Bihorel wrote:
Dear R-users,
The sasxport.get function (from the Hmisc package) automatically
9 matches
Mail list logo