search for: edate

Displaying 13 results from an estimated 13 matches for "edate".

Did you mean: date
2004 Mar 08
5
years from as.POSIXlt
Hi, how it's possible to extract the year and the number of days from Julian date. i'm little confused about the last two functions and ?years . EDATE comes from sqlQuery with as.is=T EDATE <- as.POSIXlt(datvears$ENROLLDAY) Many thanks, Christian > EDATE[1:5] [1] "2000-06-30 11:25:01" "2000-06-30 11:39:55" "2000-06-30 12:11:11" [4] "2000-06-30 12:13:32" "2000-06-30 12:50:12" > weekda...
2009 Dec 12
3
help with graphing -- Points in my graph are not apparent, always displayed in steps
I am trying to graphically represent a large set of data who's result is not strictly uniform. http://n4.nabble.com/file/n961629/egraph_rules_list_2.png The scatter plot to the left has all of the data rising in steps however I know that there are cases within my data that do not fit the dotted line. temp<-edat[edat$R1SC>0,,]
2009 Mar 31
2
TimeWithZone seems in rails 2.3 seems broken...is this the correct behavior?
...y local zone) and is incorrectly adding four hours to convert to what it thinks is UTC. Either my understanding of how this is supposed to work is wrong, or something needs to be fixed. I created a test table in a SQL Server database with one row. The table is called events and contains an "edate" column. The value is "2009-03-30 12:00", and is a UTC time. The output from script/console is below. (results are identical to using a browser) What else do I need to do to convince rails to leave the time value alone, since it *is* a UTC value? I can get the correct value by ex...
2011 Apr 11
1
Edate and EOmonth
Hi, I was wondering if anyone could point me to the excel look alike "Edate" and "eomonth" functions in R. I have found the "timeLastDayInMonth" and "timeFirstDayInMonth" in the "timeDate" package. However, I am looking for a bit more flexibility. I would like to be able to obtain dates and EOM dates "n" months prior/...
2002 Feb 22
1
Weekdays
...mber of days is a multiple of 7. However, the number of weekend days in the tail is a little harder. It depends on both the start date of the tail and the number of days in the tail. Any suggestions for a more elegant solution would be helpful. Thanks, Whit Armstrong bdays <- function(sdate,edate) { sdate <- as.POSIXlt(sdate) edate <- as.POSIXlt(edate) length <- as.integer(difftime(edate,sdate)) weeks <- floor(length/7) tail <- length%%7 # true no matter what day of the week the start date is weekend.days <- weeks*2 weekend.days <- weekend.days + # number of...
2009 Jan 21
1
Looking for a special date function in R
Hello, everyone I wonder if R has something similar to Excel function EDATE(start_date; months) which returns a serial number of the date that is the indicated number of months before of after the start date. Example (the second column EDATE(first_column; -6)): 01.01.1999 01.07.1998 02.02.1999 02.08.1998 06.03.1999 06.09.1998 I am working with a zoo object where the row n...
2008 Dec 02
1
match
Hi, I would like to check which rows of 'types.prev' matrix pop up in 'types', following R in-built procedure. I tried 'match' function but it works in case of the one dimensional vectors. Will appreciate any suggestions. best, robert > types edate K [1,] 20060819 12.5 [2,] 20060819 17.5 [3,] 20060819 22.5 [4,] 20070217 12.5 [5,] 20060617 10.0 [6,] 20060617 15.0 [7,] 20060520 12.5 [8,] 20060520 15.0 [9,] 20060520 17.5 [10,] 20061118 10.0 [11,] 20061118 12.5 [12,] 20061118 15.0 [13,] 20061118 17.5 > types.prev...
2016 Apr 22
1
npudens(np) Error missing value where TRUE/FALSE needed
Hi, I am looking for some help concerning the npudens function in the np package. I am trying to find a kernel density function of a multivariate dataset and the density evaluated at each of the 176 points. I have 2 continuous and 3 ordered discrete variables. My sample size is 176. So edata is a 176x(2+3) data frame, while tdat is a 1x(2+3) vector. bw_cx[i,] is a 1x (2+3) vector
2006 Aug 06
5
Click Table Headings to Sort..
...er) to either "up" or "down" when the table header link is clicked. Right now, my working code (in a partial) looks something like this - <% if params[:v_order] == ''down'' %> <%= link_to "e_date", :action =>"list_by_edate", :v_order => "up" %> <% else %> <%= link_to "e_date", :action =>"list_by_edate", :v_order => "down" %> <% end %> the controller has the correct code for sorting either by ''edate'...
2013 Oct 11
3
Removing a domain controller help needed
On Fri, 2013-10-11 at 16:00 +1300, Andrew Bartlett wrote: > On Fri, 2013-09-13 at 09:10 +0200, christophe wrote: > > Hi, > > > > First guys, I'd like congratulate you. Samba 4 is really a cool product. > > > > I have a little problem though. > > > > The context: > > > > I have Samba4 AD DC working perfectly on a virtual machine >
2012 Mar 20
0
Google calendar is not working properly with gcal4ruby (0.2.6)
...tle] event = GCal4Ruby::Event.new(calendar) event.title = title event.content = params[:events][:content] event.where = params[:events][:location] event.start = Time.parse("#{sdate} at #{kstime} ") event.end = Time.parse("#{edate} at #{ketime}") if !event.save return false else event_id = event.id Event.add_event(event_id,params[:events][:traveller],params[:events][:title], params[:events][:content], params[:events][:location], sdate, stime, edate, etime, user_id...
2007 Jan 21
1
importing selected rows and columns from text
I read through the import/export manual a few times and did not see this mentioned and checked the archives as well. I am dealing with data sheets generated by Eprime (a software package for generating experimental psychology paradigms) that output subject responses in a proprietary Edat file format. All individual subject response spread sheets can be merged to form one long file of all
2010 Nov 03
0
package 'np' and point estimation with multiple predictors
(disclaimer: I'm in physics, not stats... ) I have a multivariate problem. One variable, call it R1, and 3 "predictor" variables, P1, P2, P3. My goal is to take a load of training data (I know R1,P1,P2,P3 for about 700 total points), and then predict R1 for a new set of data for which I have all the predictors. Simple, no? I understand how to calculate bandwidths, and I have a