search for: mydatetimes

Displaying 4 results from an estimated 4 matches for "mydatetimes".

Did you mean: mydatetime
2009 May 04
1
how to remove ( ) ? when using write.csv(chron.object)
Hello all, I don' like to have ( ) around my datetime, when send the csv file to somebody. How to remove it? >library(chron) >mydate <- c("2009-05-03","2009-06-07") >mytime <- c("10:30:00","10:20:00") >mydatetime <- chron(dates=mydate,times=mytime,format=c("y-m-d","h:m:s")) >write.csv(mydatetime)  
2016 Apr 22
0
clock24.plot
...1,at=c(0,100),line=1) >> >> As you say you have date/time values, you will have to extract the >> time values from the date/times. If all you want is something like the >> hours as in the above example, you can just do this: >> >> mydata$hours<-format(strptime(mydatetimes,<date time format>),"%H") >> hour_freq<-as.vector(table(mydata$hours)) >> >> I am assuming that you want some sort of frequency distribution during >> the day. If I have misunderstood, please let me know. >> >> Jim >> >> On Fri, Apr...
2009 May 06
2
rmysql query help
R HELP, I am trying to use an R script to connect to a mysql database. I am having a problem using a variable in the where clause that contains a "space" in its value. If I include the variable inside the quotes of the query - i think it is searching for the name of the variable in the database and not the value of the variable. If I put it outside the quotes, then it complains
2009 May 05
1
self organizing map advice for categorical data
Hello, Could anybody offer any advice about implementing a Kohonen self organizing map for categorical data? Specifically I am wondering if there are any pre-existent packages that can deal with categorical data and/or how one would compare the input vector of categoricals with the self organizing map nodes. Thanks in advance. George Chen ----- Original Message ----- From: r-help-request at