Displaying 2 results from an estimated 2 matches for "unplottable".
Did you mean:
plottable
2005 Jul 22
1
Generate a function
...function inside a loop:
tmp is an array
for (i in 1:10)
{
func<- func * function(beta1) dweibull(tmp[i],beta1,eta)
}
because then i need to integrate this function on beta.
I could have written this :
func<-function(beta1) prod(dweibull(tmp,beta1,eta)) (with eta and beta1 set)
but it is unplottable and no integrable... i could make it a bit different but if i do that ( prod(tmp)=~Inf ) i'm stuck.
I've looked in R-poetry and i didn't find anything usefull.
I think i have a problem with how i tell R my function is, R seems to think it is a function like programmers do but not a f(...
2005 Jul 22
1
multiplicate 2 functions
...0)
> {
> func<- func * function(beta1) dweibull(tmp[i],beta1,eta)
> }
>
> because then i need to integrate this function on beta.
>
> I could have written this :
>
> func<-function(beta1) prod(dweibull(tmp,beta1,eta)) (with
eta and beta1 set)
>
> but it is unplottable and no integrable... i could make it
a bit different but if i do that ( prod(tmp)=~Inf ) i'm stuck.
>
>
> I've looked in R-poetry and i didn't find anything usefull.
>
> I think i have a problem with how i tell R my function is,
R seems to think it is a function like pro...