Displaying 20 results from an estimated 2000 matches similar to: "automating aov function"
2004 Mar 08
2
memory problem
I am trying to upload into R 143 Affymetrix chips onto using R on the NIH
Nimbus server. I can load 10 chips without a problem, however, when I try
to load 143 I receive a error message: cannot create a vector of 523263 KB.
I have expanded the memory of R as follows: R --min-vsize=10M
--max-vsize=2500M --min-nsize=10M -max-nsize=50M (as specified in help in
R). After running this command the
2004 Jun 08
1
mbox configuration
Hi, I change the dovecot.conf
default_mail_env = mbox:/Mail/IMAP/%u/:INBOX=/var/mail/%u
After I did the change, I restart dovecot with the hope that folder that
I create will be stored in /Mail/IMAP/%u. Then I use Mozzila as my email
client and change the IMAP server directory to ~nina/IMAP/ which is the
link to /Mail/IMAP/nina/.
But then I can not create folder anymore from Mozzila, or view
2006 Apr 06
4
weighted kernel density estimate
Dear R-users,
I intend to do a spatial analysis on the genetic structuring within a
population. For this I had thought to prepare a kernel density estimate
map showing the spatial distribution of individuals, while incorporating
the genetic distances among individuals. I have a dataset of locations
of N unique individuals (XY-coordinates) and an NxN matrix with the
genetic distances given as a
2008 Jul 01
3
Ignore blank columns when reading a row from a table
Hi,
I am extracting data from a table where the rows have different column lengths,
and empty columns have NA in them. Whenever I extract a row with some empty
columns, the resulting vector carries all the NAs. Is there a way to ignore the
empty columns?
Thanks,
-Nina
2008 Jun 30
4
Problem reading a CSV
Hi,
I have a CSV file where each row has at least 20 columns and some rows have up
to 30 columns of data. When I use the command,
Pathways<-read.table('MetaCycSample3.csv',sep=',',header=FALSE,quote='"')
anything past the 21st column gets kicked down to a new row. How can I fix this?
Thanks,
-Nina
2003 Jan 29
2
help on cut?
Dear R-users,
I'm trying to recode a variable.
After using
cut(data.vector,breaks=my.breaks,labels=my.label)
I need the data.vector to have the same values as the labels.
To make it clear:
x<-runif(10)
y<-cut(x,breaks=c(0,0.3,0.7,0.9,1),labels=c(3,6,7,9))
as.numeric(y) returns something like a vector 1 3 3 2 2 1 4 2 3 4 .
I need something like 3 7 7 6 6 3 7 9 6 7 9 for further use.
I
2007 May 31
3
Venn diagram
Hello,
I am a total beginner with ?R? and found a package ?venn? to
create a venn diagram.
The problem is, I cannot create the vectors required for the diagram.
The manual say:
"R> venn(accession, libname, main = "All samples")
where accession was a vector containing the codes identifying
the RNA sequences, and libname was a vector containing the codes
identifying the
2008 Jul 22
2
Decoding subscripts/superscripts from CSVs
Hi,
I have a CSV file with various biological reactions. Subscripts, superscripts,
and italics are encoded in carats, and I was wondering if R can actually
recognize those and print actual superscripts, etc. Here's an example:
<i>S</i>-adenosyl-L-methionine + rRNA = <i>S</i>-adenosyl-L-homocysteine +
rRNA containing
2009 Apr 20
2
SEM package
Hi
I tried to install the sem package and it was succsessful but I keep
getting the following message
Paket 'sem' erfolgreich ausgepackt und MD5 Summen abgeglichen
Die heruntergeladenen Pakete sind in
C:\Users\Dean\AppData\Local\Temp\RtmpVRxlLZ\downloaded_packages
aktualisiere HTML Paketbeschreibungen
Warning message:
In file.create(f.tg) :
kann Datei
2008 Jul 17
3
Display variables when running a script
Hi,
I know this must be a stupid question, and sorry in advance for being such a
noob. But, is there way to get R to display only certain variables when running
a script. I know if you want to see the value of a variable when using the
interface, you just type it in and hit enter, but is there a command that I can
use in a script file that will show the value at a certain point?
Thanks,
-Nina
2006 Nov 23
4
Windows XP refresh Problem
Hello all,
i am using Samba samba-3.0.23c_2,1 under FreeBSD 6.1 Release. The
Problem is when i connect from a Windows XP Box to a share i have
setup on the server and create a new File or Directory, i have to
manually click Refresh or F5 to have the newly created File or Folder
appear in the List. Does anyone experience the same thing, and how
can i fix this?
Thanks a lot,
David
Below
2008 Jul 02
2
Problem reading from a data frame
Hi,
I have a data frame with strings that have two letters and four numbers. When I
store a whole row as a new vector and try to remove the preceding letters using
the gsub command, it returns characters of single numbers that have no relation
to the numbers in each string. I also noticed that when I view the new vector
before using gsub, it includes the original headers from the data frame. For
2008 Jul 01
3
Change name of a specific column of a data frame
Hi,
Sorry for the simple question. Is there a way to change the name of only one
column of an existing data frame?
I know colnames allows you to set the name of all the columns, but only one
column in the middle of my data frame needs a new name.
Thanks,
-Nina
2001 Aug 23
2
difficulies with boxplot
Dear list,
sorry for bothering you with a probably simple question... I searched
the archive but couldn't find the right answer.
I have computed upper and lower bounds of a region and would like to
plot them in a boxplot. My problem is now to get the two boxplots in the
same graphic so that the boxplot of the upper bounds is directly on top
of the boxplot of the lower bounds. The reason I
2007 Oct 01
3
Apparently Conflicting Results with coxph
Dear List:
I have a data frame prepared in the couting process style for including
a binary time-dependent covariate. The first few rows look like this.
PtNo Start End Status Imp
1 1 0 608.0 0 0
2 2 0 513.0 0 0
3 2 513 887.0 0 1
4 3 0 57.0 0 0
5 3 57 604.0 0 1
6 4 0 150.0 1 0
The outcome
2006 Feb 22
3
2 barplots in the same graph
Hello,
I have a very simple question about "2 barplots in the same graph".
It seems quite easy, but I searched google for long time, haven't find
solution.
For example, I want one graph like:
x1=seq(0,2,by=0.3)
x2=seq(3,0,by=-0.1)
barplot(x1,col="red")
barplot(x2,col="green")
It means if it's on the same graph, some bars are overlaped.
So if the bars are
2005 Sep 28
1
Fast AUC computation
I am doing a simulation with a relatively large data set (20,000
observations) for which I want to calculate the area under the Receiver
Operator Curve (AUC) for many parameter combinations. I am using the ROC
library and the following commands to generate each AUC:
rocobj=rocdemo.sca(truth = ymis, data = model$fitted.values, rule =
dxrule.sca) #generation of observed ROC object
2011 Apr 13
1
Find characters in a matrix and return a TRUE-FALSE vector
I have the following problem:
My data is a matrix of multiple columns and rows. The column I am interested
in looks like that (I think it is a column in a matrix that contains a
vector each?):
[[1]]
[1] A B C
[4] D E
[[2]]
[1] A D E
[[3]]
[1] C E F
[4] G
I now want to look for a special word (for example C; in my case the single
entries are words, not single letters) and return a vector, like
2002 Mar 19
1
what line is labeled in persp?
Dear R-users,
another question concerning a persp()-plot:
What does it depend on which line is labeled as an axis? Some plots I've
done look fine, but in one plot, a different line is labeled. I can't find
out why, as I just copied the code.
Two small *.ps-grafics can be downloaded on
http://www.math.uni-bremen.de/~nina/grafic.html
to illustrate my problem.
Thanks for your help in
2002 Mar 18
2
persp(): add second plane (second, long question)
Thank you for your replies so far.
Sorry for bothering you again, but I'm still not able to get what I need as
I don't understand all parts of the replies (just using R for easy
things....).
Is there a code for plane3d() like some of you sent me for points3d()? I was
not able to get that out of the scatterplot3d package...
What I can do is to get the x,y and z-range for the xlim,ylim and