Re: [R] New package Ryacas

2006-10-16 Thread Cleber N.Borges
Hello Gabor I try these example, but I obtain some errors. *First example* yacas(a * Identity(3)) expression(list(list(a, 0, 0), list(0, a, 0), list(0, 0, a))) it's ok , but the next command: PrettyForm(%) Error in PrettyForm(%) : no applicable method for PrettyForm If I make a little

[R] String mathematical function to R-function

2006-07-08 Thread Cleber N.Borges
hello I make a subroutine that give-me a (mathematical) function in string format. I would like transform this string into function ( R function ). thanks for any tips. cleber #e.g. fun_String = -100*x1 + 0*x2 + 100*x3 fun - function(x1,x2,x3){ return( evaluation( fun_String )

[R] how to rotate a triangle image(ZMAT) ?

2006-06-27 Thread Cleber N.Borges
Hello R users... how to align this Zmat (triangle image) in X axis? I would like that the triangle's base become in the X axis and the triangle's height become in the Y axis Is there some trick for make this? Thanks. Cleber my test and try f -

Re: [R] how to rotate a triangle image(ZMAT) ?

2006-06-27 Thread Cleber N.Borges
I thank François Pinard for your attention one solution, but very dirty very ugly and ~ 30% of calculations cut loose! if somebody can give a tip, I thank... Cleber f - function(x,y){ z=1-x-y z[ z (-1e-15) ] - NA return( -100*x + 0*y + 100*z ) } x = y = seq( 1, 0, by =

[R] How to plot a image with restrictions?

2006-06-21 Thread Cleber N.Borges
Hello All! How to plot a image ( image function ) with restrictions, like a polygon?? Thanks in advance! Cleber N. Borges # problem example x - y - seq(-4*pi, 4*pi, len=27) r - sqrt(outer(x^2, y^2, +)) image( z ) contour(z, add = TRUE, drawlabels = FALSE) m=scan() 0.2 0.2 0.8 0.2

Re: [R] Using of LME function in non-replicate data

2006-03-21 Thread Cleber N.Borges
for you. You may have other problems, like too much noise to find the signals you most care about. However, those are different from the issue you cited. hope this helps. spencer graves Cleber N.Borges wrote: Hello all R-users! In Jun-2005, I find the follow discussion

[R] Using of LME function in non-replicate data

2006-03-16 Thread Cleber N.Borges
Hello all R-users! In Jun-2005, I find the follow discussion about using of LME function ( in NLME library ) for fitting non-replicate data The thread: ANOVA vs REML approach to variance component estimation http://tolstoy.newcastle.edu.au/R/help/05/06/6498.html Someone expose the