[R] proportion
ROLL Josh F
JRoll at lcog.org
Tue Sep 14 01:11:24 CEST 2010
Sure I tried that and it works but I was formerly using just 'proportion ' so I find it strange that this has occurred.
-----Original Message-----
From: Phil Spector [mailto:spector at stat.berkeley.edu]
Sent: Monday, September 13, 2010 4:08 PM
To: ROLL Josh F
Cc: r-help at r-project.org
Subject: Re: [R] proportion
Maybe prop.table ?
- Phil Spector
Statistical Computing Facility
Department of Statistics
UC Berkeley
spector at stat.berkeley.edu
On Mon, 13 Sep 2010, LCOG1 wrote:
>
> Hi ,
> SO i have been on a role of asking simple questions lately. So much
> for feeling like im getting this R business.
>
> I wrote a script 2 weeks ago that utilized "proportion" to turn values
> in a table (from "table") into proportions to then graph. I now get
> an error that proportion is not a function so im confused. I ran the
> script a few times and im thinking maybe i had another library loaded
> from a previous process and that it wasnt listed in my script and now
> isnt being loaded. So question is what library do i need to load or
> what other updates or changes have been made that now R cant find proportion?
>
> Probably useless with other code/data:
> textplot(paste(names(TrkSUV.Ag[[zp]]),proportion(TrkSUV.Ag[[zp]])),
> halign="center", valign="center",cex=1)
>
> --
> View this message in context:
> http://r.789695.n4.nabble.com/proportion-tp2538185p2538185.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
More information about the R-help
mailing list