Re: [R] Unable to install Sequin R

2020-05-10 Thread Jim Lemon
Hi Harshita, This usually means that R-4.0.0 is sufficiently different from R-3.6.3 that seqinr no longer works in R-4.0.0. You may want to go back to R-3.6.3 if you really need it. You may also want to contact Simon Penel, the maintainer (see the seqinr package page on CRAN) for information on whe

Re: [R] the volcano orientation

2020-05-10 Thread Richard O'Keefe
Hey, I know that volcano! It's walking distance from the Intermediate school I attended. To you it's a plot; to me it's a place. So I offer you four scenarios. 1. You think of it as a place you know and have been. In that case the "right" orientation is the one that best matches what you are

[R] random forest significance testing tools

2020-05-10 Thread Tom Woolman
Hi everyone. I'm using a random forest in R to successfully perform a classification on a dichotomous DV in a dataset that has 29 IVs of type double and approximately 285,000 records. I ran my model on a 70/30 train/test split of the original dataset. I'm trying to use the rfUtilities packa

Re: [R] predicting waste per capita - is a gaussian model correct?

2020-05-10 Thread Abby Spurdle
Well, this is 100% off-topic... And I wasn't planning to answer the OP's question. However, I disagree with your answer. > There is no requirement that the dependent variable in a "regression" type > estimation follows a gaussian distribution. False. It's depends on what type of '"regression" ty

Re: [R] Unable to install Sequin R

2020-05-10 Thread Jim Lemon
Hi Harshita, I think you are trying to install the package "seqinr" (Biological Sequences Retrieval and Analysis). 1) When you see something like in the help pages, it means "Insert the name of the package here". So you really want: install.packages("seqinr") 2) Both spelling and capitalization

Re: [R] predicting waste per capita - is a gaussian model correct?

2020-05-10 Thread John C Frain
On Sun, 10 May 2020 at 02:00, Alessandra Bielli wrote: > Dear list, > > I am new to this list and I hope it is ok to post here even though I > already posted this question on Cross Validated. > > I am trying to predict the daily amount of waste per person produced in the > fishery sector. We surv

Re: [R] the volcano orientation

2020-05-10 Thread Abby Spurdle
Sorry, one more thing. My response didn't really answer your question. But I would say that the formats of most datasets used in statistics are reflective of the preferences of the people that collected or published them, at the time... Also, I've found the older publications quite often have cons

Re: [R] the volcano orientation

2020-05-10 Thread Abby Spurdle
> Does anyone know why 'volcano' is oriented as it is? > image(volcano) ## filled.contour is the same Great question! graphics::image produces a "plot". It follows the same x y conventions as other plots in the graphics package. It's *defaults* are not designed to display photos, etc. However,

Re: [R] the volcano orientation

2020-05-10 Thread Ben Tupper
Hi, Hmmm. The only place I have ever seen a georeferenced version of 'volcano' is here... https://waterdata.usgs.gov/blog/inlmiscmaps/ It was on the internet so I assumed it was true. Now, I suspect that, since the original survey by Ross Ihaka, continental drift is happening wy faster than

Re: [R] How to determine whether a value belong to a cumulative distribution?

2020-05-10 Thread Ivan Krylov
On Sun, 10 May 2020 10:17:47 +0200 Luigi Marongiu wrote: >If I do, as in the formula: >``` >> p = 2 * (1-cum_fun) >Error in 1 - cum_fun : non-numeric argument to binary operator >``` The ecdf function returns another function that calculates the ECDF value for an arbitrary input. For example,

Re: [R] Warning in install.packages : converting NULL pointer to R NULL

2020-05-10 Thread Rui Barradas
Hello, Thanks for the info. It was an update issue, I updated to Ubuntu 20.04 and R to 4.0.0 but not RStudio. Now that I have all three most recent versions it works as before, with no strange warning message. So I guess this thread is closed. Thanks to all, Rui Barradas Às 23:11 de 08/05/2

Re: [R] solve() function freezes CLI in GNU R 3.6.3 - SOLVED

2020-05-10 Thread Ko Byeongmin
Dear list, Dirk and Professor J.C. Nash gave me an invaluable help! Prof. Nash mentioned: > Possibly this is a quirk of the particular distro or machine, BLAS or > LAPACK[.] This was indeed the case, and Dirk's suggestion to > [install] libopenblas-openmp-dev" and > [remove] both "libopenblas-p

Re: [R] Date format

2020-05-10 Thread Medic
Many Thanks!!! > cpolw...@chemo.org.uk: > Your X axis is plotting mydata not date? > Use aes(x=date __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://

[R] How to determine whether a value belong to a cumulative distribution?

2020-05-10 Thread Luigi Marongiu
Hello, I am trying to translate a mathematical formula into R. The formula (or rather a set of formulas) is meant to determine the first outlier in a sequence of measurements. To do this, a parameter r is calculated; this is essentially the ratio between the variance of the value x and the sum of

Re: [R] Date format

2020-05-10 Thread Medic
I took a SAMPLE CODE (for Connected scatterplot) from the R gallery and applied to MY DATA, but got: "Don't know how to automatically pick scale for object ..." P.S. 1) R ver. 4.0 (Yes, Jeff); 2) Attached: mydata_dput (1 КБ) SAMPLE CODE library(ggplot2) library(dplyr) library(hrbrthemes) data <-