[R] Adding a calculated variable to a data frame (fwd)

Andrew Perrin clists at perrin.socsci.unc.edu
Tue Jun 24 19:33:00 CEST 2003


Thanks to all who answered... this is what I was looking for:

  df$rwa.sum <- df$first.agg+df$first.sub+df$first.agg

thanks to the several people who responded.

ap




More information about the R-help mailing list