Re: [R] copula

From: Dominique Katshunga <dkat_at_stats.uct.ac.za>
Date: Tue 10 Oct 2006 - 10:00:13 GMT


Dear R-helper,
Is there any thing that I am doing wrong in the following codes:
> norm.cop <- normalCopula(0.5)
> persp(norm.cop, dcopula)

The last command produces what follows

Error in persp(x, y, z, xlim, ylim, zlim, theta, phi, r, d, scale, expand, :

        invalid 'x' argument
In addition: Warning messages:

1: no non-missing arguments to min; returning Inf 
2: no non-missing arguments to max; returning -Inf 
3: no non-missing arguments to min; returning Inf 
4: no non-missing arguments to max; returning -Inf 
5: is.na() applied to non-(list or vector) in: is.na(x) 
6: no non-missing arguments to min; returning Inf 
7: no non-missing arguments to max; returning -Inf
I remember that I tried the same two commands exactly the way they appear above and I had the surface drawn properly. Does anyone have an idea what this could possibly mean?
thanks,
Dominique

R-help@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. Received on Tue Oct 10 20:15:55 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 10 Oct 2006 - 10:30:09 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.