Displaying 20 results from an estimated 700 matches similar to: "font formating"
2008 Sep 30
2
plot inside graphic area
I am trying to plot a small graphic inside the graphic area of a bigger
graphic. Does anybody know the commend for that?
Thanks a lot!
-- 
MSc José Alberto F. Monteiro
Botanisches Institut
Universität Basel
السلام عليكم
	[[alternative HTML version deleted]]
2008 Jan 03
1
tukeyHSD
Does anybody know how to deffine in the test tukeyHSD the pairs of
comparison that you want to get? It is throw the lmat commnad, but I
don't know the correct usage...
Thanks a lot!
Jos?
-- 
MSc Jos? Alberto F. Monteiro
Botanisches Institut
Universit?t Basel
?????? ?????
2008 Sep 29
2
density estimate
Hi,
I have a vector or random variables and I'm estimating the density using
"bkde" function in the KernSmooth package. The out put contains two vectors
(x and y), and the R documentation calls y as the density estimates, but my
y-values are not exact density etstimates (since these are numbers larger
than 1)! what is y here? Is it possible to get the true estimated density at
each
2009 Feb 19
2
read.table : how to condition on error while opening file?
Hi,
 
I'm using read.table in a loop, to read in multiple files. The problem
is that when a file is missing there is an error message and the loop is
broken; what I'd like to do is to test for the error and simply do
"next" instead of breaking the loop. Anybody knows how to do that?
 
Example: 
 
filelist <- c("file1.txt", "file2.txt",
2006 Jan 03
4
Problems Upgrading to 1.2.1 on Fedora 3
I am having trouble with FC3.
After doing a yum update (of 1264 packages) I still cannont compile
1.2.1 from source:
make[1]: `libedit.a' is up to date.
make[1]: Leaving directory `/usr/src/asterisk-1.2.1/editline'
make[1]: Entering directory `/usr/src/asterisk-1.2.1/db1-ast'
make[1]: `libdb1.a' is up to date.
make[1]: Leaving directory `/usr/src/asterisk-1.2.1/db1-ast'
2008 Sep 23
3
odds ratio: how to create reference
HI there,
i know this is a basic question, though i need some help because this  
is somewhat away from my current issue, but nevertheless interesting  
to me... Lets assume i have some estimated probabilities, say  
estimated by a logit model. i know i can also state them as an odds  
ratio.
Now i?d like to state these odds ratios as a reference to a specific  
outcome of my investigated
2009 Apr 07
4
group by-like statement for 2-row matrix
Hi,
my problem is as follows:
I have a matrix of two rows like this:
2 2 3 4 4 4 5 5 6
1 1 2 1 3 3 2 1 1
Can I apply something like "group by" in sql? What I want to achieve  
is the some of second row for each unique entry of first row:
2 -> 2 (=1+1)
3 -> 2
4 -> 7 (=1+3+3)
5 -> 3 (=2+1)
6 -> 1
Thanks!!
Henning
2007 Oct 01
4
Disentagling formulas
I am writing a program in which I would like to take in a formula, change the response (Y) variable into something else, and then pass the formula, with the new Y variable to another function.  That is, I am starting with 
         formula <- Y~X1+X2+X3
and I'd like to do something like
         Y <- formula$Y
         newY <- f(Y)
         lm(newY~X1+X2+X3)
So far, it seems that my
2005 Aug 15
1
error in predict glm (new levels cause problems)
Dear R-helpers,
I try to perform glm's with negative binomial distributed data.
So I use the MASS library and the commands:
model_1 = glm.nb(response ~ y1 + y2 + ...+ yi, data = data.frame)
and
predict(model_1, newdata = data.frame)
So far, I think everything should be ok.
But when I want to perform a glm with a subset of the data,
I run into an error message as soon as I want to predict
2009 Apr 07
6
Sequences
Hi,
I am trying to make a sequence and am  using a for loop for this. I want to
start off with an initial value ie S[0]=0 then use the loop to create other
values. This is what I have so far but I just keep getting error messages.
#To calculate the culmulative sums:
s<-rep(0,207)                                #as this is the length of the
vector I know I will have
s<-as.vector(s)
2008 Apr 18
2
Is there any function to skip a loop in a for loop ?
Hi,
Is there any function to skip a loop in a for loop ?
Thanks
Stanley
	[[alternative HTML version deleted]]
2008 Sep 30
1
par() default values
Hi all,
 
Is that possible to get back to the par() default values easily?
I played a bit with par()
 
Regards/Cordialement
-------------
Benoit Boulinguiez
Ph.D
Ecole de Chimie de Rennes (ENSCR) Bureau 1.20
Equipe CIP UMR CNRS 6226 "Sciences Chimiques de Rennes"
Campus de Beaulieu, 263 Avenue du Général Leclerc
35700 Rennes, France
Tel 33 (0)2 23 23 80 83
Fax 33 (0)2 23 23 81 20
2009 Mar 11
1
full screen graph, and close x11
Hi everybody!
I'm looking for a function or option to make a full screen plot.. can you
help me?
and I would like to know if it's possible to automaticaly close a x11
windows..
because i have more than 100 graph to generate and what  i want is:
1 - make a full screen graph
2 - save this plot in emf format
3 - close the plot (goto 1)
thanks for your advices
	[[alternative HTML version
2007 Nov 13
4
factors levels ?
Hi,
It's just some example code.. The application is uninteresting. I am
searching for some functionality.
X <- rnorm(100) //my data
Y <- seq(-3,3,by=0.1) // bin boundaries.
Now I would like to generate a - list of factors,  length as X...
i.e.: all values in the range [-3,-2.9) have the same factor... [-3,-2.9) etc.
I would assume R has such a function but I cant recall which one
2009 Feb 17
3
Combination
Hello,
I have a sequence of numbers:
seq(1:50)
and I would like to have all the possible combinations with this numbers 
without repeating any combination:
11, 12, 13, ... ,22,23,24,...
How can I do it?
Best,
Dani
-- 
Daniel Valverde Saub?
Grup de Biologia Molecular de Llevats
Facultat de Veterin?ria de la Universitat Aut?noma de Barcelona
Edifici V, Campus UAB
08193 Cerdanyola del Vall?s-
2009 Feb 19
2
Use of ifelse for indicating specific rownumber
Hello
I have a dataset named "b2" with 1521 rows, in that dataset i have 64 rows
containing specific information.
the rownumbers with specific info are:
+ i
 [1]   22   53  104  127  151  196  235  238  249  250  263  335  344  353 
362  370  389  422  458  459  473  492  502  530  561  624  647  651  666 
671
[31]  715  784  791  807  813  823  830  841  862  865 1036 1051 1062 1068
2007 Aug 22
3
Help with vector gymnastics
Hello,
What is the best way of solving this problem?
answer <- ifelse(tf=TRUE, i * 5, previous answer)
where as an initial condition 
tf[1] <- TRUE
For example if,
tf <- c(T,F,F,F,T,T,F)
over i = 1 to 7
then the output of the function will be
answer = 5 5 5 5 25 30 30 
Thank you.
Phil,
2008 Apr 15
1
p-values always identical for t.test of certain group of samples, why ?
Hi,
Given the following,
a <- rnorm(5)
b <- rnorm(5)
c <- rnorm(5)
a.1g.scale <- scale(c(a,b,c))[1:5]
b.1g.scale <- scale(c(a,b,c))[6:10]
c.1g.scale <- scale(c(a,b,c))[11:15]
a.2g.scale <- scale(c(a,b))[1:5]
b.2g.scale <- scale(c(a,b))[6:10]
c.2g.scale <- scale(c)
a.3g.scale <- scale(a)
b.3g.scale <- scale(b)
c.3g.scale <- scale(c)
I am puzzled why the
2009 Mar 08
2
plot confidence limits of a regression line - problem
hi,
I don't know what I am doing wrong,
but with that code;
x1 <- c(1.60, 0.27, 0.17, 1.63, 1.37, 2.00, 0.90, 1.07, 0.89, 0.43,  
0.37, 0.59,
0.47, 1.83, 1.79, 0.90, 0.72, 1.83, 0.23, 1.97, 2.03, 2.19, 2.03, 0.86)
x2 <- c(1.30, 0.24, 0.20, 0.50, 1.33, 1.87, 1.30, 0.75, 1.07, 0.43,  
0.37, 0.87,
1.40, 1.37, 1.63, 0.80, 0.57, 1.60, 0.39, 2.03, 1.90, 2.07, 1.93, 0.93)
model <-
2008 Nov 20
2
Fitting a model
Hello,
This is a very basic question, but I don'y know the answer. I have these 
data
delta <- 
c(28.6-8.825,28.6-8.828,28.6-8.836,28.6-8.845,28.6-8.897,28.6-8.944,28.6-9.027,28.6-9.091,28.6-9.263,28.6-9.4,28.6-9.7,28.6-9.981,
28.6-10.287,28.6-10.48,28.6-10.684,28.6-10.875)
ph <- c(4.4,4.6,4.8,5,5.2,5.4,5.6,5.8,6,6.2,6.4,6.6,6.8,7,7.2,7.4)