R Tip: Use stringsAsFactors = FALSE

Win-Vector Blog 2018-03-17

Summary:

R tip: use stringsAsFactors = FALSE. R often uses a concept of factors to re-encode strings. This can be too early and too aggressive. Sometimes a string is just a string. Sigmund Freud, it is often claimed, said: “Sometimes a cigar is just a cigar.” To avoid problems delay re-encoding of strings by using stringsAsFactors … Continue reading R Tip: Use stringsAsFactors = FALSE

Link:

http://www.win-vector.com/blog/2018/03/r-tip-use-stringsasfactors-false/

From feeds:

Statistics and Visualization » Win-Vector Blog

Tags:

Authors:

John Mount

Date tagged:

03/17/2018, 10:06

Date published:

03/17/2018, 10:04