Displaying 20 results from an estimated 1000 matches similar to: "Order of boxes in boxplot()"
2004 Aug 26
5
Problems with par() and labels with boxplot
Quite a simple one really!
When I run boxplot(), the labels on the X axis are horizontal, and I
want them vertical. So I did:
par(las=3)
boxplot(...)
And my labels just aren't there anymore....
Any help???
2007 Mar 10
3
long character string problem
Hi All
I am having 2 very long character strings (550chars) and I want to put them as
expressions together with c(). The problem is that I also get these
double-quotes, as seen below in 'fct'. How can I remove these double-quotes? I
tried as.name() but it did not work (because of size?). These are creating
trouble with subsequent programs, which I tested with strings that for some
2004 Dec 29
2
So what if I can't dial out ... or in ... Asterisk just blows my mind!
I subscribed to this list for about two months before I began posting, so I've
got a buttload of email to sift through ... I'm doing this BEFORE I flood the
list with my inane questions ...
But here goes:
I read a reply from one guy to another about recording. The message included
this context from extensions.conf:
[recordings]
exten => 500,1,Festival('Please record your
2002 Dec 03
3
terribly naive question
Dear R-Representative:
I am very new to R and I have to admit that I am not the cleverest of
users. So, please bear with me. I have installed R on my Mac OS 8.6.
I am interested in eventually using the packages -- many useful ones
have been downloaded with the basic R software. I have looked through
some of the manuals, however, I have not yet found how to access the
commands in these packages.
2019 Jun 18
1
making a vignette optional
I had added a vignette to the coxme package and all worked well locally, but it failed at
CRAN.???? The issue is that the vignette involves using coxme for pedigree data, it
doesn't work without the kinship2 package, and I hadn't put in the necessary "if
(require(...." logic.
The question is, how do I make the entire vignette conditional? If the package isn't
available,
2003 Jul 25
5
R won't connect to the internet on SUSE Linux 8.1
Hi
Thanks once again for your help, I do appreciate it..... however....
Here is what I get with your test.... (under tcsh - i normally use bash, but I will keep everything the same)
users/mwatson> env http_proxy=http://wwwcache.bbsrc.ac.uk:8080/ R
>options(internet.info=0)
>update.packages()
trying URL `http://cran.r-project.org/src/contrib/PACKAGES'
unable to connect to
2018 May 24
4
Manipulation of data.frame into an array
Hello everyone,
I want to transform a data.frame into an array (lets call it mydata), where: mydata[[1]] is the first imputed dataset...and for each mydata[[d]], the first p columns are covariates X, and the last one is the outcome Y.
Lets assume a simple data.frame:
Imputed = data.frame( X1 = c(1,2,1,2,1,2,1,2, 1,2,1,2,1,2,1,2),
X2 =
2004 May 19
7
Help with hclust() and plot()
Hi
When I use plot(hclust(dist..)...)...) etc to create a dendrogram of a
hierarchial cluster analysis, I end up with a vertical tree. What do I
need to do to get a horizontal tree?
Also, my users are used to seeing trees who's leaves all "end" at the
same place (eg. Like in minitab). Is this possible in R?
Thanks
Mick
Michael Watson
Head of Informatics
Institute for Animal
2006 Feb 23
7
Bug in setting GUI to SDI mode?
Hi
I did a google search on this and came up with nothing.
OK, in the latest release of R for windows, I want to change the gui to
SDI mode.
Edit -> GUI preferences
Choose SDI
Apply
I get the message about properties not being able to be changed on a
running console, and that I need to save.
So I click Save, and am met with a "Save As" dialogue box with the
default file called
2018 May 24
0
Manipulation of data.frame into an array
This is one of those instances where a less superficial knowledge of R's
technical details comes in really handy.
What you need to do is convert the data frame to a single (numeric) vector
for, e.g. a matrix() call. This can be easily done by noting that a data
frame is also a list and using do.call():
## imp is the data frame:
do.call(c,imp)
X11 X12 X13 X14 X15 X16 X17 X18 X19
2004 Dec 17
3
If it's not a data.frame, matrix or vector, what is it?
Hi
Forgive my ignorance. I am selecting a column of a data.frame using the
column name, and I want to know what the resulting column "is". My data
frame is called "submin" and the column name is held in a variable
called "display.gname" Eg:
> is.data.frame(submin)
[1] TRUE
> is.data.frame(submin[,display.gname])
[1] FALSE
>
2004 Sep 02
3
Problems with heatmap.2
Hi
When I give the command:
>
heatmap.2(as.matrix(d),Rowv=as.dendrogram(hc.gene),Colv=FALSE,scale="row
",trace="none",col=greenred.colors(79))
The resulting heatmap has re-ordered my columns! This is time-course
data, and I don't want my columns re-ordered! Note from the help:
Rowv: determines if and how the _row_ dendrogram should be
reordered.
2005 Feb 03
5
How to convert a list to a matrix
Hi
Sorry to ask such a basic question. I have a list, each element of
which is a vector of two values. What I actually want is a matrix with
two columns, and one row per element of the list. Obviously I have
tried as.matrix(), and as.vector() but I didn't expect the latter to
work.
I feel so lame asking this. Any suggestions?
Mick
2003 Jul 24
3
R won't connect to the internet on Linux!
OK, I really am struggling with this one! Forgive me if I am being stupid....
I am running R 1.7.1 on Suse Linux 8.1. I connect to the internet through a proxy so I have:
IAHC-LINUX03:~ # echo $http_proxy
wwwcache.bbsrc.ac.uk:8080
IAHC-LINUX03:~ # echo $HTTP_PROXY
wwwcache.bbsrc.ac.uk:8080
just in case ;-)
SO, i go into R and I get:
>
2005 Apr 05
5
Help with three-way anova
Hi
I have data from 12 subjects. The measurement is log(expression) of a
particular gene and can be assumed to be normally distributed. The 12
subjects are divided into the following groups:
Infected, Vaccinated, Lesions - 3 measurements
Infected, Vaccintaed, No Lesions - 2 measurements
Infected, Not Vaccinated, Lesions - 4 measurements
Uninfected, Not Vaccinated, No Lesions - 3 measurements
2004 Jul 01
1
Seg. faults in mapthin (in package maps!)
> From: "Kevin Bartz" <kbartz at loyaltymatrix.com>
> Date: Thu, 1 Jul 2004 10:18:36 -0700
>
> Dr. Ripley, you are the master. That fix worked like a charm! All the way to
> 50, with no problems. Thanks again,
>
And all while I was asleep! I'll submit a corrected maps package in a
couple of weeks, when I return from China (no guaranteed connection
where
2005 Jan 05
8
Replacing all NA values in a matrix
OK, dumb question, and it is probably in the docs somewhere, but after
12 months working with R and quite a while looking at the docs, I still
don't know (or have forgotten) how to replace all NA values in a matrix
at once with some other value. I can do it column by column using
is.na(), but I can't figure out how to do it for the whole matrix. My
apologies, I am ashamed ;-)
Michael
2005 Jan 20
5
Subsetting a data frame by a factor, using the level that occurs the most times
I think that title makes sense... I hope it does...
I have a data frame, one of the columns of which is a factor. I want
the rows of data that correspond to the level in that factor which
occurs the most times.
I can get a list by doing:
by(data,data$pattern,subset)
And go through each element of the list counting the rows, to find the
maximum....
BUT I can't help thinking there's
2004 Oct 11
2
icecast cpu test
I just ran a test of icecast to see how much cpu it uses. I set 500
instances of wget downloading from the mount point over loopback, and the
cpu usage of the server was still barely reaching 0.3% on a 1.4G machine.
The total bandwidth was 15Mbit/s. Each stream was 64 kbit/s. (I think some
of the downloads weren't running fully - 15M/64k=240). I haven't tested
over ethernet yet.
What I
2005 Jan 31
1
share mounted MANY times...
I've been searching for a solution to this problem for a few hours now, but google searches are coming up empty. I have 3 Linux boxes all running Suse 9.1 and samba 3.0.2a. The 3 systems are:
Novi - the samba server
Newberry - mounting novi
Sagola - mounting novi
This work great, until "mount -a" is run. Each time mount -a is run, we get another mount of novi. When I type