search for: rnieuws

Displaying 7 results from an estimated 7 matches for "rnieuws".

Did you mean: nieuws
2010 Aug 29
1
calculations with dates
Hi, I have a data.frame with factors in columns like startdate enddate 27SEP2005 01JAN2006 How can I calculate the duration between those two dates and move this in a extra column in the data.frame. Thanks, André [[alternative HTML version deleted]]
2010 Aug 05
3
Date conversion
Hi all, I am trying to convert all the dates (all days that are not Friday) in data frame into dates to next Friday. The following works but the result is returned as vector rather than the original class. It would be greatly apprecited if you could provide any solution to this problem. Many thanks in advance. # Define arbitrary initial date value ini <- as.Date("2010/1/1",
2010 Aug 12
5
how to eliminate an element of a list
Hi, I want to eliminate an element of a list: list <- seq(1,5,1) s <- sample(list,1) lets say s=3 Now I want to remove 3 from the list: list2 = {1,2,4,5} Can someone give me a tip? Thanks, André [[alternative HTML version deleted]]
2011 Feb 06
3
manipulate dataframe
Hello, Can someone give me hint to change a data.frame. I want to split a column in more columns depending on the value of a other column. Thanks for the reaction, Andre Example: > dat x1 x2 1 1 a 2 1 b 3 1 c 4 2 d 5 2 e 6 2 f 7 3 g 8 3 h 9 3 i in > dur d1 d2 d3 1 a d g 2 b e h 3 c f i [[alternative HTML version deleted]]
2011 Apr 22
1
convert string to variable
Hello, Is it possible to convert a string to a variable? I have a set of names: > stocks [1] "ACCELL" "AHOLD" "AJAX" "ARCADIS" "BALLAST" "BAM.GROEP" [7] "BESI" "BETER.BED" "BINCKBANK.NV" "BOSKALIS" "CATE" "CROWN.V.GELDER" And a
2012 Jan 07
1
constructing yieldcurve
Hello, With which package can I build a yield curve using swap data with the bootstrapping method? Thanks for the reaction, André [[alternative HTML version deleted]]
2010 Sep 08
2
big data
Hello, I searched the internet but i didn't find the answer for the next problem: I want to do a glm on a csv file consisting of 25 columns and 4 mln rows. Not all the columns are relevant. My problem is to read the data into R. Manipulate the data and then do a glm. I've tried with: dd<-scan("myfile.csv",colClasses=classes) dat<-as.data.frame(dd) My question is: what