Re: [R] problem downloading R

2021-03-05 Thread Uwe Ligges
Sounds like you always got corrupted vesions. Either an issue with your connection or the mirror. What happens if you try another mirror and clear your browser caches? Best, Uwe Ligges On 05.03.2021 08:58, Abby Spurdle wrote: Does the following sound familiar? The Windows installer starts in

[R] quantile from quantile table calculation without original data

2021-03-05 Thread PIKAL Petr
Dear all I have table of quantiles, probably from lognormal distribution dput(temp) temp <- structure(list(size = c(1.6, 0.9466, 0.8062, 0.6477, 0.5069, 0.3781, 0.3047, 0.2681, 0.1907), percent = c(0.01, 0.05, 0.1, 0.25, 0.5, 0.75, 0.9, 0.95, 0.99)), .Names = c("size", "percent" ), row.names = c

Re: [R] A tibble with date column appears different in shiny

2021-03-05 Thread ruipbarradas
Hello, In us_counties <- read.csv(text = x) remove 'text=', you are reading from a url, not from a text string. Hope this helps, Rui Barradas - Mensagem de Gayathri Nagarajan - Data: Thu, 4 Mar 2021 21:51:05 -0800 De: Gayathri Nagarajan Assunto: Re: [R] A tibble with da

[R] "global parameter" warning using data.table in package.

2021-03-05 Thread Martin Møller Skarbiniks Pedersen
Hi, I am converting a couple of functions into a R-package. Many of the functions use data.table. I have two questions using data.table in my own package. Normally I would put each question in separate emails but I think they might be connected. First question is short and I think the answe

Re: [R] "global parameter" warning using data.table in package.

2021-03-05 Thread Martin Møller Skarbiniks Pedersen
Please ignore my previous email. I just found the R-package-devel mailing list. On Fri, 5 Mar 2021 at 14:25, Martin Møller Skarbiniks Pedersen < traxpla...@gmail.com> wrote: > Hi, > > I am converting a couple of functions into a R-package. Many of the > functions use data.table. > I have two

[R] poLCA problem

2021-03-05 Thread Scott Colwell
Good morning everyone, I am running into errors with poLCA as follows: Error in round(mf) : non-numeric argument to mathematical function. Here is what I have. Both variables are coded as 1, 2, 3 df <- as.data.frame(data) items <- c("x1", "x2") <- there are more variables but shortened for th

Re: [R] A tibble with date column appears different in shiny

2021-03-05 Thread Gayathri Nagarajan
Hi Rui Alas, at last this worked and this is what I did : 1) I stopped debugging and started a fresh new table to display in shiny UI using this example-https://shiny.rstudio.com/gallery/basic-datatable.html 2) Now instead of the table mpg, I plugged in my us_counties above at first and it worked

Re: [R] "global parameter" warning using data.table in package.

2021-03-05 Thread Bert Gunter
I believe these questions belong on r-package-devel, not here. Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Fri, Mar 5, 2021 at 5:25 AM Martin Møller Skarbin

Re: [R] quantile from quantile table calculation without original data

2021-03-05 Thread Jeff Newmiller
Your example could probably be resolved with approx. If you want a more robust solution, it looks like the fBasics package can do spline interpolation. You may want to spline on the log of your size variable and use exp on the output if you want to avoid negative results. On March 5, 2021 1:14

Re: [R] quantile from quantile table calculation without original data

2021-03-05 Thread David Winsemius
On 3/5/21 1:14 AM, PIKAL Petr wrote: Dear all I have table of quantiles, probably from lognormal distribution dput(temp) temp <- structure(list(size = c(1.6, 0.9466, 0.8062, 0.6477, 0.5069, 0.3781, 0.3047, 0.2681, 0.1907), percent = c(0.01, 0.05, 0.1, 0.25, 0.5, 0.75, 0.9, 0.95, 0.99)), .Na

Re: [R] quantile from quantile table calculation without original data

2021-03-05 Thread Abby Spurdle
I note three problems with your data: (1) The name "percent" is misleading, perhaps you want "probability"? (2) There are straight (or near-straight) regions, each of which, is equally (or near-equally) spaced, which is not what I would expect in problems involving "quantiles". (3) Your plot (appro

Re: [R] problem downloading R

2021-03-05 Thread Abby Spurdle
This was quite some time ago. Namely, 2019. At the time, I was using a mix of old Windows 8 and 9 computers. The problem happened on Windows 8, but not Windows 9. Note that I was trying to help the OP. Beyond that, I'm not concerned about it. On Fri, Mar 5, 2021 at 9:30 PM Uwe Ligges wrote: >

Re: [R] quantile from quantile table calculation without original data

2021-03-05 Thread Abby Spurdle
I'm sorry. I misread your example, this morning. (I didn't read the code after the line that calls plot). After looking at this problem again, interpolation doesn't apply, and extrapolation would be a last resort. If you can assume your data comes from a particular type of distribution, such as a