Displaying 20 results from an estimated 1000 matches similar to: "R mode for emacs"
2002 Mar 21
1
help with print and ways to display results
Hi all,
I have some (stupid) problems to display results and
i don't find a solution.
1-
res<-c(1,2,3)
I would like to display
>Results are 1 2 3
The following command cat(paste("Results are ",res,"\n")) give me
>my results are 1 my results are 2 my results are 3
2- res<-cbind(c(1,2),c(2,3))
I would like to display
>Result is the matrix 1 2
2002 Jul 02
3
mean and array
In general this is what "apply" does. In your example you could use
rowMeans(ar) as well, I think.
Reid Huntsinger
-----Original Message-----
From: Olivier Martin [mailto:olivier.martin at inrialpes.fr]
Sent: Tuesday, July 02, 2002 10:55 AM
To: r-help
Subject: [R] mean and array
Hi all,
I have an array, one say ar, with 3 dimensions.
dim(ar)
>200 3 4
I would like to
2002 May 21
1
help with par
Dear R-users,
Using the plot function, I would like that axes are [-1,1] for x and
[-1,1] for y.
But when I use xlim or ylim, it adds automaticaly a small space (i.e.
[-1.25,1.25]).
I suppose that i have to use the fuction par() but i don't find the
good parameter for this problem.
So, how can i define the axes to be exactly [-1,1].
Thanks
Olivier
--
2002 Mar 29
1
help with lme function
Hi all,
I have some difficulties with the lme function and so this is my problem.
Supoose i have the following model
y_(ijk)=beta_j + e_i + epsilon_(ijk)
where beta_j are fixed effects, e_i is a random effect and
epsilon_(ijk) is the error.
If i want to estimate a such model, i execute
>lme(y~vec.J , random~1 |vec .I )
where y is the vector of my data, vec.J is a factor object
2002 Apr 03
0
help on lme and variance estimation
Hi all,
I have a random effect model that can be written as
y_{ij} = \beta +\alpha_i+ \epslion_{ij}
where \alpha_i ~ N(0,\sigma^2_effect) and \espilon_{ij} ~
N(0,\sigma^2_error)
and i compute
res<-lme(data~1,data=Data,random=~1 | veci)
The estimation of \sigma_error is given by res$sigma but
I don't understand how i can find the estimation of \sigma _effect with
the object res
(I
2002 May 08
2
TCLTK and windows
Hi all,
Is it possible to use the R tcltk library with windows ?
Thanks
--
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
Olivier MARTIN
PhD student phone : (33) 04 76 61 53 55
Projet IS2 06 08 67 93 42
INRIA Rhone-Alpes fax : (33) 04 76 61 54 77
655, Av. de l'Europe
Montbonnot
2002 Aug 19
1
latex for xlab
Hi all,
I don't find the solution to my problem .
I represent some points and i would like a title for the x axis.
I would like to write log_2 where 2 is a subscript of log.
I think i have to use the functions parse or expression but i have some
difficulties
to understand how i should use them.
Thanks
--
2001 May 02
2
rcode and latex
I have discovered the listings package for including code in your latex
documents. The default languages do not include R or Splus, but the
definition is pretty simple, this is what I did for R:
\lst at definelanguage{R}%
{morekeywords={TRUE,FALSE,T,F,NA,NULL,Inf,NaN,library,%
attach,detach,source,while,for,in,%
repeat,switch,break,next,return,stop,function,%
if,else,warning,error},%
2000 Aug 31
2
Multiv / hierclust / plclust
I use hierclust (hierarchical clustering) in multiv package. In the
documentation it is said that plclust (plotting a dendrogram) is
available in S-plus. Can I find it anywhere (I have searched through
http://lib.stat.cmu.edu/S and found only quotations of plclust in
multiv) or is it only part of the S package (which I don't have)?
Thanks
---------------
Charles RAUX,
Laboratoire
2002 Feb 06
3
Help plot
Hello,
I would like plot a vector and want to specify the Xticks which will be
displayed. Is it possible ?
For example, suppose that x is a vector of length 3. I just want the
Xticks (and the corresponding labels)
for 1 2 and 3 to be displayed ( and not 1, 1.5, 2,2.5, ....) .
Thanks
--
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
Olivier MARTIN
PhD student
2000 Dec 21
1
statistical quality control
Hi all,
could anybody tell me whether there exist any packages about statistical
quality control. Thanks very much.
Stefano Tonellato
--
Stefano Tonellato
Dipartimento di Statistica
Universita' Ca' Foscari di Venezia
Campiello S. Agostin, S. Polo 2347
30125 Venezia - ITALY
Phone +39-041-2577422 Fax +39-041-710355
E-mail stone at unive.it
-------------- next part --------------
An
2000 Oct 18
1
Help oo sink
---------------------- Forwarded by Pan Yuming/Extern/AAM on 18.10.2000
12:58 ---------------------------
Pan Yuming
18.10.2000 11:41
To: Prof Brian Ripley <ripley at stats.ox.ac.uk>
cc:
Subject: Help oo sink (Document link: Pan Yuming)
Dear professor,
continue with the example i used, i want to save the prediction results but when i run a R file containing the following code, it
2001 May 30
2
Graphics
Please, will someone tell me why graphics are not displayed at all when
I use a graphical function. Is there some additional software required
to see the graphics?
ThankYou
CJoseBento
Portugal
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or
2001 Sep 27
1
cuts and breaks
Hi
I'm using the "image" function to produce a plot and I want to define
the breaks using "cut" and the colors using "heat.colors".
>
image(interp(mat2[,2],mat2[,1],mat2[,3]),breaks=cut(mat2[,3],30),col=heat.colors(29))
Error in image.default(interp(mat2[, 2], mat2[, 1], mat2[, 3]), breaks =
cut(mat2[, :
must have one more break than colour
The
2001 Mar 30
1
SVM
Hi all,
I would like to try SVM method. Is somebody know if there
are available R or S scripts.
Thanks
--
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
Olivier MARTIN phone: (33) 04 76 61 53 55
Projet IS2 06 08 67 93 42
INRIA Rhone-Alpes fax : (33) 04 76 61 54 77
655, Av. de l'Europe
Montbonnot
2001 Mar 30
1
SVM support vector machine
Hi all,
sorry for my previuos question that was incomplete...
i would like to test the SVM (support vector machine) algorithm?
is somebody know if there are available program for R or S?
thanks...
--
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
Olivier MARTIN phone: (33) 04 76 61 53 55
Projet IS2 06 08 67 93 42
INRIA Rhone-Alpes
2001 Oct 31
3
Quick question!
Thanks very much to all who answered my question
yesterday on loops.
Just a further quick question:
If I have this:
for(i in 1:n) {
subset <- data[which(data$id==i),]
which returns the rows where I have the variable ID=1,
how can I tell the same statement to return just
column Y where ID=i?
I have tried this
for(i in 1:n) {
subset <- data[which(data$id==i),data$Y]
but it
2001 Nov 13
2
plot and its options
Hi all,
I have some some difficulties to use plot and its options.
This is what i would like to do.
I want to put three plot in a same window
so i use par(mfrow=c(1,3)) and i obtain three columns for my three
graphics.
But, i would like that the two first take 90% of the window and the last
10%.
Could anyone give me a soultion??
Best regards,
Olivier
--
2002 Aug 20
4
plot and bg
Hi all,
I would like to plot some points and define the bg color of my graphics.
But the bg parameter set is defined for the. whole graphic.
In fact, i would like to use something like :
box(bg=gray(0.9)).
So, the background concerns only the plot region and not the main
title, the x title and the y title.
The option col for the function box() concerns the contour and there is
no option
2001 Aug 29
2
Matching Data & Results (Fuzzy-Cluster-Analysis)
Hello,
i use i.e. the cluster-package and the
fanny-object to construct some cluster's and get
the membership'S for every "Person" & Cluster !
My finally problem is to match efficient the data
and the results's togehter in one table!
Until now i use the ODBC-Package and
save both in a access-file and copy them together,
but i can't be sure that the sorting is the