Re: [R] 2D and 3D graphing

2020-03-23 Thread EK Esawi via R-help
Thank you Ista and LMH. I want to plot 3D scatter with options to connect the surface with lines;that's just like points connected with a  line in 2D and i may want to fit a surface to the data for soem of teh plots. LMH pointed out to what concerned me and the reason for the question which w

Re: [R] Tidyverse Question

2020-03-23 Thread Jeff Newmiller
This is not a reproducible recipe. I am positive this is an operator error... not keeping current working directory in the same place, or failing to close the file when done. On March 23, 2020 3:33:00 PM PDT, Phillip Heinrich wrote: >Can someone out there run the following code from the book An

Re: [R] Tidyverse Question

2020-03-23 Thread Ista Zahn
Hi Phillip, On Mon, Mar 23, 2020 at 6:33 PM Phillip Heinrich wrote: > > Can someone out there run the following code from the book Analyzing Baseball > Data with R – Chapter 7 page 164? > > library(tidyverse) > db <- src_sqlite(“data/pitchrx.sqlite”,create=TRUE) > > Over the past two wee

[R] Tidyverse Question

2020-03-23 Thread Phillip Heinrich
Can someone out there run the following code from the book Analyzing Baseball Data with R – Chapter 7 page 164? library(tidyverse) db <- src_sqlite(“data/pitchrx.sqlite”,create=TRUE) Over the past two weeks this code has run correctly twice but I have gotten the following error dozens o

Re: [R] 2D and 3D graphing

2020-03-23 Thread LMH
Hello, I use rgl for 3D plots. Mostly I use this for a 3D scatter plot where I can zoom and pan for closer analyses of the data. I also can manually connect any points with lines. It took me a bit to get the options right so the plot appears the way I want it to. In my opinion, there are a few

Re: [R] Same results but different functions ?

2020-03-23 Thread Martin Maechler
> Michael Dewey > on Mon, 23 Mar 2020 13:45:44 + writes: > The documentation suggests that the rlm method for a formula does not > have psi as a parameter. Perhaps try using the method for a matrix x and > a vector y. > Michael or use lmrob() from pkg robustbas

Re: [R] 2D and 3D graphing

2020-03-23 Thread Ista Zahn
It depends on what you are trying to do, but ggplot-to-rayshader looks pretty slick. --Ista On Mon, Mar 23, 2020 at 7:52 AM Ek Esawi wrote: > > Hi All-- > > I have been looking into 2D and 3D graphing packages. Based on what i > read, it seems that ggplot2 is the best and I like it too, but ggpl

Re: [R] Same results but different functions ?

2020-03-23 Thread Michael Dewey
The documentation suggests that the rlm method for a formula does not have psi as a parameter. Perhaps try using the method for a matrix x and a vector y. Michael On 23/03/2020 12:39, varin sacha via R-help wrote: Dear R-experts, The rlm command in the MASS package command implements several

[R] Same results but different functions ?

2020-03-23 Thread varin sacha via R-help
Dear R-experts, The rlm command in the MASS package command implements several versions of robust regression, for example the Huber and the Tukey (bisquare weighting function) estimators. In my R code here below I try to get the Tukey (bisquare weighting function) estimation, R gives me an erro

[R] Online stats course with on-demand video and live meetings: Data Exploration, Regression, GLM & GAM with introduction to R

2020-03-23 Thread Highland Statistics Ltd
We would like to announce the following online statistics course: Online course with on-demand video and live Zoom meetings: 'Data Exploration, Regression, GLM & GAM with introduction to R' Remark: The course fee includes a 1-hour face-to-face video chat with one or both instructors. When: 1-

[R] 2D and 3D graphing

2020-03-23 Thread Ek Esawi
Hi All-- I have been looking into 2D and 3D graphing packages. Based on what i read, it seems that ggplot2 is the best and I like it too, but ggplot2 doesn't have 3D plotting capabilities. I read that other packages (plot_ly, rgl, rayshader) can be used with ggplot2 to create 3D charts, but not su

Re: [R] How to save output of multiple loops in a matrix

2020-03-23 Thread PIKAL Petr
Hi What about instead of using split inside several cycles prepare new data frame and perform required calculation on it E.g. for the first row you get from second ant fourth column following (26,2) matrix. cbind(d1[1,3],unlist(strsplit(d1[1,4],","))) [,1] [,2] [1,] "Collaps