Re: [R] summarize_all Function

2020-10-01 Thread Bill Dunlap
The warning gives some suggestions. E.g., replace funs(sum,prod) with list(sum=sum,prod=prod). % R CMD Rscript -e 'library(dplyr,warn.conflicts=FALSE); data.frame(X=1:3,Y=c(11,13,17)) %>% summarize_all(funs(sum,prod))' X_sum Y_sum X_prod Y_prod 1 641 6 2431 Warning message: `funs

Re: [R] summarize_all Function

2020-10-01 Thread Rui Barradas
Hello, Any of the two will do, the first is now preferred. library(dplyr) mtcars %>% summarise(across(everything(), sum)) mtcars %>% summarise_all(sum) # no need for `funs()` Hope this helps, Rui Barradas Às 18:29 de 01/10/20, Jeff Reichman escreveu: r-help Forum I'm using th

[R] summarize_all Function

2020-10-01 Thread Jeff Reichman
r-help Forum I'm using the dplyr:: summarize_all(funs(sum)) function and am receiving a warning message that the `funs()` is deprecated as of dplyr 0.8.0. Ok what should I be using to summarize all columns by sum? Jeff [[alternative HTML version deleted]] ___

Re: [R] How to decrease size of points?

2020-10-01 Thread Avi Gross via R-help
It is better to understand the requirements before suggesting a way to do it. My GUESS is that the questioner wants the circles of different sizes based on a factor but the natural choices start too high for their needs/taste. So they want a base size of 0.8 that is either the minimum or maximu

Re: [R] (no subject)

2020-10-01 Thread Peter Dalgaard
Then please follow the link in the footer. Other recipients can't help you. > On 1 Oct 2020, at 09:30 , Marte Lilleeng wrote: > > I want to unsubscribe from this list. > > -- > Mvh Marte Synnøve Lilleeng > tlf 97 74 38 12 > > [[alternative HTML version deleted]] > > __

[R] (no subject)

2020-10-01 Thread Marte Lilleeng
I want to unsubscribe from this list. -- Mvh Marte Synnøve Lilleeng tlf 97 74 38 12 [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE d