Duncan Murdoch gmail.com> writes:
> The curve() function is trying to be clever, but it's not. You can
> probably get what you want using curve(fi(380)(x), add=TRUE). It treats
> the "x" argument specially.
>
> Duncan Murdoch
>
Thanks Duncan,
Your solution worked perfectly!
_
On 04/04/2013 11:38 AM, Julio Sergio wrote:
To superimpose two functions plots in the same page. The functions L0
and L1, as defined below, I use the following code:
# An accumulative normal distribution function with
# several parametres
f0 <- function(mu, xm, ds, n) {
1 - pnorm((
To superimpose two functions plots in the same page. The functions L0
and L1, as defined below, I use the following code:
# An accumulative normal distribution function with
# several parametres
f0 <- function(mu, xm, ds, n) {
1 - pnorm((xm-mu)/(ds/sqrt(n)))
}
f1 <- function(mu,
3 matches
Mail list logo