dear r-helpers,

i created an object named A, which looks like this:

A <- c("4.4","1.9","4.1")

now i needed to get numbers instead of characters and for this i used the
function:

as.integer(A)


which resulted in:


[1] 4 1 4


My question is, why the numbers are rounded or more impotantly if
there is a way to keep the decimal numbers?


Thank you very much for your help in advance!


Marion

	[[alternative HTML version deleted]]

