ecdote is not data.
> ~ Roger Brinner
>
> The combination of some data and an aching desire for an answer does not
> ensure that a reasonable answer can be extracted from a given body of
> data.
> ~ John Tukey
>
> -Oorspronkelijk bericht-
> Van: [EMAIL PROT
L PROTECTED]
Verzonden: donderdag 28 augustus 2008 3:14
Aan: r-help@r-project.org
Onderwerp: Re: [R] Updating a list.
Since this didn't work:
> m2007$DayOfYear <- factor(m2008$DayOfYear, levels = 1:365)
Error in `$<-.data.frame`(`*tmp*`, "DayOfYear", value = c(1L, 1L, 1L
Since this didn't work:
> m2007$DayOfYear <- factor(m2008$DayOfYear, levels = 1:365)
Error in `$<-.data.frame`(`*tmp*`, "DayOfYear", value = c(1L, 1L, 1L, :
replacement has 432267 rows, data has 1592009
Perhaps I need to clarify how the m2007 object was generated.
t2007 <- read.csv("Total200
On Wed, Aug 27, 2008 at 6:18 PM, <[EMAIL PROTECTED]> wrote:
> I have a list that is generated from the resape package function 'cast'. It
> consists of three columns, Sku, DayOfYear, variable it is generated like:
>
> r2007 <- cast(m2008, DayOfYear ~ variable | Sku, sum)
>
> Now DayOfYear can ran
I have a list that is generated from the resape package function 'cast'. It
consists of three columns, Sku, DayOfYear, variable it is generated like:
r2007 <- cast(m2008, DayOfYear ~ variable | Sku, sum)
Now DayOfYear can range from 1:365 but there are not necessarily that many rows
in the list
5 matches
Mail list logo