On 10/09/2009 11:36 PM, sahil seth wrote:
Hello R users,
I am writing a summary() for a custom class, and am to display the integers
right justified,
Say where x is the vector with integers, I am using the following:
cat("\t",format(x),"\t"...other columns)
this way I am trying to pass the forma
try using 'sprintf'
On Fri, Oct 9, 2009 at 8:36 AM, sahil seth wrote:
> Hello R users,
> I am writing a summary() for a custom class, and am to display the integers
> right justified,
> Say where x is the vector with integers, I am using the following:
> cat("\t",format(x),"\t"...other columns)
>
Hello R users,
I am writing a summary() for a custom class, and am to display the integers
right justified,
Say where x is the vector with integers, I am using the following:
cat("\t",format(x),"\t"...other columns)
this way I am trying to pass the format(x), to the cat function to display
it,
but
3 matches
Mail list logo