About 443,000 results
Open links in new tab
  1. Issue with loading data from ISLR package - Stack Overflow

    Jun 7, 2016 · I am an R newbie and currently looking at the book An Introduction to Statistical Learning with Applications in R. For many of their examples they use the package ISLR. …

  2. r - Can't install ISLR package - Stack Overflow

    Can't install ISLR package [closed] Asked 10 years, 6 months ago Modified 5 years, 6 months ago Viewed 33k times

  3. Can I load a package's data set without installing the package?

    Aug 29, 2014 · 6 In package ISLR, there is a data set called Default. I want to use that data set, but the ISLR package is not installed on my machine.

  4. Installing package - cannot open file - permission denied

    I had the same permission issue when trying to download a pkg--ISLR. Fixed it after following the above answers. In case, some are new to R studio like me. These were my steps to install a …

  5. Call R package data using Python with rpy2 - Stack Overflow

    Oct 3, 2020 · I want to use the Auto data from R package library (ISLR) in Python. I do some tests inspired in Introduction to rpy2 as follows: from rpy2 import robjects from …

  6. R - How to get/print description of the variables in a dataset …

    Jan 2, 2021 · I have loaded the datasets from the library (ISLR) for the book "Introduction to Statistical Learning with R." I want to see the description of the variables included in the …

  7. survey - (RIM) weighting samples in R - Stack Overflow

    Aug 18, 2019 · library(ISLR) The distribution of Gender in the data looks like this

  8. Problem about fitting classification trees in R - Stack Overflow

    Dec 27, 2020 · I'm using the data set Carseats to fit into a classification tree. What I did here is trying to make a new variable "High" to indicate if the Sales is high or low, then use …

  9. r - Cross-validating `glmnet` using `caret` - Stack Overflow

    Jun 5, 2017 · I am going through ISLR book and I'm trying to find the best lambda for a Ridge regression model using 10-fold cross-validation. I have tried both cv.glmnet and caret train …

  10. r - The Validation Set Approach - Stack Overflow

    Jun 24, 2021 · The second argument to predict.lm is not "data", it is newdata. So the first set of instruction matched the Auto dataframe to the newdata argument. If you run the second set of …