Vector with factors inside lists/tuples
On Jun 25, 2011, at 1:33 PM, H?vard Wahl Kongsg?rd wrote:
Well, when a think of it using an array would be a simple solution. But to what extent are arrays supported by other R functions?
Arrays are well supported by arithmetic, logical and accessor functions. Your questions seem very unfocussed. Arrays of factors might be a bit difficult since factors in R require preservation of attributes which arrays (and matrices) do not allow.
-H?vard 2011/6/25 H?vard Wahl Kongsg?rd <haavard.kongsgaard at gmail.com>
Hi, this seems like a strange question, but in R is there a
function that
can handle vectors containing factors inside lists/tuples? Or is
there some
other approach/functions I can use?
Like for example
V1
"{"Harry","Brown")"
"{"Brown","Harry")"
I want to use these variables in a machine learning setting, And
don't want
to convert these into multiple vectors, given share number of
factors.
--
H?vard Wahl Kongsg?rd
http://havard.security-review.net/
[[alternative HTML version deleted]]
Still posting html format.
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
David Winsemius, MD West Hartford, CT