Displaying 20 results from an estimated 6000 matches similar to: "there is no "xls" reader in R?"
2004 Nov 04
3
Finding out the number of times a loop has run
Hi,
Suppose I have:
for(i in 1:100000)
rnorm(100000)
(just a fake example, as my actual example is too long)
Is it possible to get the loop to print out i each time it has run?
Something like:
for(i in 1:100000) {
print(i)
rnorm(100000)
}
will only print i after the loop is completed. But if I want to print out
i whenever it re-enters the loop, is it possible (so I know how
2004 Oct 12
4
A question in R
I started to learn the R language, but I didn't suceed to use an external file.
Let say that I have an excel file called "test1.xls" in the directory
"C:/program files/R/rw2000/external_files" that looks like that:
name mark
yair 80
yosi 70 ...
In the appropriate directory I wrote this:
x<-read.delim("test1.xls")
or this:
2004 Oct 28
1
gsub() on Matrix
Hi,
Suppose I've got a matrix, and the first few elements look like
"x1 + x3 + x4 + x5 + x1:x3 + x1:x4"
"x1 + x2 + x3 + x5 + x1:x2 + x1:x5"
"x1 + x3 + x4 + x5 + x1:x3 + x1:x5"
and so on (have got terms from x1 ~ x14).
If I want to replace all the x1 with i7, all x2 with i14, all x3 with i13,
for example. Is there an easy way?
I tried to put what I want
2005 Sep 05
12
TeX distribution on Windows
I'm looking for a Windows distribution of TeX that works with R, after a
few years' absence from Windows. On Duncan Murdoch's Rtools page fptex is
still recommended, but it turns out that fptex is "defunct" as of May 2005,
see
http://www.metz.supelec.fr/~popineau/xemtex-7.html
So, what is suggested? TUG (tug.org) recommends something called proTeXt,
which is said to be
2004 Oct 25
2
library gregmisc
I write to ask you an help about the package gregmisc.
I saw the instructions, and I need some functionalities of this package,
but I am unable ti download it.
On friday I was able to download thte .zip, but R does not install this
package, today there is no possibility to download it.
What I have to do?
Thanks
Anna Maria Paganoni
Anna
2004 Aug 21
1
error bars
Dear all,
is there an easy way to create error bars for the following types of plots:
a) barplots
b) interaction plots
Many other statistics packages (e.g. Statistica) offer very nice
interaction plots with error bars, and I??d like to be able to do the
same in R.
Best regards
Christoph
2004 Sep 08
1
download of 1.9.1
Hi there,
I downloaded version 1.9.1 WinZip file, 9.367 bytes ( so I can update my R
and use the vcd package) but cannot get the download from your Web site to
unzip and install. So silly!
The error message is :" Error reading header after processing 0
entries." I tried downloading from 3 different URLs, all yielding the same
message when I try to unzip and install the file.
2004 Sep 23
3
multinomial logistic regression
Hi, how can I do multinomial logistic regression in R?
I think glm() can only handle binary response
variable, and polr() can only handle ordinal response
variable. how to do logistic regression with
multinomial response variable?
Thanks
__________________________________
2004 Oct 03
3
Excluding data in R
I was hoping someone could help me!
How do you exclude outliers from a set of data?
Thanks,
Laura
[[alternative HTML version deleted]]
2004 Dec 27
1
classification using logistic regression
Dear Colleagues,
I would like to do classification using logistic regression. Which R package can I use?
Also is there any package for feature selection for logistic regression based method?
Thanks a lot in advance.
Happy holidays.
Regards,
Raj
[[alternative HTML version deleted]]
2005 Aug 02
1
R: regression data set
hi all
i am busy teaching a regression analysis course to second year science
students. the course is fairly theoretical with all of the standard
theorems and proofs...
i would like to give the class a practical assignment as well. could you
suggest a good problem and the location of the data set/s?
it would be good if the data set has been analysed by a number of other
people so that students
2005 Sep 29
2
Binary Logit Regression with R
Hi to all,
I am a PH.D Student doing statistical analysis.
I am totally new to R. I previously use Stata and am changing into R. I
ususally do with logit regression with binary dependent variable (war
occurence:1 or 0).
I just want to know command to do that. More sepcifically,
Let say, my Y is war occurence (occur=1, otherwise 0). And my independent
variables (Xs) are trade, democracy,
2005 Oct 22
2
simple question
Its just a simple question I guess:
I have a vector with missing information like
x<-c(0,1,31,131,NA,133,NA,310,NA,112,3,1,2,93)
How can I make a vector like this no missing in it. I used the x[x<0]
commabd and tried some more, with no success.
thx
Korbinian
2004 Jul 21
3
Can R work on very large of data?
Hello..
I am pretty new for R, but if I understand it correctly, when R read data by
doing something like "d <- read.table("/dev/stdin")", it read entire data
first then start processing..
Is there anyway I can tweak R around so that it will start processing as
data comes and not load everthing on memory at once? The reason for this is
because we have a case where
2004 Aug 16
3
adding sem to a plot
R-help,
I have a barplot and I wish to add standard erros (or deviations) bars to it.
How?
Thank you
Luis Ridao Cruz
Fiskiranns??knarstovan
N??at??n 1
P.O. Box 3051
FR-110 T??rshavn
Faroe Islands
Phone: +298 353900
Phone(direct): +298 353912
Mobile: +298 580800
Fax: +298 353901
E-mail: luisr at frs.fo
Web: www.frs.fo
2004 Aug 16
3
plot.table on R 1.9.1
Hello!
What is wrong on my system?
I have downloaded today R 1.9.1 on my PC with Windows.
plot.table isn't available in package <base> and neither in package <graphics> (as suggested after ?plot.table).
Kind regards
Meinhard Ploner
[[alternative HTML version deleted]]
2005 Jun 30
2
Finding out collinearity in regression
Hi, I am trying to find out a collinearity in
explanatory variables with alias().
I creat a dataframe:
dat <- ds[,sapply(ds,nlevels)>=2]
dat$Y <- Response
Explanatory variables are factor and response is
continuous random variable. When I run a regression, I
have the following error:
fit <- aov( Y ~ . , data = dat)
Error in "contrasts<-"(`*tmp*`, value =
2004 Sep 30
3
Retrieving objects from functions...
I've written a program that involves a loop that creates a matrix. I'd
like to be able to manipulate that matrix on my R desktop, but after I
run the function, that matrix does not appear when I type ls(). How can
I make that matrix become an object that I can manipulate?
Thanks!
2005 Mar 10
4
Gregmisc
Dear all,
I use R 2.0.1 on Windows XP professional. When I want to load the
'Gregmisc' library I get the following error message:
Error in library(pkg, character.only = TRUE) : 'gregmisc' is not a
valid package -- installed < 2.0.0?
Can anybody tell me what's wrong with this package?
Cheers, Christian
2004 Sep 16
1
Newbie q. need some help understanding this code.
dear all.
Would someone be kind and willing to explain the code
below for a person who has never used R? ( that is if
one has enough time and inclination)
It implements gillepsie's stochastic algorithm for
Lotka Volterra model.
What would help me tremendously is to see the
breakdown of the line by line code into plain english.
thanks for any insights or other comments.
sean