[R] [help]Format excel spreadsheet using R?

2019-11-07 Thread Baojun Sun
I have a Excel spreadsheet with two kinds of elements: these include non-integers and integers. I want to select all numbers with decimal points i.e. 3.1415 (non-integers). I don't want to highlight cells that are whole numbers like 314. How do I do this custom selection? My goal is to make all

[R] (no subject)

2018-07-30 Thread Baojun Sun
The book "Introduction to Statistical Learning" gives R scripts for its labs. I found a script for ridge regression that works on the dataset the book uses but is unusable on other datasets I own unless I clean the data. I'm trying to understand the syntax for I need for data cleaning and am