[R] spatstat installation

2020-04-14 Thread Mauro Pedone
ror: missing value where TRUE/FALSE needed ask to the community if someone encountered this problem. thanks and regards Mauro root@ctrdb10 supporting]# R CMD INSTALL spatstat_1.63-3.tar.gz * installing to library ‘/usr/lib64/R/library’ * installing *source* package ‘spatstat’ ... ** pack

Re: [R] Integrate inside function

2012-03-17 Thread Mauro Rossi
Dear David and Micheal, thanks for your suggestion. Vectorize does what I need. David you suggest me that I didn't built the function in a manner that would vectorize. Could you please explain me what's wrong? Thanks, Mauro On Mar 15, 2012, at 6:08 AM, Mauro Rossi wrote: Dear R users

[R] Integrate inside function

2012-03-15 Thread Mauro Rossi
cumdensity (p.mixedgamma) in case x is a vector? For instance try: pmixedgamma3(c(10,20),shape1=10,rate1=1,shape2=10,rate2=1,prev=0.5) As you can see cumdensity is calculated just for the first x value. Thanks in advance Best Mauro -- Mauro Rossi Istituto di Ricerca per la Protezione

[R] How can I do these simulations with R code

2011-08-22 Thread Mauro Sznelwar
1) The Pareto P(alfa) distribution is defined by its density f(x|alfa) =alfa*X^(-alfa-1) over (1 to infinity). Show that it can be generated as the -1/alfa power of a uniforme variate. Plot the histogram and the density. 2) The Poisson distribution P(lambda) is connected to the exponential

[R] perspective plot

2011-05-05 Thread Mauro
a lot, Mauro -- View this message in context: http://r.789695.n4.nabble.com/perspective-plot-tp3498754p3498754.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

[R] Integrate na.rm in own defined functions

2011-04-20 Thread Mauro
in for instance mean(x,na.rm=TRUE). Does anybody know how to do this? Thank you very much. Mauro -- View this message in context: http://r.789695.n4.nabble.com/Integrate-na-rm-in-own-defined-functions-tp3462492p3462492.html Sent from the R help mailing list archive at Nabble.com

[R] help on stepfunction

2011-02-08 Thread Mauro Ferreira
Dear members, I would like a help for extracting the values from a step function (stepfun). From help(stepfun) we have the following example: Y0-c(1.,2.,4.,3.) y0-c(1.,2.,3.,4.) sfun-stepfun(1:3,y0,f=0) plot(sfun) Now, suppose instead I was given the object (*sfun*, say) from which I wanted to

[R] Function rearrange (quantreg)

2011-01-31 Thread Mauro Sayar Ferreira
, Mauro __ R-help@r-project.org 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.

[R] Neyman Scott rainfall pulse model

2008-11-12 Thread Mauro Rossi
of extremes, Water Resour. Res., 38(8), 1131, doi:10.1029/2001WR000709). Does anyone have any R code or suggestions for it? Thank you in advance. -- Mauro Rossi Istituto di Ricerca per la Protezione Idrogeologica Consiglio Nazionale delle Ricerche Via della Madonna Alta, 126 06128 Perugia Italia Tel

[R] distribution fitting

2008-10-23 Thread Tortonesi Mauro
produced [...] 50: In base::log(x, base) ... : NaNs produced I really don't know how to fix this problem. Do you have any suggestions? Thank you very much in advance. Best regards, Mauro Tortonesi -- Mauro Tortonesi, Ph.D. Research Assistant Distributed Systems Research Group Engineering

[R] distribution fitting

2008-10-23 Thread Tortonesi Mauro
) ... : NaNs produced [...] 50: In base::log(x, base) ... : NaNs produced I really don't know how to fix this problem. Do you have any suggestions? Thank you very much in advance. Best regards, Mauro Tortonesi -- Mauro Tortonesi, Ph.D. Research Assistant Distributed Systems Research Group Engineering

[R] S.O.S.

2008-08-19 Thread Mauro Belleggia
Hi, My name is Mauro Belleggia, I m doing an ANOSIM (using vegan package) to test statistically whether there is a significant difference between 3 (1,2 and 3) groups of sampling units. My results were: Call: anosim(dis = distancias, grouping = Lt) Dissimilarity: bray ANOSIM statistic R: 0.1313

Re: [R] Number - Fraction

2007-09-13 Thread Mauro Arnoldi
Alle giovedì 13 settembre 2007, Stefano Calza ha scritto: see fractions in library MASS Yeah! 1/3 [1] 0.333 fractions(0.333) [1] 1/3 Great! Thanks! (grazie :) ) Mauro __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman