Thu 17 July 2014
Consider the following R code:
a <- factor(floor(rnorm(100))) class(a) summary(a)
Why should you have that? great question. Maybe because of memory place. I really don't know, but I received some R dataset in the form of a factor. My problem is to revert this process, i.e. obtain only a list or a vector of integers.
I felt myself stupid when I realised that the function needed is as.vector().
Related articles (or not):
- R mclapply cores option
- evaluation of exploration values
- R read lists from file
- SQL like aggregation in R
- R convert IPv4 adresses to binary