Displaying 1 result from an estimated 1 matches for "tempminimum".
2009 Jun 16
1
adressing dataframes
...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
Min. 1st Qu. Median Mean 3rd...