[R] plotting a chisquare

2009-05-17 Thread Harry P
Dear R-users, I have a problem in making a chi-square density function curve. I have sth like curve(dchisq(x, df)) from help, x is vector of quantiles, df is the degree of freedom. I do not understand what vector of quantiles is, what do I need to put in? Thanks! -- View this message in context:

[R] Finding root using Newton's method

2009-05-13 Thread Harry P
I want generate R code to determine the real root of the polynomial x^3-2*x^2+3*x-5. Using an initial guess of 1 with Newton's method. Help please... -- View this message in context: http://www.nabble.com/Finding-root-using-Newton%27s-method-tp23534519p23534519.html Sent from the R help mailing