Displaying 2 results from an estimated 2 matches for "numbers2".
Did you mean:
numbers
2009 Jun 16
1
adressing dataframes
...the dataframes with a construct like
rawdata[c(type)] vs. rawdata$TEMPMIN
to retrieve the numerical information and not a string (I want to store the
numerical values in a database for graphical expression)
Code Snippet:
type <- "TEMPMIN"
numbers <-summary(rawdata[c(type)])
numbers2 <- summary(rawdata$TEMPMINIMUM)
Results:
numbers
TEMPMIN
Min. :-7.200
1st Qu.: 2.100
Median : 6.200
Mean : 6.588
3rd Qu.:11.800
Max. :18.100
> numbers[[1]]
[1] "Min. :-7.200 " <<< which is a string
Whereas:
> numbers2...
2012 Aug 11
3
replace funcion
Hello everybody,
I would like to replace or recode a list of numbers between 1 and 12 (total
100). I have tried to make it with recode, but i have two types of
replacements. For 1,2,3,4,11,12 => invierno and for 5,6,7,8,9 and 10 =>
verano.
recode(datos.mx1[,7], "1='invierno'; 2='invierno';