[R] Writing Complex Formulas

Duncan Murdoch murdoch.duncan at gmail.com
Thu Jul 14 20:19:52 CEST 2011


On 14/07/2011 12:46 PM, warmstron1 wrote:
> I resolved this issue.  It appears that "^" won't work for this case, but
> "**" worked.  I can't find any reference to this, but where "^" seems to be
> used to raise a value to a numerical function, "**" is used for a y raised
> to the power of x where x it a computation.

Those should be equivalent.  Can you post the code that wasn't working, 
and describe what "not working" meant?

Duncan Murdoch



More information about the R-help mailing list