Thanks, Erik, This is a partial copy of my code. I want to get rid of the left column of integers and I want to control the number of decimal places after the decimal point.
> j<-0.4 > for(i in 1:20){ + j=j+0.1;cp[i]<-pnorm(-j*3)*10^6;ratio[i]<-j} > table<-data.frame(ratio,cp) > table ratio cp 1 0.5 66807.201268858 2 0.6 35930.3191129258 3 0.7 17864.4205628166 4 0.8 8197.53592459613 5 0.9 3466.97380304067 6 > CHV ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- View this message in context: http://www.nabble.com/numeric-format-tp15700452p15702792.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.