Skip to content
  • Main website
  • Rationalwiki / Oliver Smith
  • Archive
  • Donation options
  • In the media
  • Relation to Søren Kierkegaard?
  • About
Clear Language, Clear Mind
  • Main website
  • Rationalwiki / Oliver Smith
  • Archive
  • Donation options
  • In the media
  • Relation to Søren Kierkegaard?
  • About

numeric

  1. Home>
  2. numeric

Converting a data.frame to a numerical matrix in R, not so easy!

  • Post author:Emil O. W. Kirkegaard
  • Post published:30. August 2015
  • Post category:Computer science

Edit 2019 You don't really need the below. Look at the `model.matrix()` function, which converts data frames into matrices for glmnet and similar function. Original post Sometimes you need to…

Continue ReadingConverting a data.frame to a numerical matrix in R, not so easy!
Copyright - OceanWP Theme by OceanWP