Re: [R] Speed up studentized confidence intervals ?

2021-12-29 Thread Fox, John
Dear varin sacha, You didn't correctly adapt the code to the median. The outer call to mean() in the last line shouldn't be replaced with median() -- it computes the proportion of intervals that include the population median. As well, you can't rely on the asymptotics of the bootstrap for a

Re: [R-es] raspado web desde Shiny

2021-12-29 Thread Diego Maldonado via R-help-es
Gracias lo voy a revisar pero no se si se pueda aplicar a páginas dinámicas con Java Script En miércoles, 29 de diciembre de 2021 08:03:57 GMT-5, Emilio L. Cano escribió: Hola Diego, No sé si es exactamente lo que buscas, pero yo probaría el paquete rvest. En este artículo lo

Re: [R-es] raspado web desde Shiny

2021-12-29 Thread Diego Maldonado via R-help-es
Gracias Javier por tu consejo En miércoles, 29 de diciembre de 2021 15:41:09 GMT-5, Javier Marcuzzi escribió: Estimado Diego Maldonado Tal como dice Emiliano Cano, posiblemente rvest, pero usted debe tener en cuenta que el gasto en tiempo es importante, las personas están

Re: [R] Speed up studentized confidence intervals ?

2021-12-29 Thread David Winsemius
On 12/29/21 11:08 AM, varin sacha via R-help wrote: Dear David, Dear Rui, Many thanks for your response. It perfectly works for the mean. Now I have a problem with my R code for the median. Because I always get 1 (100%) coverage probability that is more than very strange. Indeed,

Re: [R] Mapping of groups of countries

2021-12-29 Thread Jim Lemon
Hi George, This example is obviously a mess, but it shows the basic elements. The labels may be placed manually using something like boxed.labels (plotrix) with lines connecting the labels to the smaller countries. If you want the labels within the countries you will have to use a big graphics

Re: [R-es] raspado web desde Shiny

2021-12-29 Thread Javier Marcuzzi
Estimado Diego Maldonado Tal como dice Emiliano Cano, posiblemente rvest, pero usted debe tener en cuenta que el gasto en tiempo es importante, las personas están acostumbradas a que el navegador de internet de una respuesta rápida, pueden pensar que hay problemas y se van cuándo no lo hay. Por

[R] Mapping of groups of countries

2021-12-29 Thread george brida
Dear R users, I would like to map with R the following countries (with their names on the map) as follows: the first group in red composed by China, Bangladesh, Eypt, Indonesia, South Korea, Nigeria. The second group in blue composed by Brazil, Pakistan, Philippines, Vietnam. The third group in

Re: [R] Speed up studentized confidence intervals ?

2021-12-29 Thread varin sacha via R-help
Dear David, Dear Rui, Many thanks for your response. It perfectly works for the mean. Now I have a problem with my R code for the median. Because I always get 1 (100%) coverage probability that is more than very strange. Indeed, considering that an interval whose lower limit is the smallest

Re: [R] mixture univariate distributions fit

2021-12-29 Thread Bert Gunter
No. However, if the object returned is the "Value" structure of whatever density function you use, it probably contains the original data. You need to check the docs to see. But this does not appear to be your situation. Bert Gunter "The trouble with having an open mind is that people keep

Re: [R] How to modify object's code living in some environment?

2021-12-29 Thread Duncan Murdoch
On 29/12/2021 9:29 a.m., Grzegorz Smoliński wrote: Thank you. I posted this question on SO in the meantime as well, but there is no answer for my question, so I pasted your answer (https://stackoverflow.com/questions/70517625/how-to-use-trace-for-function-in-parent-or-child-environment). Hope it

Re: [R] How to modify object's code living in some environment?

2021-12-29 Thread Grzegorz Smoliński
Thank you. I posted this question on SO in the meantime as well, but there is no answer for my question, so I pasted your answer (https://stackoverflow.com/questions/70517625/how-to-use-trace-for-function-in-parent-or-child-environment). Hope it is fine for you. śr., 29 gru 2021 o 11:24 Duncan

Re: [R-es] raspado web desde Shiny

2021-12-29 Thread Emilio L. Cano
Hola Diego, No sé si es exactamente lo que buscas, pero yo probaría el paquete rvest. En este artículo lo combinan con shiny, pero no sé si es eso lo que quieres https://towardsdatascience.com/scrape-data-and-build-a-webapp-in-r-using-rvest-and-shiny-f20d84dd1b74

[R] mixture univariate distributions fit

2021-12-29 Thread PIKAL Petr
Dear all I have data which are either density distribution estimate or cummulative density distribution estimate (temp1, temp2 below). I would like to get values (mu, sd) for underlaying original data but they are not available. I found mixtools package which calculate what I need but it

Re: [R] How to modify object's code living in some environment?

2021-12-29 Thread Duncan Murdoch
On 28/12/2021 4:21 p.m., Grzegorz Smoliński wrote: Thank you for all the comments. If this is not a problem, I would like to continue this thread as for me a lot of questions are still open. But if I should post other questions in different messages / topics, please let me know. I didn’t answer