Displaying 20 results from an estimated 1000 matches similar to: "xfig boxplot (polygon) bug??"
2000 Nov 29
4
offset
I would like to do a logistic multiple regression on a binary variate,
with what Genstat calls an offset, ie a regression variable with the
coefficient constrained=1. I'm far from home and have Splus but not R
here, but any information from either source would be very welcome. I'd
hate to have to go back to using Genstat . . .
Thanks,
Ted.
---------------
Dr E.A. (Ted) Catchpole
2003 Feb 19
2
plotmath
There's something (probably a lot) missing in my understanding of
plotmath. The LaTeX code for what I'm trying to produce is
\log(-\log(\hat R))
My (probably hopeless) attempt at it uses nested group()s:
expression(plain(log) * group("(", -plain(log)*group("(", \hat(R), ")"),
")"))
Can anyone do it right for me, please?
Thanks,
Ted.
Dr E.A.
2001 Sep 18
1
textbook on experimental design?
I'll be teaching a graduate course on (the analysis of) experimental
designs next year, using R. Does anyone know of a suitable textbook?
(Venables and Ripley MASS Ch6 on Linear Models covers roughly the right
material, but at a level that is way too difficult for my students.)
Sorry if this has been asked before. I've looked through the archives and
found Julian Faraway's book, but
2002 Feb 28
3
R-plots with 'complex' axis-labelling
Hi there,
I want to create plots with some kind of 'complex' axis labelling of the form
$\dot{V}$ and integrate those plots into a LaTeX document. What is the best
way to go?
I've figured out, that the 'plotmath' commands are somewhat limited (at least
I wasn't able to get the $\dot{V}$ generated) and that plots with
'plotmath'-axes wouldn't export
2001 Sep 20
1
Re: text book on experimental design
Andy,
Thanks. Note that DeVeaux's book, at
www.williams.edu/Mathematics/rdeveaux/book/book.html, is marked "For use
only by students of Math 244 Spring 2001, Williams College" and "DRAFT: do
not distribute or copy".
Ted.
Dr E.A. Catchpole
School of Maths & Stats
University College, UNSW Institute of Maths & Stats
Australian Defence Force Academy
2000 Aug 30
3
family question
Dear friends. Please see the program below and answer if it does simulate a
population of 1.000.000 families, each with at max 20000 children (typical
in Denmark, you know), constructed such that each family stops having
children when more boys than girls are present ? Equal numbers of boys and
girls are got in the population, according to the simulation, is that obvious ?
ND <- NP <-
2007 Oct 31
2
R GUI for Linux
I have downloaded and tried to install JGR - Java GUI for R - Version 1.5.
I followed all the instructions (at least in my best resolution) and
installed Java latest version.
R installation complete fine.
Has anyone succeded in installing JGR on SuSE 10.3 ?
In the following I hade detailed the failed installation,
As root /i did the following:
linux-Mimin:/usr/local/bin # ./R
R version 2.6.0
2001 May 31
0
Problem with xfig()
Hi again!
Well, I just realised that I am running an *unstable* version of
R (if such exists) from early January, that I picked up for some weird
reason (the appearance of manova??).
In fact the starting message is
R : Copyright 2001, The R Development Core Team
Version 1.3.0 Under development (unstable) (2001-01-22)
I have been tried to reproduce the same example in R 1.2.3 for
Windows
2007 Feb 15
4
integrate over polygon
Hi there,
I want to integrate a function over an irregular polygon. Is there
any function which can implement this easily? Otherwise, I am
thinking of divide the polygon into very small rectangles and use
"adapt" to approximate it. Do you have any suggestions to get the
fine division? Any advice is appreciated.
Haiyong
2005 Aug 30
2
about "pnorm"
As to the function"pnorm",the default degree of freedom(df) is infinite.
I wanna know how to set the df as I want.
Help on pnorm doesn't have df setting.The only choice are:"mean, sd, lower.tail, log.p",but no df.
For instance:
sample size=6
df=6-1=5
t value=9.143
I wanna to the corresponding p value by using function "pnorm".
How can I do it?
Thanks a lot
2006 Aug 28
3
Firefox extension fo "R Site Search"
Dear useRs,
=================================================
Search for your R routines directly from Firefox!
>> http://addictedtor.free.fr/rsitesearch
=================================================
Mango Solutions, providers of R and S-Plus consulting, application
development and training, are happy to announce the first release of the
R Site Search extension for Mozilla Firefox.
2007 Apr 23
2
Problem with dgamma ?
Hi All,
Here 's what I got using dgamma function :
> nu<-.2
> nu*log(nu)-log(gamma(nu))+(nu-1)*log(1)-nu*(1)
[1] -2.045951
> dgamma(1,nu,nu,1)
[1] 0.0801333
> dgamma(1,nu,nu,0)
[1] NaN
Warning message:
NaNs produced in: dgamma(x, shape, scale, log)
Could anyone tell me what is wrong here ?
I am using R-2.4.1 on windows XP.
Thanks a lot.
2007 Apr 02
1
?Bug: '&&' and '&' give different results?
"&&" seems to behave strangely and gives different results from "&" e.g. in a data frame selection (regardless whether terms are bracketed)?
===========Script=======================
test=data.frame(gender=c("F","M","M","F","F"),side=c("R","L","R","L","R"))
test
2007 Oct 24
3
multiply for vector in R
Dear All,
Is there a conmand to calculate the multiplication of the elements in a vector? For example:
a=c(1,2,3,4)
I want to get 1*2*3*4=24.
Because the dimension of the vector is high, I want to know there is a command for this task in R?
Thank you so much!
Kang
__________________________________________________
[[alternative HTML version deleted]]
2007 Apr 23
1
Extracing "Interval of Time" in seconds in R
Dear List,
I want to let R calculate the time (run-time) it
requires to run a self-written simulation function. I
tried as follows: it
enables me to see the starting and finishing time
points.
#############################
"sim.result" <- function(nsim, ...){
Starting <- date()
... # calculations #
final.result <- ... # Output for display #
cat("# of Iterations used
2007 Jun 18
2
Calculating Percentile in R
Hi all,
I have a problem on how R calculates Percentiles :
Suppose I have following data set:
> data1
[1] -16648185 -14463457 -14449400 -13905309 -13443436 -13234755 -12956282 -11660896
[9] -10061040 -9805005 -9789583 -9754642 -9562164 -9391709 -9212182 -9151073
[17] -9092732 -9068214 -8978151 -8943912 -8761890 -8632106 -8541580 -8501249
[25] -8234466 -8219015
2005 Oct 11
3
Is this correct?
Dear userR,
With the following results, are they correct or acceptable?
> x <- c(1.4, 1.2, 2.8)
> sum(x)
[1] 5.4
> sum(x) == 5.4
[1] FALSE
> (1.4 + 1.2 + 2.8) - 5.4
[1] -8.881784e-16
> (1.4 + 1.2) - 2.6
[1] -4.440892e-16
> 2.6 - 1.5 - 1.1
[1] 0
> version
_
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 2
minor
2005 Oct 04
3
Problem reading in external data and assigning data.frames within R
Hey there,
I apologize if this is an irritatingly simple question ... I'm a
new user. I can't understand why R flips the sign of all data values
when reading in external text files (tab delimited or csv) with the
read.delim or read.csv functions. The signs of data values also seem
to be flipped after assigning a new data.frame from within R (xnew <--
edit(data.frame()). What am
2007 Jul 17
3
logical operators priority
Dear R-users,
I haven?t found rules for logical operators. I need to select data according
the following rule:
Condition A & (Condition B | Condition C) How should I write it?? Is
Condition A & Condition B | Condition C correct or will R execute (Condition
A & Condition B) | Condition C ?
Thanks for your help.
Delphine Fontaine
Delphine Fontaine
Statistician
Statistics
2005 Jan 14
1
glmm multinomial?
I'm looking for something like Brian Ripley's glmmPQL that will handle
multinomial data. Does anyone know of anything?
Thanks, Ted.
--
Dr E.A. Catchpole
Visiting Fellow
Univ of New South Wales at ADFA, Canberra, Australia
and University of Kent, Canterbury, England
- e.catchpole at adfa.edu.au
- www.ma.adfa.edu.au/~eac
- fax: +61 2 6268 8687
- ph: +61 2 6268 8895