[BioC] number of digits to the right of the decimal point

James W. MacDonald jmacdon at med.umich.edu
Fri Dec 15 18:39:24 CET 2006


D.Enrique ESCOBAR ESPINOZA wrote:
> hi,
> Do anyone knows how to format the ouptup of a matrix?

?round

HTH,

Jim


> 
> I would like to have a presision of 3 digits after the decimal point,
> but R puts a lot like in:
> ========================
> 1415672_at	11.3675725685574	11.1207181716185	11.5835752310751
> 11.2635376544275	11.3803862471594	11.1876590302025	11.4803751218766
> 11.0407217370855	11.3803027471964	11.2107667749786	11.4240626154589
> 11.0726937904953	11.3404430284996	11.0983111542149	11.4295884632465
> 11.0385013450733	11.4303251130914	11.1001933325894	11.3698742158253
> 11.1251462071339	11.3758935688852	11.0525464293471	11.4410588092048
> 11.1137336744801	11.5089182538428	11.3033845671624	11.3726029979076
> 11.2408092611829	11.2501676060334	11.0138833147261	11.6985808445551
> 11.4163481418696	11.3136368224942	11.1259446705625	11.4781239446360
> 11.1370483924019	11.4161256305254	11.1489896409569	11.6419664718143
> 11.2759734361695	11.5410814859232	11.1406823752741	11.5346061725365
> 11.2717171467062
> ================================
> thanks
> 
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor


-- 
James W. MacDonald, M.S.
Biostatistician
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann Arbor MI 48109
734-647-5623


**********************************************************
Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues.



More information about the Bioconductor mailing list