Displaying 6 results from an estimated 6 matches for "reshapewide".
2005 Sep 23
2
Strange behaviour of as.Date function
...of 3 variables:
$ DATA :'POSIXct',
format: chr "2005-07-01" "2005-07-02" "2005-07-03" "2005-07-04" ...
$
tm.UDINE/RIVOLTO : num 22.4 22.7 23.8 23.8 21.8 ...
$ tm.
TORINO/CASELLE: num 23.8 22.9 24.3 25.4 21.8 ...
- attr(*,
"reshapeWide")=List of 5
..$ v.names: NULL
..$ timevar: chr "NOME"
..$ idvar : chr "DATA"
..$ times : Factor w/ 2 levels
"TORINO/CASELLE",..: 2 1
..$ varying: chr [1, 1:2] "tm.UDINE/RIVOLTO"
"tm.TORINO/CASELLE"
>
You see that the first fi...
2001 Dec 27
3
reshape error in 1.4 (PR#1231)
Full_Name: Kevin Wright
Version: 1.4
OS: Windows 95
Submission from: (NULL) (170.54.59.160)
Note: This was the 1.4 build for Windows that Brian Ripley made available.
The first example in the help for reshape doesn't work for me. When I cut and
paste, this is what happens:
> data(Indometh,package="nls")
> summary(Indometh)
Subject time conc
2006 Feb 22
1
unused factor levels in reshape
...) == 1)
1 2 3 4 5
TRUE TRUE TRUE NA NA
produces some NAs. A slight change to the reshape code to work around this problem would be to use (the equivalent of)
> tapply(subdf$x, subdf$i[, drop = TRUE], function(x) length(unique(x)) == 1)
1 2 3
TRUE TRUE TRUE
in the reshapeWide function within reshape, but perhaps there is a good reason not to do this?
Daniel
2013 Mar 18
2
melt with complications
## Can someone suggest a simpler expression than either of these, with the
goal
## of taking a long matrix into a wide one with exactly one of the factors
converted to
## columns and all the rest retained as factors. I want something that
generalizes beyond
## the three factors illustrated here.
## Rich
meltTest <- data.frame(A=rep(c("B","C"), each=12),
2013 Apr 03
0
R 3.0.0 is released
...e par("bg") or NA instead.
o The long-defunct functions Rd_parse(), anovalist.lm(),
categpry(), clearNames(), gammaCody(), glm.fit.null(),
lm.fit.null(), lm.wfit.null(), manglePackageNames(),
mauchley.test(), package.contents(), print.coefmat(),
reshapeLong(), reshapeWide(), tkclose(), tkcmd(), tkfile.dir(),
tkfile.tail(), tkopen(), tkputs(), tkread(), trySilent() and
zip.file.extract() have been removed entirely (but are still
documented in the help system).
o The unused dataPath argument to attachNamespace() has been
removed.
o gr...
2013 Apr 03
0
R 3.0.0 is released
...e par("bg") or NA instead.
o The long-defunct functions Rd_parse(), anovalist.lm(),
categpry(), clearNames(), gammaCody(), glm.fit.null(),
lm.fit.null(), lm.wfit.null(), manglePackageNames(),
mauchley.test(), package.contents(), print.coefmat(),
reshapeLong(), reshapeWide(), tkclose(), tkcmd(), tkfile.dir(),
tkfile.tail(), tkopen(), tkputs(), tkread(), trySilent() and
zip.file.extract() have been removed entirely (but are still
documented in the help system).
o The unused dataPath argument to attachNamespace() has been
removed.
o gr...