search for: tmpt

Displaying 2 results from an estimated 2 matches for "tmpt".

Did you mean: smpt
2007 Jul 04
3
Problem/bug with smooth.spline and all.knots=T
Dear list, if I do smooth.spline(tmpSec, tmpT, all.knots=T) with the attached data, I get this error-message: Error in smooth.spline(tmpSec, tmpT, all.knots = T) : smoothing parameter value too small If I do smooth.spline(tmpSec[-single arbitrary number], tmpT[-single arbitrary number], all.knots=T) it works! I just don't see...
2002 Apr 08
1
Problem(?) in strptime()
...hought a reasonable approach would be to tell R that they are in GMT, read them as such, and then convert to US/Pacific. Here is what I have been using. tmpd <- c('Sun Apr 07 01:30:58 2002', 'Sun Apr 07 02:30:58 2002', 'Sun Apr 07 03:30:58 2002') tmpt <- as.POSIXct(strptime(tmpd,'%a %b %d %H:%M:%S %Y'),tz='GMT')+28800 > tmpt [1] "2002-04-07 01:30:58 PST" "2002-04-07 01:30:58 PST" "2002-04-07 04:30:58 PDT" It works for the first and last times, but not the middle one (3:30 "PST" =...