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.kongsga...@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
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.