Re: [R] Objective: to create a Joint Probability Table

2010-05-04 Thread Roscoe
G'Day Ista, Tuesday, May 4, 2010, 3:20:37 PM, you wrote: > I couldn't make it though that excel worksheet without my eyes > glazing over... Heh, yeah, it is a bit long-winded. Essentially you take the input data and run it through those steps to produce the JPT at the end. Part of it is the odo

Re: [R] Objective: to create a Joint Probability Table and save as a csv file (with headers).Input: A csv file (with headers) containing raw data, arranged by columns.Variable: number of bins for each

2010-05-03 Thread Ista Zahn
Hi Roscoe, I couldn't make it though that excel worksheet without my eyes glazing over... but do you want something like data(mtcars) tab <- xtabs(~cyl + gear, data=mtcars) tab/sum(tab) ? Best, Isat On Mon, May 3, 2010 at 10:08 PM, Roscoe wrote: > Dear R-Help, > > First post, be gentle... > >