search for: invta

Displaying 1 result from an estimated 1 matches for "invta".

Did you mean: inta
2007 Nov 24
2
unexpected result from reshape
Hi all. I have unexpected reshape results on datasets with certain variable names. Here a reproducible example: d <- matrix(seq_len(7*7), 1, 7*7) vnames <- c('acc','ppeGross','CF','ROA','DeltaSales','invTA','DeltaRevDeltaRec') varying <- unlist(lapply(vnames, paste, 1:7, sep='.')) d <- data.frame(d) names(d) <- varying d1 <- reshape(d, varying=varying, direction="long") d[,'ppeGross.2'] == d1[d1$time==2,'ppeGross'] #This is FALSE! ##Try to com...