Hi Tonja
Maybe I wasn't clear in my last post. This is the code:
library(gWidgetstcltk)
library(gWidgets)
options(guiToolkit="tcltk")
Population <- c("A","B","C","D","E","F")
w = gwindow("")
g1 = ggroup(horizontal = F, cont=w)
g2 = ggroup(horizontal = T, cont=g1)
glabel("Population:", cont=g2)
S
Hello Pradeep
I downloaded divorce.dat but I could not find tabs between the columns.
You defined tab as separator, so your columns should be separated by tabs.
Therefore read.table reads the whole first line and wants to save the
result as numeric because you defined the first column as numeric
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Rolf Fankhauser
Hege
Hi
I would like to aggregate a rainfall series with 1min records (timestamp
and value of 0.1mm from a tipping bucket raingauge) to 10min values by
summing up the values.
# ptime is a POSIXlt datetime value with tz="GMT"
t10min <- 600*floor(as.integer(as.POSIXct(data$ptime))/600)
w10min <- ta
Ok, I see, the difference comes from summer and winter time. Thanks for
the hint!
Stupid not to bear that in mind!!
Peter Dalgaard wrote:
>Rolf Fankhauser wrote:
>
>
>>Hi all,
>>
>>I need to compare time series data files of different time formats. I
>>had n
Hi all,
I need to compare time series data files of different time formats. I
had no problems with text format using strptime.
But how can I convert datetime numbers from Excel (days since 30.12.1899
00:00:00) into POSIXt objects?
For example 29770.375 should be converted to "03.07.1981 09:00:0
6 matches
Mail list logo