[R] A couple of little R things I can't figure out (column percents, regression with lagged variables)
Marc R. Feldesman
feldesmanm at pdx.edu
Tue Feb 12 11:38:20 CET 2002
At 11:14 PM 2/11/02, Peter Dalgaard BSA wrote:
>Paul Johnson <pauljohn at ku.edu> writes:
>
>> y
>>
>> x 1 2 4
>> 1 100 66.67 0
>> 3 0 0 80
>> 4 0 33.33 20
>>
>> Pointers appreciated.
>
>prop.table(hmm,2) * 100
>
Would it be possible to put a cross reference to this function (and
margin.table) into the help file for table()? They are handy functions
whose existence isn't obvious.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list