Ongeveer 390.000 resultaten
Koppelingen in nieuw tabblad openen
  1. Issue with loading data from ISLR package - Stack Overflow

    7 jun. 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, 7 months ago Modified 5 years, 6 months ago Viewed 33k times

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

    29 aug. 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. Call R package data using Python with rpy2 - Stack Overflow

    3 okt. 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 …

  5. How to save R datasets (eg: datasets from libraries like MASS, …

    13 sep. 2022 · How to extract the datasets that are provided in r libraries into csv files. Faced this issue when trying to implement R related data analysis programs in python.

  6. Adding a column to a data frame using mutate in R

    18 sep. 2019 · I am working with OJ data set in ISLR package. I need to add to columns to the data frame. One column is a product of two numerical variable. The second column is a …

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

    2 jan. 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 …

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

    5 jun. 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 …

  9. r - The Validation Set Approach - Stack Overflow

    24 jun. 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 …

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

    27 dec. 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 …