search for: judith

Displaying 20 results from an estimated 64 matches for "judith".

2008 Feb 05
6
Sampling
Hi there, I want to generate different samples using the followindg code: g<-sample(LETTERS[1:2], 24, replace=T) How can I specify that I need 12 "A"s and 12 "B"s? Thank you, Judith ____________________________________________________________________________________ Be a better friend, newshound, and
2012 Oct 03
1
Difficulties in trying to do a mixed effects model using the lmer function
...rt something like: 'DBH differed significantly between, species, planting schemes, and plots (Fx,xx = X; P = X). DBH of species 1 was significantly larger than DBH of species 2 (LSD post hoc test, P = X)'. I greatly appreciate any suggestions! Thank You a lot for Your help! Kind regards, Judith PS. the complete output is attached. XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Judith Riedel ETH Zurich Institute of Agricultural Sciences Applied Entomology Schmelzbergstrasse 9/LFO 8092 Zurich Switzerland Tel: ++41 44 632 3923 Fax: ++41 44 632 1171 judith.riedel at ipw.agrl.ethz.ch&...
2009 Aug 25
3
Regular expression to define contents between parentheses
...following, but this pattern seems to enclose all that is included between the first opened parenthesis and the last closed parethesis, which makes sense, but it's not what I need: subvector<-gsub("\\((.*)\\)","",myvector Your help will be very appreciated. Thank you, Judith
2007 Nov 14
2
no applicable method for "names"
...> names(x) Error in UseMethod("name"): no applicable method for "names" ... instead of NULL. the same is true for lists and dataframes. attr(z, "names") is a workaround, but i don't want to change all my functions. is this a know bug? thanks for any comments, judith schiller
2004 Dec 09
4
Scatterplot question
...question concerning scatterplots: I want to draw a plot with one X but several Y columns, so that every group of samples gets a different symbol. My table looks like this: X Y1 Y2 Y3 1 1 2 3 3 5 4 7 5 9 6 11 7 13 8 15 Simple in Excel or StarOffice, but how do I do it in R? Thanks a lot Judith
2008 Feb 21
3
R console closes on its own
...save the plot as a PDF (from the menu in the R console). I can save the PDF twice in a row; but at the third time, right when I am about to give a name to the graph, R crashes, no error messages. I am using R 2.6.2, for Windows. I copy the script from TinnR. Thank you in adavance for any help, Judith ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page.
2007 Jul 02
2
Substitution of Variables
...run a script under the variable (that comes from a csv file) that is assigned to another variable. This is very a simplified version of what I want to do: data<-read.csv('name.csv') names(data)<-("VA","VB","VC") v<-VA mn(v) Thank you in advance, Judith ____________________________________________________________________________________ Got a little couch potato? Check out fun summer activities for kids.
2007 Jun 13
2
Removing Inf and Inf values from a fata frame
...when I apply the different functions (mean, std, etc.) I create a new data frame, the empty values generate Inf and -Inf values. How can I remove those Inf and -Inf values from the new data frame? I already specified na.rm in the mean and std functions, but the values are still there. Thank you, Judith
2008 Feb 26
2
Multiple lines with a different color assigned to each line (corrected code)
Sorry, I just realized I didn't type in the correct names of the variables I am working with, this is how it should be: plot(1,1,type="n") for (i in summ$tx) { points(summ$timep[summ$tx==i],summ$mn[summ$tx==i]) lines(summ$timep[summ$tx==i],summ$mn[summ$tx==i]) } Thank you, Judith ____________________________________________________________________________________ Be a better friend, newshound, and
2008 Feb 27
2
Add a rectangle behind a plot
...reference to add a reactangle behind a plot using plot(...,add=T), I tried this but didn't obtain the desired result. If a I have the following code: plot(x,y) rect(xleft, ybottom, xright,ytop,col='green) The rectangle appear on top of the plot. Any help will be greatly appreciated, Judith ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page.
2005 Oct 26
2
Fast question...
...the problem resides in the source data "e:/program". Seems that rsync "doesn't understand" the string "e:", because when I type "/cygdrive/e/program" I can send the data without any problem... So, has anyone tried something like this? Thanks in advance! Judith
2012 Feb 06
2
Reordering levels of a factor when the factor is part of a data frame
...t;)) it won't work because df[variab] is a data frame. The reason for reordering the levels of the factor is because once that variable is plotted, the levels of the factor need to appear in certain order.    How can I re-order the levels of a factor whose name I don't know? Thank you, Judith [[alternative HTML version deleted]]
2008 Apr 23
2
Replecing empty values with a letter (continuation)
...I hit the send botton by accident. Here is my code so far: dat<-read.csv('myfile.csv', na.strings="") dat[is.na(dat]<-'N' But it doesn't replace the <NA> for the letter 'N'. I am using R v 2/7/0, running it under Windows XP. Thank you, Judith ____________________________________________________________________________________ Be a better friend, newshound, and
2007 Dec 03
3
Ordering the levels of a vector
...levels manually: levels(day)<-c('Day -1', 'Day something','Day something else') I tried as.ordered, but I guess I am not using the right function. How can I command the script to put the panels in the original order given of the vector in a data frame? Thank you, Judith ____________________________________________________________________________________ Be a better friend, newshound, and
2007 May 22
4
Legend outside plotting area
Hi, I have been trying many of the suggested options to place a legend outside plotting area, including something like this: par(xpd=T, oma=par()$oma+c(4.5,0,1.5,0),mar=par()$mar+c(1,0,1,0) But the aspect of the four plots gets compromised when I change the margin settings. I cannot use mtext because I need to use colors for the text. I tried layout, but wouldn't let me include
2014 Dec 04
5
init script for tinc-1.1pre10
HI, Is there an init script to start stop tinc tinc-1.1pre10 for debian. I am running tinc -n name --pidfile /dir/name start from /etc/rc.local sometimes it's not creating the pid file but I see the process running. It would be great if we can manage it from /etc/init.d/ Thanks Anil -------------- next part -------------- An HTML attachment was scrubbed... URL:
2008 Apr 22
3
Using the 'by' function within a 'for' loop
...In mean.default(x$k) : argument is not numeric or logical: returning NA? Could some one please show me how to structure my code to achieve my final goal, which is to simplify it? I am attaching a csv file in case you want to run my code. Thank you very much in advance for your time and help, Judith ____________________________________________________________________________________ Be a better friend, newshound, and
2007 Jun 06
1
Removing vertical line in Tinn R editor
Hi, I haven't been able to figure out how to remove a vertical line that appears when I open an r file. How can I do this? Thank you, Judith ____________________________________________________________________________________ Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
2007 Oct 10
1
caTools package
...ge when typing library('caTools') Error in library("caTools") : 'caTools' is not a valid package -- installed < 2.0.0? What am I doing wrong? Also, why is this package not available in the list of packages for direct installation from the R console? Thank you, Judith
2008 Oct 03
1
How to mix different font styles in axis label of lattice plot?
Hello, I have a y-axis label that reads: "S. schenckii yeast cells". The part that reads "S. schenckii" needs to be in italic style, the rest of the text is normal style. How can I specify the different font styles for each part of the y-axis label? Thank you, Judith