search for: chevelle

Displaying 2 results from an estimated 2 matches for "chevelle".

2017 Dec 17
0
Auto Data in the ISLR Package
That probably works in this case, but it would cause grief if another car make had "ford" somewhere inside its name e.g. "bedford". Safer general practice is Auto[Auto$name %in% c("ford", "toyota"),] or similar using subset(). -pd > On 17 Dec 2017, at 09:10 , Eric Berger <ericjberger at gmail.com> wrote: > > myAuto <- Auto[
2017 Dec 17
4
Auto Data in the ISLR Package
myAuto <- Auto[ grep("ford|toyota",Auto$name),] On Sat, Dec 16, 2017 at 10:28 PM, Bert Gunter <bgunter.4567 at gmail.com> wrote: > I did not care to load the packages -- small reproducible examples are > preferable, as the posting guide suggests. > > But, if I have understood correctly: > > See, e.g. ?subset > > Alternatively, you can read up on