[R] Copula in R 2.4.0

2006-10-13 Thread Dominique Katshunga
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

Re: [R] copula

2006-10-12 Thread Dominique Katshunga
Dear R-helpers, is it some sort of R internal fault or am I doing something wrong when typing the following two lines in R, I get the surface ploted and trying it another time it gives the error message below: Error in ceiling(length.out) : Non-numeric argument to mathematical function Why is it

Re: [R] copula

2006-10-10 Thread Dominique Katshunga
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:

[R] r 2.4.0

2006-10-10 Thread Dominique Katshunga
Can someone help interprete the error message below? i was trying to load the package copula from the R command prompt. Error in loadNamespace(package, c(which.lib.loc, lib.loc), keep.source = keep.source) : in 'copula' methods specified for export, but none defined: show, summary, persp,

Re: [R] perspective

2006-05-09 Thread Dominique Katshunga
Dear r-users, how can I use the persp or a similar command in R to plot two surfaces in the same set of axes? many thanks, Dominique __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide!

[R] double integral

2006-05-05 Thread Dominique Katshunga
Dear r-users, Is there any command in R allowing to evaluate a double integral? for instance let say I want to evaluate the following integral: integrate[lo=(0,1),up=(2,3)] f(x,y)=x^2+y^2 where lo is the vector of lower bounds and up that of upper bounds. I thaught the function adapt would work

[R] help

2005-09-05 Thread Dominique Katshunga
Dear helpeRs, I seem to be a little bit confused on the result I am getting from the few codes below: u=v=seq(0,1,length=30) u [1] 0. 0.03448276 0.06896552 0.10344828 0.13793103 0.17241379 [7] 0.20689655 0.24137931 0.27586207 0.31034483 0.34482759 0.37931034 [13] 0.41379310 0.44827586