search for: ystein

Displaying 3 results from an estimated 3 matches for "ystein".

Did you mean: stein
2012 May 21
1
Changing selected elements of an array
...NA 300 NA NA NA NA 62.75 NA NA NA NA NA NA 300 NA NA NA 64.50 NA NA NA NA NA NA NA NA NA NA 66.25 NA NA NA NA NA NA NA NA NA NA 67.25 NA NA NA NA NA NA NA NA NA NA All the best ?ystein -- Dr. Oystein Godoy Norwegian Meteorological Institute P.O.BOX 43, Blindern, N-0313 OSLO, Norway Ph: (+47) 2296 3000 (switchb) 2296 3334 (direct line) Fax:(+47) 2296 3050 Institute home page: http://met.no/
2008 Apr 14
3
Merging daily and weekly data
...t it looks like this: quote_date year week week.price 20080407 2008 15 27.45 20080408 2008 15 27.45 20080409 2008 15 27.45 20080410 2008 15 27.45 20080411 2008 15 27.45 The weekly price is constant for the 5 trading days in the daily file. Any good suggestions on how to do this? All the best, Oystein
2010 Feb 16
2
Reshaping grouped data
...equal to the group weights (w). My final data would look like: w <- c(100,23,222,12,192,56,309,81) y <- c(0,1,0,1,0,1,0,1) x1 <- c(0,0,0,0,1,1,1,1) x2 <- c(0,0,1,1,0,0,1,1) Data.long <- as.data.frame(cbind(w,y,x1,x2)) Data.long Any suggestions? All the best, Oystein Myrland [[alternative HTML version deleted]]