Displaying 20 results from an estimated 2119 matches for "justifying".
2020 May 13
7
justify hard coded in format.ftable
Dear all,
I haven't received any feedback so far on my proposal to make "justify" argument available in stats:::format.ftable
Is this list the appropriate place for this kind of proposal?
I hope this follow-up to my message won't be taken as rude. Of course it's not meant to be, but I'm not used to the R mailing lists...
Thank you in advance for your comments,
Best,
2013 Mar 06
1
print justify
Hi everyone,
I'm trying to print a table justified to the left, but it doesn't work.
Any hints?
KennArt <- data.frame(NR=c(171,172,174,175,176,177,181,411,980), TYP=c("K?rnermais",
?"Corn Cob Mix", "Zuckermais", "Mischanbau (Silo)Mais/Sonnenblumen",
?"Mais mit Bejagungsschneise in gutem landwirtschaftlichen und ?kologischen Zustand",
2020 May 14
0
justify hard coded in format.ftable
>>>>> SOEIRO Thomas
>>>>> on Wed, 13 May 2020 20:27:15 +0000 writes:
> Dear all,
> I haven't received any feedback so far on my proposal to make "justify" argument available in stats:::format.ftable
> Is this list the appropriate place for this kind of proposal?
Yes, it is.. Actually such a post is even a "role
2020 May 14
0
justify hard coded in format.ftable
Thanks for the links. I agree that such a feature would be a nice addition, and could make ftable even more useful.
In the same spirit, I think it could be useful to mention the undocumented base::as.data.frame.matrix function in documentation of table and xtabs (in addition to the already mentioned base::as.data.frame.table). The conversion from ftable/table/xtabs to data.frame is a common task
2020 May 14
0
justify hard coded in format.ftable
One can use as.data.frame(as.matrix(tab)) to avoid calling
as.data.frame.matrix directly
(although I find I do use as.data.frame.matrix anyways sometimes even
though it is generally
better to call the generic.).
Also note that the various as.data.frame methods do not address the examples
in the SO links I posted which is why I mentioned it.
On Thu, May 14, 2020 at 9:22 AM SOEIRO Thomas
2020 May 15
0
ftable <-> data.frame etc {was "justify hard coded in format.ftable"}
>>>>> Gabor Grothendieck
>>>>> on Thu, 14 May 2020 06:56:06 -0400 writes:
> If you are looking at ftable could you also consider adding
> a way to convert an ftable into a usable data.frame such as
> the ftable2df function defined here:
> https://stackoverflow.com/questions/11141406/reshaping-an-array-to-data-frame/11143126#11143126
> and there
2010 May 19
1
Multiple language output - Correct in RGui, wrong in .txt after sink()
I have the following problem with outputting multilingual data to a file.
I get (except for Korean) what I expect as result in the RGui, but when I
use sink() to output to a text file loose the characters in the foreign
languages.
I post a small example below. Since I am not sure how well my email system
as the list copes with all the different characters I have additionally
created a pdf
2008 Jul 13
4
How to justify text in text_field_tag
I would like to have the text in a text_field_tag right justified
instead of left justified. Is there a way to do this?
Thanks,
Alex
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2001 Jan 22
0
vorbiscomment gui ideas
I was playing in Glade tonight with couple of GUI ideas for the vorbis
comment editor. I've attached the glade file.
A few notes:
On the user-friendly version, we might want an "Advanced" tab that would
pop up the user-hostile version to edit "non-standard" comment tags.
I'm just not sure how to do that in a way that won't scare the
non-technical. We need to
2009 Mar 13
1
Output Data Formatting Question
Within R I need to reformat my data so that the output looks like the following:
" 7 WORDS 5550 3.14159 -6. 6."
Previous folks were doing this by hand, but I would like to have a formula do it.
That is,
(a) 7 (place holder) on second column, then a space,
(b) WORDS (placeholder) is a string descriptor that is left justified to column 4,
(c)
2009 Sep 09
1
Xyplot, multi line title via main, all lines left justified
All,
Below is an xyplot plot with multiple panels and a title produced via main:
library("lattic")
data.ex = data.frame(y = rnorm(10), t = rep(1:5, 2), group = rep(c(0,1),
each = 5))
xyplot(y ~ t | as.factor(group), data = data.ex,
main = list("Put figure caption here xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
want this line left justified" ))
I must be mis-interpreting the
2006 Aug 14
1
left-justified fixed-width format
I need to save data in fixed-width format without headers and reading the
help archive leads me to believe that sprintf is pretty much the only way to
do this. My question is, is there anyway to change the output so the text
in each column is left justified instead of right justified? My code sample
is below where comb is the data frame. TIA, Roger
out <- sprintf("%6s %22s %8s %15s
2009 May 11
2
working with groups of labels?
Good Morning,
I have a graph with groups of variables. I have include the group
names as variables so that I can have them positioned correctly.
Unfortunately this means that the group names have to follow all of
the same rules as the variables within the groups. I would rather
have those group names left justified and bolded.
I know that I can do this in an mtext() function using font=2
2010 Feb 08
1
R ggplot2 legend text left justify
In ggplot2 how do you justify the legend text ?
In the example below the opts(legend.text = theme_text(size =
9,hjust=0)) changes the size of the text OK but it remains right
justified.
> mydata=data.frame(RowID=c("A","B","C"),Name=c("long long long long
long name","short name ","medium medium name"),Speed=c(100,140,120))
>
2004 Oct 19
2
Matrix/Table col headings R 2.0.0
I have been looking at some 'table' examples in Peter Dalgaard's ISwR book, and I am confused by how to get right justification of my table headings when I use the tables() command. Compare the following:
# Produces right justfified column names
caff.marital=matrix(c(652,1537,598,242,36,46,38,21,218,327,106,67),nrow=3,byrow=T)
2011 Jun 18
1
"Justify" PCA? -- was: Bartlett's Test of Sphericity
Apologies for the obvious, but just to clarify: there is no reason to
"justify" a PCA -- it's just an eigen decomposition of a matrix and is
therefore "justified" by linear algebra.
If one wants to determine whether some subset of the eigenvectors =
principal components suffice to "represent" the data in some sense,
then that is where distributional
2005 Aug 18
1
axis label justified
Hi, I am trying to make my axis labels left justified,
and have used adj=0 in the axis() without success. Can
anyone have a suggestion?
axis(2,at=1:50,labels=paste('a',1:50,sep=''),las=2,cex.axis=0.5,adj=0,tck=0,mgp=c(3,0.5,0))
Thanks
2011 Oct 16
2
right justify right-axis tick values in lattice
How can I right justify the right-axis tick values? They appear in the
example below as left-justified.
I have tried several different ways and all fail in different ways.
The example below creates the right axis tick value with no attempt at
adjustment.
alternates I have tried are
1. formatting the values. This doesn't work because they are in a
proportional font and the blanks
are too
2005 Nov 14
2
OggPCM : Need more justification for chunked data
HI all,
John Kkoleszar has asked for the option of storing data. He gave the rational
that
a) SIMD optimized filters
b) Writing filter chains.
Conrad Parker supported this say that both Core Audio and Jack operate on
multiple single channel buffers.
On IRC both Jean-Marc and MikeS argued that if OggPCM supports interleaved,
the addition of chunked is hard to justify.
My slant on the
2007 Apr 17
2
format() applied to an NA character string (PR#9616)
I get strange results when I try to format() an NA character string.
> x <- 'sometext'
> x[1] <- NA
> format(NA, width=32) # displays sensibly, right-justified
> format(x,width=32) # displays sensibly, left-justified
> format(x,width=33) # displays ""
> format(x,width=36) # R exits abnormally with code 5
> version
platform i386-pc-mingw32