Displaying 6 results from an estimated 6 matches for "iddate".
Did you mean:
idate
2010 Jul 13
2
Wrap column headers caption
Hi:
Using this dataframe with quite long column headers, how can I wrap the
text so that the columns are narrower. I was trying to use strwrap without
success. Thanks
reportDF <- structure(list(IDDate = c("3/12/2010", "3/13/2010", "3/14/2010",
"3/15/2010"), FirstRunoftheYear = c("33 (119 ? 119)", "n (0 ? 0)", "893 (110 ?
146)",
"140 (111 ? 150)"), SecondRunoftheYear = c("33 (71 ? 71)", "n (0 ? 0)"...
2010 Jul 24
2
How to generate a sequence of dates without hardcoding the year
Hi:
I have a dataframe named 'spring' and I am trying to add a new variable named
'IdDate'
This line of code works fine:
spring$idDate <- seq(as.Date("2008-07-01"),as.Date("2009-06-30"),by="week")
But I don't want to hardcode the year because it will be used again the
following year
Is it possible to just generate dates with the month and day?...
2010 Jul 13
1
latex table question
...epackage{fullpage}
\usepackage{ctable}
\title{United States Department of the Interior}
\begin{document}
?%\setlength{\topmargin}{-1inch} % Just an example
\setkeys{Gin}{width=1\textwidth} % makes all the graphics scales
\maketitle
<<echo=F,results=hide>>=
reportDF <- structure(list(IDDate = c("3/12/2010", "3/13/2010", "3/14/2010",
"3/15/2010"), FirstRunoftheYear = c("33 (119 ? 119)", "n (0 ? 0)", "893 (110 ?
146)",
"140 (111 ? 150)"), SecondRunoftheYear = c("33 (71 ? 71)", "n (0 ? 0)"...
2010 Apr 25
1
replace question mark with a dash
...uot;)
I?am trying to get the dashes back using:
mydf <- data.frame(lapply(mydf,function(x) replace(mydf,"?"(x),"-")))
but isn't working. I also tried:
mydf <- replace(mydf,mydf=="?","-)")
Thanks for any suggestions.
?
mydf <-structure(list(IDDate = c("2/26/2010", "2/27/2010", "2/28/2010",
"3/1/2010", "3/2/2010", "3/3/2010", "3/4/2010", "3/5/2010", "3/6/2010",
"3/7/2010", "3/8/2010", "3/9/2010", "3/10/2010", &qu...
2009 Aug 07
1
ggplot2-ddply question
...all:
I am trying to use the ddply function to estimate the mean of 'Total','Fry','Smolt' and 'Fry.Eq' columns without success. I have the dput of my dataset below. I wonder if someone can give me a hand with this function.
# dput(winter)
winter <-structure(list(IDDate = structure(c(37L, 48L, 59L, 62L, 63L,
64L, 65L, 66L, 67L, 38L, 39L, 40L, 41L, 42L, 43L, 44L, 45L, 46L,
47L, 49L, 50L, 51L, 52L, 53L, 54L, 55L, 56L, 57L, 58L, 60L, 61L,
68L, 79L, 90L, 93L, 94L, 95L, 96L, 97L, 98L, 69L, 70L, 71L, 72L,
73L, 74L, 75L, 76L, 77L, 78L, 80L, 81L, 82L, 83L, 84L, 85L, 86L,...
2010 Jul 26
1
After writing data in MMF using SEXP structure, can i reference in R?
...rate a sequence of dates without hardcoding
the year
Message-ID: <[179]418059.32636.qm at web56602.mail.re3.yahoo.com>
Content-Type: text/plain; charset=iso-8859-1
Hi:
I have a dataframe named 'spring' and I am trying to add a new variable
named
'IdDate'
This line of code works fine:
spring$idDate <- seq(as.Date("2008-07-01"), as.Date("2009-06-30"),
by="week")
But I don't want to hardcode the year because it will be used again the
following year
Is it possible to just generate...