User Tools

Site Tools


how_to_change_1_000_character_into_1000_integer_in_r

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

how_to_change_1_000_character_into_1000_integer_in_r [2015/08/02 02:06] (current)
vincenzo created
Line 1: Line 1:
 +<code java> 
 +a <- "​1,​000"​ 
 +a <- sub(",","",​a) 
 +a <- as.numeric(a) 
 +</​code>​
how_to_change_1_000_character_into_1000_integer_in_r.txt · Last modified: 2015/08/02 02:06 by vincenzo