Dear, I have a picture in which I draw a circle over the standard normal curve.
See below the lines used to draw the figure. The figure is ok, but my problem
is: How to shade the areas A, B, C, D, E and F? I know I have to find the
points of intersection but I don't know how to find them. Sugges
Dear all, I have the following variables:
fc <- quote(sqrt(2) * pi ^ (-0.1e1 / 0.2e1) * (x / theta) ^ alpha *
alpha / x * exp(-(x / theta) ^ (2 * alpha) / 2))
and
d2 <- D(D(fc, "alpha"), "alpha")
I would like to create a function formed by the product of fc and d2. I tried:
fcd2 <- func
I thank all for your reply. My question was not well formulated.
I will do it again:
Suppose that the random variable X is discrete with probability mass function
(pmf) F (binomial, poisson, ) not necessarily available in R.
Is there a general method to get the quantiles (as qbinom, qpois, ...
Dear all, is there a general method for calculating the quantile of a discrete
random variable? If yes, is there a R function to do this?
Best regards
Marcelo Lamack
[[alternative HTML version deleted]]
_
Dear all, is there an R function to simulate random observations from a cure
fraction model (random observations with long-term survivos).
Some references how can I do this will be welcome.
Best Regards
ML
[[alternative HTML version deleted]]
Hi,
I was wondering if you can show me how to plot the discriminant boundary lines
for an LD analysis in R. I am curious as to perform this on a larger scale, so
I was wondering if you can provide me an example on the infamous 'iris' data.
Here's what I have so far:
iris.lda=lda(Species ~., d
Thanks to both Martins, your advice solved the confusion between S3 and S4
classes for the show method.
br.
Leo
On Tue, Jul 21, 2009 at 9:58 AM, Martin Maechler wrote:
> >>>>> "MartinMo" == Martin Morgan
> >>>>> on Mon, 20 Jul 2009 18:57
Dear List,
I have a problem related to R package creation.
I extended the 'show' method to cover a new class
with the following lines in the zzz.R file in the R directory while creating
an R package.
>setClass("rpa", contains="list")
>show.rpa <- function (...) {cat("rpa object \n")}
The corres
ses into a package is available but rather scattered in the web.
A step-by-step tutorial written by an experienced user who is aware of best
practices etc. would be rather useful for a beginner.
best regards
Leo
On Mon, Jul 20, 2009 at 7:09 PM, L L wrote:
> Thanks, the issue was solved by
ny help on how I should document the extended show method in this case, or
are there some mistakes in my original definition for extended 'show'? I
could not find suitable examples from the web/mailing lists.
br
Leo
On Fri, Jul 10, 2009 at 5:37 AM, Martin Morgan wrote:
> L
Dear all,
I have been trying to create an R package. This has been successfull until I
tried to define classes.
Currently, my procedure is the following:
Start R, load the function and class definition
>tmp <- function (x) {x}
>setClass("rpa", contains = "list", where=topenv(parent.frame()))
Us
Hi,
I am new here. I would like to compare the performance of the random forest
model with support vector machine. Can anybody let me know how to generate
a ROC curve for random forest model since there is no need to run the
cross-validation. Thank you very much!
TL
_
12 matches
Mail list logo