As there is no function normalCopula in R 2.4.0, your example is
incomplete. Please see the footer of this message (and perhaps contact
the maintainer of the package involved).
Please don't send messages repeatedly: if you don't get an answer the
first time study the posting guide and work out what the problem might be.
On Fri, 13 Oct 2006, Dominique Katshunga wrote:
> Dear R helper,
> does anyone have an idea on why R.2.4.0 draws the surface for the two
> command lines below and the next time it renders the error message below
> for exactly the same command lines:
>
>> norm.cop <- normalCopula(0.5)
>> persp(norm.cop, dcopula)
>
> Error in ceiling(length.out) : Non-numeric argument to mathematical
> function.
> I will appreciate any help from anyone
> thanks,
> Dominique K.
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595