search for: bylh

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

Did you mean: balh
2005 Jun 26
1
better code?
Hi, Laura: How about the following: > sapply(x1.df, class) d x y "factor" "numeric" "numeric" > (byLH <- by(x1.df[-1], x1.df$d, var)) x1.df$d: 1/1/2005 x y x 1.272688 -0.783719 y -0.783719 0.884866 ------------------------------------------------------------- x1.df$d: 1/15/2005 x y x 0.9992097 0.8719848 y 0.8719848 0.7753879 -------------------------------...