Displaying 20 results from an estimated 1000 matches similar to: "R-beta: Teach material for R"
1998 Apr 03
1
R-beta: Bug in dhyper (and phyper) (fwd)
Last night I sent the bug report below to r-help. I have since then looked
at dhyper.c and found:
if (NR < 0 || NB < 0 || n <= 0 || n > N)
DOMAIN_ERROR;
I changed 'n <= 0' to 'n < 0' and then dhyper worked as I wanted. Am I
introducing some potentially dangerous behaviour by this change?
Goran
2000 May 17
1
crosstabs
Hi all!
What is the equivalent R function of SPLUS crosstabs?
Thank you.
Danar.
Stat. Inst. Umea Univ.
Umea, Sweden
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To:
2010 Aug 23
7
"easiest" way to write an R dataframe to excel?
I am using R 2.11.1 in a Microsoft Windows 7 environment.
I tried using WriteXLS, but get the message " In system(cmd) : perl not found"
What is the "easiest" way to write an R dataframe to Excel? (I am familiar with
WriteXLS, but I do not have PERL installed, and if not needed, do not wish to
install it.)
I am also familiar with write.table, but if possible, wish to
2001 Feb 28
1
re: Spatial stats: R vs. Splus
Hello,
Could someone tell me whether the spatial statistics module of
Splus is worth the rather high price, or whether one could (with
reasonable effort) carry out the same things using R and some of
its contributed packages.
Although we do have Splus (Windows and Unix), we definitely prefer
to use R whenever feasible (both for research and teaching).
Thanks for developing a superb
2019 May 23
1
Artwork localization
Hi Timothy,
On Thu, 2019-05-23 at 14:03 +1000, Timothy Lee wrote:
> I can provide zh-CN, zh-HK and zh-TW translations of the content.
That's awesome!
The files you need to edit are the following:
- Rolling notes of CentOS installer
https://git.centos.org/centos/Artwork/blob/c8/f/rnotes/PO/zh-CN.po
https://git.centos.org/centos/Artwork/blob/c8/f/rnotes/PO/zh-HK.po
2012 Oct 01
1
Retrieve hypergeometric results in large scale
I'm going to use
dhyper(x, m, n, k)
to get a 95% coverage. Let me use an example to explain my problem:
Suppose I have a urn containing 90 red and 10 black balls.
Now I wanna remove 3 from the urn. By the following codes:
m<-90;n<-10;k<-3;
x<-0:3
dhyper(x,m,n,k)
I can obtain the probability that 0,1,2,3 red balls will be removed.
0.000742115 0.025046382 0.247680891
1998 Mar 02
1
R-beta: Rnotes.tgz
My question is really to Robert and Ross (and also to Bill Venables
and Dave Smith) -- but I thought that there might be wider interest in
it.
The "Notes on R" in the file Rnotes.tgz is copyrighted to the above
authors -- can I make copies of it to distribute?
I suspect that the intention of the authors is that Rnotes be as
re-distributable as R itself. However there is no GNU license
2010 Aug 20
3
loading a package within R, in a MS Windows environment?
I am using R 2.11.1 in a Microsoft Windows environment. Is there a way to load a
package (e.g. the zoo package) using only "written code", not menus or mouse
clicks?
The "code" below code brings up the "Select One" [package] menu. I just want to
automatically load the "zoo package".
local({pkg <- select.list(sort(.packages(all.available =
2010 Jan 09
4
parsing pdf files
I have a pdf file that I would like to parse into R:
http://www.williams.edu/Registrar/geninfo/faculty.pdf
For now, I open the file in Acrobat by hand, then save it "as text"
and then use readLines(). That works fine but a) I am concerned that
some information may be lost and b) I may be doing this a lot, so I
would rather have R grab the information from the pdf file directly.
So: is
1998 Mar 12
2
R-beta: nonlinear fitting
Thanks very much Douglas for the pointer to nlm.
Maybe the "Notes on R" maintainer can add at least a mention of nlm in the
section on nonlinear fitting?
I never did nonlinear fitting in S-Plus before, so I have nothing to
unlearn, but I was hoping someone could show me how to do a least squares
fit with nlm.
example:
x<-c(1,2,3,4,5,6)
y<-.3*x^-.6 +.2
y<-y+rnorm(6,0,.01)
1998 Mar 12
2
R-beta: nonlinear fitting
Thanks very much Douglas for the pointer to nlm.
Maybe the "Notes on R" maintainer can add at least a mention of nlm in the
section on nonlinear fitting?
I never did nonlinear fitting in S-Plus before, so I have nothing to
unlearn, but I was hoping someone could show me how to do a least squares
fit with nlm.
example:
x<-c(1,2,3,4,5,6)
y<-.3*x^-.6 +.2
y<-y+rnorm(6,0,.01)
2017 Aug 06
3
SPSS R Factor v2.4.2
I am not an R-Head, hence I use nice utilities that integrate R into SPSS
I have SPSS v24, R3.20 and R3.40
I have run IBM SPSS R Integration which requires linking to R3.20
I have installed R Factor v2.4.2
This package requires 'polycor' library
Unfortunately, 'polycor' does not exist in R3.20
DATASET ACTIVATE DataSet1.
*M?rio Basto, Jos? Manuel Pereira, IPCA
*Required: SPSS 21
2007 Nov 15
3
Ancova doesn't return test statistics
Dear all,
I'm quite sure that this is a stupid question, but I'll ask anyway.
I want to perform an ANCOVA with two continuous factors and three
categorical factors.
Plant population growth rate (GR) = dependent variable
Seed reduction due to herbivory (SR) = continuous explanatory variable
Herbivore species (HS, 2 levels) = categorical explanatory variable
Population (Pop, 24 levels) =
2007 Apr 18
5
[Bridge] Any way of knowing a packet's been defragmented
Hello,
Due to a recent change in the bridge code, we now need a way of knowing if
a packet has been defragmented. The bridge code now checks on the packet
size and drops packets that are too big for the output port. Defragmented
packets will get refragmented later, so they shouldn't be dropped.
I've been reading the defragmentation code and can't find an easy way of
knowing if a
1998 Jun 03
1
R-beta: anova.glm is broken with offsets
I have *not* tracked this bug very far because I hope someone who is more
familiar with the glm/anova code will jump in.
If one fits a glm model with an offset, the NULL deviance is incorrectly
calculated (it is calculated without the offset). The means one can get
examples where the model deviance is greater than the NULL deviance.
Here is some example output, (without the data).
>
1998 Jun 03
1
R-beta: anova.glm is broken with offsets
I have *not* tracked this bug very far because I hope someone who is more
familiar with the glm/anova code will jump in.
If one fits a glm model with an offset, the NULL deviance is incorrectly
calculated (it is calculated without the offset). The means one can get
examples where the model deviance is greater than the NULL deviance.
Here is some example output, (without the data).
>
1998 Nov 29
2
[Johannes Huesing <tmi0m0@sp2.power.uni-essen.de>] Media coverage
Johannes Huesing sent a message to stat-lisp-news at stat.umn.edu
regarding an article in Linux-Magazin (German) on statistical software
for Linux. I enclose excerpts.
Can anyone summarize what was said about R in the article? If there
is a web site for the article I would appreciate learning of the URL.
I must admit, though, the my abilities in German are much less
impressive than the
2009 Oct 16
1
How odds ratio is computed in fisher.test()?
I'm wondering how odds ratio is computed. I thought that it is
(n11/n12)/(n21/n22), but it is not what fisher.test() computes. Could
somebody let me know?
> n11=3
> n12=1
> n21=1
> n22=3
>
> n1_=n11+n12
> n2_=n21+n22
>
> n_1=n11+n21
> n_2=n12+n22
>
> x=rbind(c(n11,n12),c(n21,n22))
>
> threshold=dhyper(n11,n1_,n2_,n_1)
>
2017 Aug 25
2
Are r2dtable and C_r2dtable behaving correctly?
It is not about "really arge total number of observations", but:
set.seed(4711);tabs <- r2dtable(1e6, c(2, 2), c(2, 2)); A11 <- vapply(tabs, function(x) x[1, 1], numeric(1));table(A11)
A11
0 1 2
166483 666853 166664
There are three possible matrices, and these come out in proportions 1:4:1, the one with all cells filled with ones being
most common.
Cheers, Jari
2010 Sep 12
4
using read.table, removing extra quotation mark from a text field? (e.g. ""cat" )
I am using read.table to import a text file within R.
There are several "errors" in my text file. An "extra" quotation mark has
inadvertently been included within a few text fields.
e.g. for a pipe (|) delimited text file, I have something similar to this:
1|7|30| "dog"
2|6|25| ""cat"
3|4|20|""
4|5| 56| "mouse"
5|3|56|