Re: [R] Get Data Table from iml FeatureEffect Object

2020-03-17 Thread Jeff Newmiller
Also, R6 is based on R environments... you can access the methods and fields like S3 (eff$field) and you can list what methods and fields the object has (ls(envir=eff)). On March 17, 2020 3:13:22 PM PDT, Jeff Newmiller wrote: >OP may find the help page [1] informative as to which fields are wh

Re: [R] Get Data Table from iml FeatureEffect Object

2020-03-17 Thread Jeff Newmiller
OP may find the help page [1] informative as to which fields are which. I have never used the imp package. Note that the DESCRIPTION file indicates that this package uses the R6 object system rather than the more typical S3 or S4. [1] https://rdrr.io/cran/iml/man/FeatureEffect.html On March 17,

Re: [R] Get Data Table from iml FeatureEffect Object

2020-03-17 Thread Bert Gunter
that is, read ?str carefully. data structures are fundamental to any programming language, so if you really aren't getting it, that's a signal that you need to spend some time with R tutorials. The R language Definition manual is a more comprehensive but of course more difficult resource to learn

Re: [R] Get Data Table from iml FeatureEffect Object

2020-03-17 Thread Sparks, John
From my previous email: "I tried str(eff) and class(eff), but I am not familiar with the structure of the object(s)." --JJS From: Bert Gunter Sent: Tuesday, March 17, 2020 2:22 PM To: Sparks, John Cc: r-help@r-project.org ; christoph.mol...@gmail.com Subject

Re: [R] Get Data Table from iml FeatureEffect Object

2020-03-17 Thread Bert Gunter
?str 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 Tue, Mar 17, 2020 at 12:19 PM Sparks, John wrote: > Hi R-Helpers, > > I have recently started working wit

[R] Get Data Table from iml FeatureEffect Object

2020-03-17 Thread Sparks, John
Hi R-Helpers, I have recently started working with the iml package (Interpretable Machine Learning) and its associated material, which I generally find very helpful. I want to recover some values out of the FeatureEffect Object created by this library, but the form of the object is completely

Re: [R] Analyzing Baseball Data With R

2020-03-17 Thread John via R-help
On Mon, 16 Mar 2020 15:35:36 -0700 "Phillip Heinrich" wrote: > Can’t get past first step of Chapter 7 page 164. > > Opened a new RStudio window. Loaded tidyverse and keyed in > library(tidyverse) which of course includes dplyr. The working > directory is: C:/Users/Owner/Documents. > > Then ke