Displaying 20 results from an estimated 6000 matches similar to: "font size in plots"
2007 Jan 30
5
how to join two arrays using their column names intersection
Dear all,
I have a problem that may be someone of you can help. I am a newbie and
do not find how to do it in manuals.
I have two arrays, for example:
ar1 <- array(data=c(1:16),dim=c(4,4))
ar2 <- array(data=c(1:16),dim=c(4,4))
colnames(ar1)<-c("A","B","D","E")
colnames(ar2)<-c("C","A","E","B")
> ar1
2003 Jan 03
1
Take care with codes()! (was type of representation)
Ahh yes, sorry about that.
Here's the corrected snippet:
# Create an Example Data Frame Containing Car x Color data
carnames <- c("bmw","renault","mercedes","seat")
carcolors <- c("red","white","silver","green")
datavals <- round(rnorm(16, mean=10, sd=4),1)
data <- data.frame(Car=rep(carnames,4),
2008 Jun 02
4
exit function in R?
Hi,
This is likely an stupid question, but I cannot find the solution.
I am searching for an "exit" function, to end the execution of an R
script if some condition is not filled.
Any clue?
Thank you in advance!
Federico
2003 Jan 03
2
type of representation
Hi
I have some data that i want to plot but i don't find how to do it. I have car
types (bmw,renault,mercedes,seat ...), colors and a number for each car
type-color relation.I want to come up with a matrix representation of cars vs
colors where in each intersection i could set a dot proportional in size to my
third variable.
Can anybody give me a clue of hoe to come up with such
2007 May 04
4
logical or for two vectors or matrices
Hello,
it might be a very simple question but I cannot find the solution (I tried a || b, any(a,b)... but none works). My problem is:
I have two vectors,
a <- c(TRUE,FALSE,FALSE)
b <- c(TRUE,FALSE,TRUE)
and I would like to obtain a vector that indicates if it is TRUE in any of the two vectors. Hence, the desired output would be: TRUE, FALSE, TRUE
Thank you in advance,
Federico
2009 Oct 29
3
x-y plot as an histogram
Hi,
I am investigating a problem for which I found no solution.
I have a matrix with two columns. I have plotted it as an x-y plot
(plot(matrix[,1],matrix[,2])
But this is not apropriate for my purposes. I need to group the data
in matrix[,1] into groups (as an histogram would do). Then I have to
calculate the average of matrix[,2] for each group.
Before starting with loops and loops I
2011 Oct 04
1
Giant font on the R plots...
Hello,
I've been facing a really stupid problem... When I try to plot using
heatplot or hclust or any similar function, the labels of the x-axis - which
are the samples names - are giant & overlapping. I can't even read the
samples names!
I tried cex.lab = 0.5, it helped only with the y axis and not the x-axis...
Any help please?!
--
View this message in context:
2005 Mar 24
2
font sizes for row.names of dendograms
Dear R
I recently performed a cluster analysis. It produced the dendogram no
problem but unfortunately the font size of the row.names were all cluttered
due to their large size
So I tried to change the font size using
plclust(cluster.results, labels=iris$specie, cex=0.8)
and R came back to me saying
Error in plclust(cluster.results, labels = iris$specie, cex = 0.8) :
unused argument(s)
2003 Mar 08
0
RE: Text Rotation (was: Take care with codes()!)
You can use the graphics parameter "srt" to rotate displayed text by a
specified number of degrees, e.g. srt=45 to put it on an angle, srt=90 to
put it vertical.
If you do this, may need to modify the call to text to increase ylim and
change the plot location to give you more room.
I'm working to update the 'balloonplot' function in the gregmisc package now
to handle this
2009 Oct 28
1
Is there a faster way to do it?
#Mdarts is a matrix 2343x788
#frequencia is a vector 2343x1
# 9 in Mdarts[fri,frj] stands for my missing values which i want to replace
by the value in the vector frequencia
Mdarts<-t(matrix(scan("C:/GWS/CNB/dartg.txt"),ncol=nindT,nrow=nm, byrow=T))
frequencia <- matrix(scan("C:/GWS/CNB/freq.txt"),ncol=1)
for (fri in 1:nindT){
for (frj in 1:nm){
Mdarts[fri,frj] <- if
2003 Mar 08
0
RE: Text Rotation (was: Take care with codes()!)
I've just uploaded gregmisc_0.8.2.tar.gz to CRAN. It should show up in the
package repository in a day or two.
This version of the gregmisc package provides an enhanced 'balloonplot'
function with 'rowsrt', 'colsrt' arguments to control rotation of the
labels, and 'rowmar', 'colmar' to control the amount of space reserved for
the labels.
Here's
2012 Jul 30
4
sieve vacation messages trouble
FROM:mailman-bounces at dovecot.org
DATE:27. hein?kuuta 2012 16.58.35 UTC+3.00
TO:dovecot-owner at dovecot.org
SUBJECT:CONTENT FILTERED MESSAGE NOTIFICATION
The attached message matched the dovecot mailing list's content
filtering rules and was prevented from being forwarded on to the list
membership. ?You are receiving the only remaining copy of the
discarded message.
FROM:Asier Cidon
2005 Dec 16
3
Help with data.frame and lapply
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello:
I'm having problems with this line of code:
X.lm <- lapply(names(d), function(x) lm(d["cls"] ~ d[x], data=d))
d[x] is what is giving trouble here, but I don't know exactly how to
solve it. What I'm trying to do is to create a linear model from each
column of the data frame 'd' to apply ANOVA later.
Thanks
2004 Jul 01
1
Customizing Cluster Analysis plots created with hclust
I am trying to cluster stock prices through time using hclust. To help with the interpretation of the output I would like to change the colour of the lines and the labels based on which sector a stock is in.
Is it possible to customize a plot of the output of hclust in this way?
Any help much appreciated
Regards,
> Tom Joy
>
[[alternative HTML version deleted]]
2006 Mar 18
0
No subject
Normally `codes' is not the appropriate function to use with an
unordered factor. Use `unclass' or `as.numeric' to extract the
codes used in the internal representation of the factor, as these
do not assume that the codes are sorted.
and this is one of the `normally' cases. Your code will only work
correctly if the levels are in alphabetical order (in the locale
2014 Sep 08
2
Samba4 AD -- Mac OS X clients uid:gid numbers not consistent
I have setup a Zentyal 3.2 Samba4 AD. I am using RSAT to administer
the AD server.
Windows7 and Linux (CentOS) clients are able to join the AD; uid/gid
of directories/files show up as per the definitions in Samba4.
With Mac OS X clients, there is a problem. The OS X nodes are able
to join the domain (quite a few blogs on this subject). The AD
connection shows green button.
The AD user is
2003 Oct 29
1
profile migration - resend
Hi,
I am almost ready to switch over from 2.2.7 to 3 but found
that a user profile created in 2.2 doesn't work in 3-
ie;
during login to a Samba 3 server, an error occurs and profile
modifications are not permitted or recognized.
This may seem trivial but I have 50 users, each with complex
desktop setups which help them with there daily tasks of CG
post production (so some of you know
2003 Nov 03
2
upgrade 2.2.8a -> 3.0 Debian DOS long filename problem
Hi,
I tried to upgrade from Samba 2.2.8a to 3.0.
It worked generally speaking fine and speed went up tremendously,
BUT
since then the DOS conversion of long file names is freaking me out.
Using long file names produced a readable short version plus ~1 oder ~x.
where x stands for a number.
now long file names produce some cryptic 8 letter name plus extension.
listing in a DOS box
2010 May 19
3
Strange case of partial matching in .[ - possible bug / wrong documentation?
Hi all,
This occurred in R-2.11.0 (WinXP).
The R-help page of .[ says that:
"Character indices can in some circumstances be partially matched (see
pmatch) to the names or dimnames of the object being subsetted (but never
for subassignment). Unlike S (Becker et al p. 358)), R has never used
partial matching when extracting by [, and as from R 2.7.0 partial matching
is not by default used by
2003 Nov 28
5
[OT] Good Gigabit Ethernet Card ...
Greetings ...
I hate to ask these questions, but I dought I will get a straight
answer from an Salesmen ...
I am looking at putting gigabit in as a back bone for a few Linux
servers, but I have used an Accton Gigabit ethernet card with RedHat
8.0/9 and found it a little unstable ... do and RedHat users have a
suggestion on a good, but not expensive Gigabit card, basicly for a
Samba