Displaying 2 results from an estimated 2 matches for "tid1".
Did you mean:
tid
2006 May 17
8
Why can''t I change value of the primary key?
One should be able to change the value of a primary key, right? But it''s
not working for me. If I do this:
@drug = Drug.find(tid1)
@drug.id = tid2
@drug.category = ''Test2''
if @drug.save
savedok = ''Saved successfully''
else
savedok = ''Not saved''
end
I get ''Saved successfully'' but actually the record is not saved or
chan...
2009 Dec 14
0
ggplot : scale_x_datetime issues
...("transform", env = trans, inherits = TRUE)(trans, ...) :
? NAs introduced by coercion
######
I next tried to get a subset of the dataframe with the following :
?
df2<-df [df$T>"2009-11-05 11:57:33 CET" & df$T<"2009-11-06 12:59:57 CET",]
> head(df2)
[1] Tid1 Rok
<0 rows> (or 0-length row.names)
?
I don?t seem to understand how I should work with the POSIXct class. And, this is just the first step in my analysis (with many more steps pending)..
I will appreciate any and all the help that I can get.
Thanking you,
Ravi