search for: lastdat

Displaying 8 results from an estimated 8 matches for "lastdat".

Did you mean: lastdot
2012 Nov 02
2
Date format conversion from "2012-09-20" to "2012:09:20"
Hi R, How to get the range of values form startDate to lastDate as given below?. #***************************************************************** # Load historical data #****************************************************************** library('quantmod') endDate =Sys.Date() startDate = as.Date(endDate-30, order="ymd") dataspy = getSymb...
2018 Mar 25
1
Get Specific Records from Another DataFrame
Hello I have been struggling with this simple looking problem. I have two dataframes. The first one contains ID, date, and revenue information for specific suppliers. id lastdate depvar A 5/10/2017 10 B 8/16/2017 20 C 2/14/2017 30 D 9/5/2017 40 E 8/1/2017 50 F 11/4/2017 60 G 6/22/2017 70 The second dataframe contains timeseries data of each supplier in different columns. For example Column A are the transaction dates of supplier A and A_indvar is an independent variable va...
2001 Feb 13
0
handle date variables
...convert a string into a date value. For example, convert 20010122 to 2001 Jan 22, and get its day of the week, i.e. Monday? 3. How to handle date variables in a loop? How to make the following codes work? And how users should pass the date arguments to the function? fun1 <- function(firstdate, lastdate) { for ( i in firstdate:lastdate) { do something.... } } fun1(2001/01/22, 2001/01/27) --- Douglas Bates <bates at stat.wisc.edu> wrote: > Yu-Ling Wu <yuling5 at yahoo.com> writes: > > > I'd like to pass a string to a function as the > value &...
2011 Feb 09
1
Iterate over a list of input files?
...ted and augment the data frame I'm building to have more results columns.How can I do that? Here's the code: library(chron) # .Holidays / is.holiday / is.weekend TStoDate = function (TSDate) { X = strptime(TSDate + 19e6L, "%Y%m%d") return(as.Date(X)) } FirstDate = 1090601 LastDate = 1101101 StartDate = TStoDate(FirstDate) EndDate = TStoDate(LastDate) # Create a sequence of days from start to finish # Then remove weekends and holidays and turn into a data.frame dd <- seq(StartDate, EndDate, by = "day") TradingDate <- dd[!is.weekend(dd) & !is.holiday(dd...
2016 Jun 26
2
Need IP on failed logins in logfile
Hi Jeremy, list, On 06/26/2016 12:11 AM, Jeremy Allison wrote: > We should probably have something in the server that logs > this as an official "event". Can someone log a RFE bug in > the bugzilla so we don't forget this request ? I created this bug: https://bugzilla.samba.org/show_bug.cgi?id=11998 I hope it is (approximately) what you mean. :-) Best regards, MJ
2017 Sep 19
1
How to track attempted breakins, authentication failure logging
On Tue, 2017-09-19 at 17:02 +0200, L.P.H. van Belle via samba wrote: > Hai Mark, > > I see the bugreport for this is still untouched. > https://bugzilla.samba.org/show_bug.cgi?id=11998 I've closed that bug now. Extensive work has been done to add this feature to Samba 4.7, due out this week: https://wiki.samba.org/index.php/Setting_up_Audit_Logging Two new debug classes,
2013 Feb 11
2
Inserting rows of interpolated data
Dear help list - I have light data with 5-min time-stamps. I would like to insert four 1-min time-stamps between each row and interpolate the light data on each new row. To do this I have come up with the following code: lightdata <- read.table("Test_light_data.csv", header = TRUE, sep = ",") # read data file into object "lightdata" library(chron) mins <-
2009 May 15
1
[PATCH server] First round of (largely) cosmetic changes to flexchart.
...= label.getCenter(); ind.y = 0; ind.setVisible(true); - ind.setStyle("backgroundColor","0x000000"); + ind.setStyle("backgroundColor",Constants.axisColorString); XAxisLabelArea.addChild(ind); + + lastDate = dataPoint.getTimestamp().date; } currentBarPosition += (bar.width + Constants.barSpacing); @@ -311,6 +362,8 @@ package org.ovirt.charts { t1 = new Date(dataPoints[0].getTimestamp().getTime()); t2 = new Date(dataPoints[size - 1].getTimestamp().getTime());...