Displaying 4 results from an estimated 4 matches for "200701".
Did you mean:
200704
2012 Nov 17
3
Reshaping a dataframe
Seems like this should be easy but I'm struggling a bit. How do I rearrange a
data frame to go from the first one to the second shown below ?
State Date lbs
TX 200701 400
TX 200702 650
TX 200703 950
TX 200704 1000
FL 200701 200
FL 200702 300
FL 200703 500
FL 200704 333
NJ 200701 409
NJ 200702 308
NJ 200703 300
NJ 200704 800
Date TX FL NJ
200701 400 200 409
200702 650 300 308
200703 950 500 300
200704 1000 333 800
--
View this message...
2007 Sep 27
1
converting numbers in "YYYYMM" format to last calendar day and last exchange trading day of the month
I have a vector that contains month and year in the format YYYYMM (e.g.“200701”, “200702”)
I wish to do to things:
1. I need to convert to a date that is the last calendar day of each month.
2. I need to convert this to a date that is the last U.S. stock-exchange trading day of each month.
Any advice is appreciated,
mymonths <- c(200701, 20...
2012 Nov 18
3
Replace <NA> with something else
...hat is the cleanest way to change the <NA> values to something else. In
other words, get rid of the brackets ? Maybe convert <NA> to NAM.
635 LA 201207 557329
636 LA 201208 683771
637 LA 201209 613851
638 LA 201210 764217
639 LA 201211 212897
782 <NA> 200701 875634
783 <NA> 200702 614856
784 <NA> 200703 521520
785 <NA> 200704 1406400
--
View this message in context: http://r.789695.n4.nabble.com/Replace-NA-with-something-else-tp4649974.html
Sent from the R help mailing list archive at Nabble.com.
2012 Jan 18
1
Problems with Panel Data estimation
Hi everybody,
Got some doubts here. I'm kinda desperate for help, so please ask me if
anything isn't clear.
I have a database with this structure (panel data structure):
> head(dados_2)
Tempo Safra Data Resposta Perc_Resg_Acum Alta_Temporada Flexi Promo
1 1 1 200701 0.04223216 0 1 0 0
2 1 2 200702 0.02801536 0 -1 0 0
3 1 3 200703 0.02786171 0 0 0 0
4 1 4 200704 0.02913633 0 0 0 0
5 1 5 200705 0.0...