On 18.11.2012 18:37, Rlotus wrote:
I have function y=x^5+x^8+ (cos(x))^3;
I need to get random x;
random y;
and after that determine whether y below or above the given function.
I tried a lot of version. but my code even doesnt workplz help with this
expressions ;( I am a begiiner in R
Which message are you referring to? Please quote.
And please read the posting guide to the mailing list that asks you to
do that!
On 18.11.2012 18:55, Rlotus wrote:
I mean i need to put random x in equation in order to determine value y.
i used runifbut it doesn work...
y= (runif(0,1))^
I mean i need to put random x in equation in order to determine value y.
i used runifbut it doesn work...
y= (runif(0,1))^5+(runif(0,1))^8+((cos runif(0,1)))^3; (<=it doesnt work
properly)
now i have value y
need to determine whether y is above or below my function.
so after that y1=r
I have function y=x^5+x^8+ (cos(x))^3;
I need to get random x;
random y;
and after that determine whether y below or above the given function.
I tried a lot of version. but my code even doesnt workplz help with this
expressions ;( I am a begiiner in R
--
View this message in context:
http:
On 16/08/11 05:07, Mariana Varela wrote:
HI there, I have been trying to use a code posted on R help to be able to calculate area
under the curve for complicated data points and there seems to be an issue with the code:
no "b" object found. I am not a good R user and can't find were the problem
Why re-invent? Use lrm in rms.
--
David
Sent from my iPhone
On Aug 15, 2011, at 10:07 AM, Mariana Varela
wrote:
> HI there, I have been trying to use a code posted on R help to be able to
> calculate area under the curve for complicated data points and there seems to
> be an issue with th
HI there, I have been trying to use a code posted on R help to be able to
calculate area under the curve for complicated data points and there seems to
be an issue with the code: no "b" object found. I am not a good R user and
can't find were the problem is. Any help? Thanks!!
This is the code (
7 matches
Mail list logo