Displaying 1 result from an estimated 1 matches for "pou1".
Did you mean:
pop1
2012 Jun 27
2
A solution for question about formatting Dates
Hello again:
Here is a solution to the dates without leading zeros:
pou1 <- function(x) {
#Note: x is a data frame
#Assume that Column 1 has the date
#Column 2 has station
#Column 3 has min
#Column 4 has max
library(stringr)
w <- character(length=nrow(x))
z <- str_split(x[,1],"/")
for(i in 1:nrow(x)) {...