Hi Hadley,
On Thu, Feb 28, 2008 at 1:15 PM, hadley wickham <[EMAIL PROTECTED]> wrote:
>
> I think the problem is that reshape adds some extra information to the
> cast data.frame, but this info is no longer relevant when you've
> removed some of the columns. Try as.data.frame to strip off this
Hi Neil,
> Start Session 2##
> ## Now generate polar co-ordinates
> t.norm1$polar.1 <- log10(sqrt(t.norm1$Height.1^2 + t.norm1$Height.2^2))
> t.norm1$polar.2 <- atan((t.norm1$Height.2 / t.norm1$Height.1))
> ## And cast the polar data
> > t <- melt(subset(t.norm1, select= c("S
2 matches
Mail list logo