Hi Alexandre,
Alexandre Christie wrote:
I am new to R, and I am writing to seek your advice on how best to use it to
run
R's various normality tests in an automated way.
In a nutshell, my situation is as follows. I work in an investment bank, and
my
team and I are concerned that the
I'm sorry, I pressed a wrong button and
sent an incomplete answer. Below follows
the completed e-mail.
I am new to R, and I am writing to seek your advice on how best to use it to
run
R's various normality tests in an automated way.
In a nutshell, my situation is as follows. I work in an
Walter R. Paczkowski wrote:
Good morning,
Does anyone know of a package or function to do a beta regression?
http://cran.r-project.org/src/contrib/Descriptions/betareg.html
HTH,
Tobias
--
Tobias Verbeke - Consultant
Business Decision Benelux
Rue de la révolution 8
1000 Brussels
to the Weka Bayes net package
described at
http://downloads.sourceforge.net/weka/BayesianNetClassifiers-3.5.6.pdf
library(RWeka)
?list_Weka_interfaces
describes how to register new interfaces.
HTH,
Tobias
--
Tobias Verbeke - Consultant
Business Decision Benelux
Rue de la révolution 8
1000 Brussels
but not critical.
HTH,
Tobias
--
Tobias Verbeke - Consultant
Business Decision Benelux
Rue de la révolution 8
1000 Brussels - BELGIUM
+32 499 36 33 15
[EMAIL PROTECTED]
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r
/Descriptions/ROCR.html
HTH,
Tobias
--
Tobias Verbeke - Consultant
Business Decision Benelux
Rue de la révolution 8
1000 Brussels - BELGIUM
+32 499 36 33 15
[EMAIL PROTECTED]
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman
to
exclude file1.rnw and file3.rnw temporarily and joining all of them
later. This amounts to a mechanism similar to using LaTeX's \include
command. *Is* there a way to achieve that?
\SweaveInclude{} lets you do just that.
HTH,
Tobias
--
Tobias Verbeke - Consultant
Business Decision Benelux
Tobias Verbeke wrote:
Dietrich Trenkler wrote:
Dear HelpeRs,
I'm very fond of Sweave and I use it as often as possible. It'a a pity
I can't use it for larger projects or can I?
For instance suppose I have three files file1.rnw, file2.rnw and
file3.rnw with Sweave code. Working on file2
))
cbind(returns[[1]], returns[[2]],...,returns[[n]])
Does
do.call(cbind, returns)
do what you want ?
HTH,
Tobias
--
Tobias Verbeke - Consultant
Business Decision Benelux
Rue de la révolution 8
1000 Brussels - BELGIUM
+32 499 36 33 15
[EMAIL PROTECTED
(([ab]), \\1_\\1_, abc and ABC)
HTH,
Tobias
--
Tobias Verbeke - Consultant
Business Decision Benelux
Rue de la révolution 8
1000 Brussels - BELGIUM
+32 499 36 33 15
[EMAIL PROTECTED]
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch
it `by hand'.
HTH,
Tobias
P.S. You can find an introduction to R specifically targeted at (SAS
and) SPSS users here:
http://oit.utk.edu/scc/RforSASSPSSusers.pdf
--
Tobias Verbeke - Consultant
Business Decision Benelux
Rue de la révolution 8
1000 Brussels - BELGIUM
+32 499 36 33 15
[EMAIL
according to a factor:
split(df, df$ID)
$`1`
a b ID
1 1 1 1
2 3 4 1
3 5 7 1
$`2`
a b ID
4 7 10 2
5 9 13 2
6 11 16 2
$`3`
a b ID
7 13 19 3
8 15 22 3
9 17 25 3
10 19 28 3
See ?split.
HTH,
Tobias
--
Tobias Verbeke - Consultant
Business Decision Benelux
Rue de la
Is this better
plot(1:10, ylab = expression(paste(N[2],O concentration (ppm),
sep = )))
?
HTH,
Tobias
--
Tobias Verbeke - Consultant
Business Decision Benelux
Rue de la révolution 8
1000 Brussels - BELGIUM
+32 499 36 33 15
[EMAIL PROTECTED
, and if not, is there a possibility of changing it?
See ?postscript and in particular the family argument the details of
which are treated in the Families section.
HTH,
Tobias
--
Tobias Verbeke - Consultant
Business Decision Benelux
Rue de la révolution 8
1000 Brussels - BELGIUM
+32 499 36 33
to
the current portal of the R(D)COM server and the
rcom package.
http://sunsite.univie.ac.at/rcom/
See the Excel heading for your question. You might be
interested as well by the recent OpenOffice.org plugin
(heading OOo).
HTH,
Tobias
--
Tobias Verbeke - Consultant
Business Decision Benelux
Rue de la
searchable from the given website.
HTH,
Tobias
--
Tobias Verbeke - Consultant
Business Decision Benelux
Rue de la révolution 8
1000 Brussels - BELGIUM
+32 499 36 33 15
[EMAIL PROTECTED]
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman
://www.rforge.net/rJava/
there are very simple examples that can get you started.
HTH,
Tobias
--
Tobias Verbeke - Consultant
Business Decision Benelux
Rue de la révolution 8
1000 Brussels - BELGIUM
+32 499 36 33 15
[EMAIL PROTECTED]
__
R-help@stat.math.ethz.ch
and is interspersed with R (1.4.0) code.
http://www.stat.wisc.edu/~mchung/teaching/stat471/stat_computing.pdf
HTH,
Tobias
--
Tobias Verbeke - Consultant
Business Decision Benelux
Rue de la révolution 8
1000 Brussels - BELGIUM
+32 499 36 33 15
[EMAIL PROTECTED
-project.org/rwiki/doku.php?id=tips:data-strings:levenshtein
for some R code which might be useful.
HTH,
Tobias
--
Tobias Verbeke - Consultant
Business Decision Benelux
Rue de la révolution 8
1000 Brussels - BELGIUM
+32 499 36 33 15
[EMAIL PROTECTED]
__
R-help
-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Tobias Verbeke - Consultant
Business Decision Benelux
Rue de la révolution 8
1000 Brussels - BELGIUM
+32 499 36 33 15
[EMAIL PROTECTED]
__
R-help@stat.math.ethz.ch
://faculty.washington.edu/tlumley/survey/
HTH,
Tobias
Does any one know how to obtain Horvitz-Thompson variance estimates when
performing linear regression?
Thank you for your help.
--
Tobias Verbeke - Consultant
Business Decision Benelux
Rue de la révolution 8
1000 Brussels - BELGIUM
+32
Salvaj, Erica wrote:
Hello
I export a one mode network from Pajek to R, and the former made an .r file
called PajekR.r, that is actually an script to be run in R
The problem is that what the file actually does is to set a 0 martrix and
then assing to each pair of nodes the corresponding
Michael Kubovy wrote:
Dear R-helpers,
If you know of an extended example of the use of R2HTML, in which the
various constructs are present in one place, could you please point
me to it or send it to me?
There was an article in the R News of December 2003
Michael Kubovy wrote:
On Aug 9, 2006, at 9:23 AM, Tobias Verbeke wrote:
Michael Kubovy wrote:
Dear R-helpers,
If you know of an extended example of the use of R2HTML, in which
the various constructs are present in one place, could you please
point me to it or send it to me
[EMAIL PROTECTED] wrote:
Hi,
I don't think my first email worked, so here it is again.
I'd like to know if there is a nonmetric MDS function or package for R. I've
beening trying to do a problem in Stata but I'm going crazy with it. A
simple problem is becoming difficult so maybe R can
Mag. Ferri Leberl wrote:
Dear Everybody!
I want to export data to LaTeX. As I want to employ the data as freely as
possible I want to avoid the xtable-command and instead generate some List
like
\MyOwnPrettyCommand{Adam}{Auer}{17}
\MyOwnPrettyCommand{Bertram}{Bauer}{14}
- Oorspronkelijk bericht -
Van: zhijie zhang [mailto:[EMAIL PROTECTED]
Verzonden: zaterdag, juli 1, 2006 08:50 AM
Aan: r-help@stat.math.ethz.ch
Onderwerp: [R] general linear model and generalized linear model
Dear friends,
I searched the R site and found a lot of results on general
Ulrike Grömping wrote:
is it possible to specify a time delay for plotting the points in a curve? I
would like to make the plotting process slow enough to show the development
of the graph, and therefore I am looking either for the possibility within
the plot function to specify a plotting
Kurt Wollenberg wrote:
Greetings all:
OK, this is bugging the @[EMAIL PROTECTED] out of me. I know the answer is
simple
and straightforward but for the life of me I cannot find it in the
documentation, in the archives, or in my notes (because I know I've
encountered this in the past). My
Gates, Michael BGI SF wrote:
Is there an element-by-element multiplication in R, like the .* operator in
Matlab?
eg: A (2x3)
B (2x3)
C=A.*B
C (2x3)
C = [[a11*b11 a12*b12 a13*b13]; [a21*b21 a22*b22 a23*b23]]
I can't find one...
mym - matrix(1:4,2)
myt - matrix(5:8,2)
mym
t c wrote:
I wish to obtain the right-most n characters of a character string? What is
the appropriate function?
You could make one yourself:
rightmostn - function(x, n){
res - substr(x, nchar(x)-n+1, nchar(x))
return(res)
}
magic - hocuspocus
rightmostn(magic, 5)
[1] pocus
HTH,
[EMAIL PROTECTED] wrote:
Where I work a lot of people end up using Excel spreadsheets for storing
data. This has limitations and maybe some less than obvious problems. I'd
like to recommend a uniform way for storing and archiving data collected
in the department. Most of the data could be stored
Claus Hindsgaul wrote:
Hi r-help,
A very simple question for which I have not been able to find an answer
in the docs:
How can I merge two character strings?
I am searching for the equivalent of the (non-existing) stringmerge
function illustrated below:
s1 - R-
s2 - project
On Wed, 01 Jun 2005 00:04:22 +0800
ronggui [EMAIL PROTECTED] wrote:
i am studying Longitudinal Data Analysis and want to carry it with R.anyone
knows any materials about Longitudinal Data Analysis with R in the internet
which i can download?
You may have a look at
- Oorspronkelijk bericht -
Van
: Göran Broström [mailto:[EMAIL PROTECTED]
Verzonden
: donderdag
, maart
24, 2005 10:40 AM
Aan
: r-help@stat.math.ethz.ch
Onderwerp
: [R] Books on survival analysis and R/S
I will be giving a course in survival analysis using R (of course!) for
people who
On Wed, 9 Mar 2005 13:49:44 -0600
Jagarlamudi, Choudary [EMAIL PROTECTED] wrote:
Hi all,
I am trying to find sd of my rows in a matrix and i get column sd inspite
of extracting rows.
I tried to do the sqrt(var(x)) but that did'nt work as well,
Here is my data
genes
15 24 63 40
On Tue, 25 Jan 2005 16:03:57 +0100
Göran Broström [EMAIL PROTECTED] wrote:
On Tue, Jan 25, 2005 at 06:22:26AM -0800, Florian Menzel wrote:
Hello all,
I found a weird result of the GLM function that seems
to be a bug.
The code:
a=c(rep(1,8),rep(2,8))
b=c(rep(0,8),rep(3,8))
On Sat, 15 Jan 2005 05:39:00 +0100
List account [EMAIL PROTECTED] wrote:
Greetings,
I am working on a stylometric analysis of some latin texts; one of the
latest stylometric techniques involves using principal components
analysis. Not being a statistician, I can't really fully rely on
On Sat, 15 Jan 2005 15:53:18 +0100
List account [EMAIL PROTECTED] wrote:
Thanks, Tobias for the response.
I tried the suggestion you gave, and apparently (at least according to
the biplot manpage, only the first two members of the col vector are
used, the first to plot the first set of
On Tue, 11 Jan 2005 10:45:48 -0500
Palos, Judit [EMAIL PROTECTED] wrote:
Breslow-Day test
A statistical test for the homogeneity of odds ratios.
[..some definitions..]
Your message was not particularly clear, but if
you were looking for R code to do a Breslow-Day test,
Google found this
- Oorspronkelijk bericht -
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Verzonden: dinsdag, januari 11, 2005 12:10 PM
I'm Ph.D student and I need an R code to compute the chi square diistance
between n profile rows in a matrix.
There is a ready-made function dudi.dist in package
On Fri, 07 Jan 2005 12:28:04 +
Talita Leite [EMAIL PROTECTED] wrote:
Hello everybody,
I'm studying descriptive statistics with R and I want to know how to
calculate the asymmetry and kurtosis coefficients of a sample using R. I'll
appreciate some help.
install.packages(e1071)
On Mon, 27 Dec 2004 03:18:53 -0800 (PST)
Frederic renaud [EMAIL PROTECTED] wrote:
Hello
I've another question :-)
I would like to transform a list to a integer.
I must be sure that the number entered by the user is
an integer! Thus, I've made :
repeat{
cat(Effectif des populations
On Sun, 26 Dec 2004 04:11:20 -0800 (PST)
Frederic renaud [EMAIL PROTECTED] wrote:
Bonjour,
Je voudrais faire un petit programme sous R dans
lequel je ferais intervenir des parametres que
j'initialiserais dans R directement ou dans un fichier
txt(des naturels, reels et caracteres). N'auriez
On Sat, 4 Dec 2004 14:32:24 -0400 (AST)
Rolf Turner [EMAIL PROTECTED] wrote:
Chuck Cleland wrote:
The following works for me under WinXP Pro to create myframe as a
data frame:
library(RODBC)
z - odbcConnectExcel(c:/myfolder/mydata.xls)
myframe - sqlFetch(z, Sheet1)
close(z)
On Thu, 2 Dec 2004 18:29:31 +0100
Daniele Medri [EMAIL PROTECTED] wrote:
Dears,
anyone has experiences with text mining and R?
I'll be very greatfull for tutorial or examples.
You may have a look at:
http://wwwpeople.unil.ch/jean-pierre.mueller/
HTH,
Tobias
--
Daniele Medri -
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
I'm sorry. My message just pointed to
the document by Roger Peng:
http://www.biostat.jhsph.edu/~rpeng/docs/R-debug-tools.pdf
HTH,
T.
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
On Mon, 09 Aug 2004 08:01:55 -0300
Paolo Tommasini [EMAIL PROTECTED] wrote:
Hi ! mu name is Paolo and I teach statistic in a small college in
Brazil and we use Linux. We started to use R as our statitical software.
I,ve been trying to use some commands I see in the documentation online
[EMAIL PROTECTED] wrote on 30/07/2004 05:34:32:
snip
Are the Windows recipients of the R graphics involved in
creating/editing the resultant documents, or do they simply require
read only access of a final document?
If the latter, then let me suggest that you generate EPS based
On Fri, 23 Jul 2004 12:23:35 -0400
Zodet, Marc [EMAIL PROTECTED] wrote:
I need some guidance from someone who is familiar/has some experience with
the survey package.
The data that I am using is from the Medical Expenditure Panel Survey
(www.meps.ahrq.gov http://www.meps.ahrq.gov/ ).
[EMAIL PROTECTED] wrote on 30/06/2004 16:05:15:
I could not figure this out from the documentation: is there a way to
send
formatted non-graphical data to a fancy output device (eg, latex, pdf...)
For example, if I want to include the summary of a linear model in a
document, I might
[EMAIL PROTECTED] wrote on 17/06/2004 13:10:35:
Hi all
I have a vector like this
2003 2002 2001 2000 1999 1998 1997 1996
106 105 106 106105 106 101 107
How can I get it sorted right(19962003)?
rev(1:4)
[1] 4 3 2 1
HTH,
Tobias
[EMAIL PROTECTED] wrote on 11/06/2004 14:07:18:
Dear list,
I am using Sweave to build a small report. I want to produce a series of
figures, each figure containing a number of plots and then have them
included in the Sweave file.
An example would be to :
postscript(file =
[EMAIL PROTECTED] wrote on 02/06/2004 15:21:14:
I have learned a lot from this list. I would
like to thank the developers and contributors who
devote so much of their time to this project.
Does anyone know if any methods have been
developed for handling data from complex sample
surveys
On Tue, 01 Jun 2004 18:37:53 +0200
samirkc [EMAIL PROTECTED] wrote:
HI,
I tried to read an spss file, i got this message, please help me out. I
am a very new user. Please suggest.
Samir
Error in read.spss(coughfever.sav) : Error reading system-file header.
In addition: Warning message:
On Tue, 01 Jun 2004 14:13:23 +0100
Samuel Kemp (Comp) [EMAIL PROTECTED] wrote:
Hi,
I have been using R for a few months now and I am confident that the
language has everything I will need to complete my PhD. I can create
functions, script files and packages, but I would like to write my
[EMAIL PROTECTED] wrote on 27/05/2004 11:29:11:
How do I parse a date mmdd? I tried asking chron(s, ymd) but
that didn't work. Would the date parsing routines of the Date class of
1.9 grok this?
a - 20030527
as.Date(a, %Y%m%d)
[1] 2003-05-27
HTH,
Tobias
--
Ajay Shah
[EMAIL PROTECTED] wrote on 30/04/2004 15:33:48:
Hi,
I have a integer vector x that contains a unique set of numbers:
x - c(1,2,4,6,8,10,12)
Is there a simple test I can use to determine if an integer such as 6 is
contained in x ?
x - c(1,2,4,6,8,10,12)
6 %in% x
[1] TRUE
See ?%in%
[EMAIL PROTECTED] wrote on 23/04/2004 12:12:31:
Hi all,
I find an introduction for program lme() for fitting mixed effects
models.
I do not have the book wirtten by Pinheiro and Bates, and a tutorial
would be very useful.
In particular, I have some difficulties to understand how
F. Tusell [EMAIL PROTECTED] wrote on 31/03/2004 10:06:32:
[...]
and yet libgc2-pic is not resolved. *HOWEVER* following your lead that
whatever is needed must by in a library of name libg2c*, I did the
following in /usr/lib:
ln -s libg2c0.so.0 libg2c-pic.so
and everything works
[EMAIL PROTECTED] wrote on 04/03/1997 03:21:00:
Hi,
I would like to read a spss file in R.
When i type read.spss(...)
Comes the error: couldn't find function read.spss
What shall i do?
Hi Margarida,
Did you load the foreign package by typing
library(foreign)
before using the
[EMAIL PROTECTED] wrote on 23/01/2004 15:24:21:
Hi all!
How to retrieve the levels number of a factor object?
See this code:
groups-gl(4,10)
I want to retrieve the number of levels (4) of my object groups
I tried groups.levels but this don't work
Is
I would like to know if anybody knows of either a good book or web site
that explains one how to use Fortran. I would like to call some of the
Fortran subroutines but before I can do that I first want to learn how
to code in Fortran.
There is a wealth of resources in the fortran faq
[EMAIL PROTECTED] wrote on 10/12/2003 22:23:43:
I'm looking for extensive docs on using grid (for the somewhat newbie).
I'm
attempting to create a set of graphics that look similar to the attached
image (I hope this doesn't get bounced) and have only come across the R
newsletters and it
Dear list,
Is there a way to obtain a matrix of weighted
correlations in the presence of missing values ?
cor() can deal with NAs but cov.wt() apparently
can't. Is there any package that offers such a
function, e.g. one that uses all complete pairs
of observations ?
Thanks in advance,
[EMAIL PROTECTED] wrote on 14/10/2003 09:20:34:
I'm learning R from scratch on my linux box, being deeply biased at
work by those graphical programs, nice to look but often poor in
content and almost generally limited, running under M$ Windows.
I wonder if someone out there can suggest
On Thu, 7 Aug 2003 14:41:51 +0100
Marcos Llobera [EMAIL PROTECTED] wrote:
I just installed R's RPM on a Linux box using red hat 8.0. I would
like to use some graphical interface (e.g. gnome) but I have not
managed to do it.
type R at the prompt in a gnome terminal and
you can use R.
so I have to type every single R session:
options(browser='dillo')
Is there anyway I can change this globally?
If you put the line
options(browser='dillo')
in the .Rprofile of your home directory, it
will fire up dillo the next time.
HTH,
Tobias
Dear list,
If I have this toy function:
toy - function(b=.95){
toyframe - data.frame(lion.95 = c(1, 2))
return(toyframe)
}
How can I obtain that for any value b,
the name of the column becomes lionb,
i.e. lion.95 if b = .95, lion.85 if b = .85 etc.
knowing that .95 (.85 etc.) may also be
Sir Hotz,
Sir Bengtsson,
Sir Ripley and
Sir Dalgaard,
Thank you __very__ much for
your help.
Tobias
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
I think the datasets you're talking
about can be downloaded at
http://wwwmaths.anu.edu.au/~johnm/r/dsets/
put these in your working directory
and type (in R), e.g.
source(dolphins.R)
You can see you have the data now
by typing:
dolphins
wt heart logweight logheart species
1 35 245
Are there enough geochemists using R already that he'd find
like-minded people to discuss technical issues with if he _did_
switch to R? Is there a package somewhere already that does ternary
and other geochemistry diagrams?
Another possibility for a ternary plot
was mentioned by Prof Ripley
[read text file :]
#data1
1 2 3 4
5 6 7 8
Is this what you mean ?
b - read.table(filewithyourdata, header=F, sep= )
b
V1 V2 V3 V4
1 1 2 3 4
2 5 6 7 8
HTH,
Tobias
__
[EMAIL PROTECTED] mailing list
Sorry Michael,
I should read more carefully.
You asked to create the file,
not to read it.
Tobias
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
Sir Dalgaard,
Thank you for your kind reply.
In what way am I ill-treating R ?
You're ill-treating the readers by not
giving a full example of a
call to the function...
ax.to.nax.for(qx, ax)
However: in the for loop, i will be one of
0,1,5,10 and n is the vector c(1,4,5,5)
so
Dear list,
How can one from within a function act
on these variables (outside a function)
that were given as arguments.
If I have e.g. this beginning of a function:
foo - function(tiro){
app.tiro - 3 * tiro
[...]
}
How can I from within the curly brackets
e.g. concatenate the app.tiro to
the
Thanks to all of you for your answers,
The situation I was dangerously trying
to cope with was an incomplete life table,
with incomplete ages and incomplete survivors.
This is the table I want to complete using
a Gompertz function to estimate mortality
at high ages:
agelx
1 75 53803
2 80
Favete linguis...
Thanks,
Tobias
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
composed with itself n-1 times.
n is a natural number, and the argument x is
the abscissa of the point I would like to
`follow'.
Can someone give me a boost?
I appreciate your help,
Tobias Verbeke
__
[EMAIL PROTECTED] mailing list
https
composed with itself n-1 times.
n is a natural number, and the argument x is
the abscissa of the point I would like to
`follow'.
Can someone give me a boost?
I appreciate your help,
Tobias Verbeke
__
[EMAIL PROTECTED] mailing list
https
Dear Thomas,
What about the following function?
iterate-function(f,n,x){
if(n==0) return(x)
y-x
for(i in 1:n)y-f(y)
y
}
iterate(sqrt,3,256)
Thank you very much, this certainly helps.
I'm still curious, though, to know how to
write the expression of my function
immediately as
Thanks to you all for the
clarifications.
I will work on my spacebar usage ;-)
Regards,
Tobias
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
83 matches
Mail list logo