You can also use the Ptolemy expression language to calculate a variance...

Edward

At 03:52 PM 6/1/2006, Matt Jones wrote:
You can use the RExpression actor in Kepler to write a simple R expression. The 'SummaryStats' actor in the library demonstrates this. Pretty much any stat analysis you would want is available there, and they are pretty well tested too by the R community.

Matt

Christopher Brooks wrote:
Hi Nandita,
Yes, there is no variance function.
You could add one by editing
ptolemy/data/expr/UtilityFunctions.java
_Christopher

--------
Nandita writes:
Hi there, I had implemented a variance actor , which calculates simple variance give n an array...however I was wondering if i can do the same with expression actor? I couldn't find a variance fcn is there one? thanks, nandita.
----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Matt Jones                                   Ph: 907-789-0496
[EMAIL PROTECTED]                    SIP #: 1-747-626-7082
National Center for Ecological Analysis and Synthesis (NCEAS)
UC Santa Barbara     http://www.nceas.ucsb.edu/ecoinformatics
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]

------------
Edward A. Lee
Professor, Chair of the EE Division, Associate Chair of EECS
231 Cory Hall, UC Berkeley, Berkeley, CA 94720-1770
phone: 510-642-0253 or 510-642-0455, fax: 510-642-2845
[EMAIL PROTECTED], http://ptolemy.eecs.berkeley.edu/~eal

----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]

Reply via email to