[R] How to force R to print 2 decimal places in column of a data.frame?
Lesandro
lesandrop at yahoo.com.br
Thu Jun 11 18:48:32 CEST 2009
How to force R to print 2 decimal places in column of a data.frame? I tried to do so:
x = inp(format(rounf(inp$Tamanho, 2), nsmall = 2),)
where "INP" is data.frame and "Size" is the name of column. But has error:
Error in eval.with.vis(expr, envir, enclos) :
could not find function "inp"
Lesandro
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com
More information about the R-help
mailing list