Re: [R] a book recommendation, please [O/T]

2016-11-08 Thread Simon Blomberg
BSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Simon Blomberg, BSc (Hons), PhD, MAppStat, AStat. Senior Lecturer and Consultant Stati

Re: [R] APE

2015-03-09 Thread Simon Blomberg
e https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Simon Blomberg, BSc (Hons), PhD, MAppStat, AStat. Senior Lecturer and Consultant Statistician School

Re: [R] Building R for better performance

2014-09-01 Thread Simon Blomberg
ilman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Simon Blomberg, BSc (Hons), PhD, MAppStat, AStat. Senior Lecturer and Consultant Statistician School of Biological Science

Re: [R] Population growthrate with Euler-Lotka

2014-06-30 Thread Simon Blomberg
There may be something wrong with your data: in all but one case you have lx=1 and mx=0. Uniroot may be having difficulty because of this. Simon. Sent from my iPhone > On 30 Jun 2014, at 9:09 pm, "Simon Blomberg" wrote: > > Hmm. Try setting extendInt="yes" in th

Re: [R] Population growthrate with Euler-Lotka

2014-06-30 Thread Simon Blomberg
$root Error: object 'res' not found Any idea on this "Error in uniroot(f = eulerlotka, interval = r.range, tol = 1e-08) : f() values at end points not of opposite sign"-matter? Kind regards, Mark Gesendet: Montag, 30. Juni 2014 um 12:41 Uhr Von: "Simon Blomberg&quo

Re: [R] Population growthrate with Euler-Lotka

2014-06-30 Thread Simon Blomberg
Your script is failing at the first hurdle because you data are not being imported properly. You should include header=TRUE. sep=";" In the call to read.table. Cheers. Simon. Sent from my iPhone Sent from my iPhone > On 30 Jun 2014, at 7:10 pm, "Mark Christjani" wrote: > > > Hi everybod

Re: [R] Lamperti trnasformation simulation.

2014-05-18 Thread Simon Blomberg
]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. See package sde, and Stefano Iacus' excellent book. Simon. --

Re: [R] BIOENV

2013-05-05 Thread Simon Blomberg
(PRIMER) is conducted. The user guide does not make it clear. Best Wishes, -- Simon Blomberg, BSc (Hons), PhD, MAppStat, AStat. Lecturer and Consultant Statistician School of Biological Sciences The University of Queensland St. Lucia Queensland 4072 Australia T: +61 7 3365 2506 email

Re: [R] Conditional Statistics

2013-01-07 Thread Simon Blomberg
list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Simon Blomberg, BSc (Hons), PhD, MAppStat, AStat. Lecturer and Consultant Statistician School of Biologica

Re: [R] how to generate response variables using simple regression

2012-08-26 Thread Simon Blomberg
__ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Simon Blomberg, BSc (Hons), PhD,

Re: [R] Can not find lme

2012-08-07 Thread Simon Blomberg
‘lme4’ The following object(s) are masked from ‘package:stats’:   AIC, BIC starting httpd help server ... done> model1<-lme(LME~WD, random=~1|Species, ML)Error: could not find function "lme" [[alternative HTML version deleted]] -- Simon Blomberg, BSc (Hons), PhD, MAppStat, AS

Re: [R] Graph showing fitted values obtained by binomial GLM

2012-07-05 Thread Simon Blomberg
R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Simon Blomberg, BSc (Hons), PhD, MAppStat, AStat. Lecturer and Consultant Sta

Re: [R] Mixed Models providing a correlation structure.

2012-07-05 Thread Simon Blomberg
-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Simon Blomberg, BSc (Hons), PhD, MAppStat, AStat. Lecturer and Consultant Statistician School of Biological Sciences The University of Queen

Re: [R] Mixed Models providing a correlation structure.

2012-07-05 Thread Simon Blomberg
p@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Simon Blomberg, BSc (Hons), PhD, MAppStat, AStat. Lecturer and Consultant Stat

Re: [R] Can R do zero inflated gamma regression?

2011-06-05 Thread Simon Blomberg
/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer and Consultant Statistician School of Biological Sciences The University of Queensland St. Lucia Queensland 4072 Australia T: +61 7 3365 2506 email

Re: [R] Value of 'pi'

2011-05-30 Thread Simon Blomberg
HTML version deleted]] >> >> __ >> R-help@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide >> http://www.R-project.org/posting-guide.html >> and provide commented, m

Re: [R] rtree() distances between tips as n by n matrix?

2011-03-28 Thread Simon Blomberg
R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Simon Blomberg, BSc (Hons), PhD, MAppStat, AStat Lecturer and Co

Re: [R] attr question

2011-03-06 Thread Simon Blomberg
Try t.test(buzz$var1, conf.level=.98)$conf.int[1:2] Cheers, Simon. From: r-help-boun...@r-project.org [r-help-boun...@r-project.org] On Behalf Of Erin Hodgess [erinm.hodg...@gmail.com] Sent: Monday, March 07, 2011 3:11 PM To: R help Subject: [R] attr q

Re: [R] summary in functions

2011-02-16 Thread Simon Blomberg
-effect of calling the function. (This behaviour irks me as it is not good functional programming style, although ?str says that it does not return a value for "efficiency reasons"). Cheers, Simon. -- Simon Blomberg, BSc (Hons), PhD, MAppStat, AStat Lecturer and Consultant Statistic

Re: [R] R on ESS

2010-09-17 Thread Simon Blomberg
Try emacs 23 Cheers, Simon. Simon Blomberg, BSc (Hons), PhD, MAppStat, AStat Lecturer and Consultant Statistician School of Biological Sciences The University of Queensland St. Lucia Queensland 4072 Australia T: +61 7 3365 2506 email: S.Blomberg1_at_uq.edu.au http://www.uq.edu.au/~uqsblomb

Re: [R] specifying column names in a vector of characters and the use?

2010-07-18 Thread Simon Blomberg
hold[1] [1] "X1" table.1$hold[1] # FROM HERE DOWN ARE MY ATTEMPTS TO ACCESS X1 NULL table.1$(hold[1]) Error: unexpected '(' in "table.1$(" table.1$get(hold[1]) Error: attempt to apply non-function table.1$(get(h

Re: [R] Logistic regression with multiple imputation

2010-06-29 Thread Simon Blomberg
producible code. -- Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer and Consultant Statistician School of Biological Sciences The University of Queensland St. Lucia Queensland 4072 Australia T: +61 7 3365 2506 email: S.Blomberg1_at_uq.edu.au http://www.uq.edu.au/~uqsblomb/ Policies: 1. I will N

Re: [R] subset a string

2010-03-04 Thread Simon Blomberg
> > I just want the first 3 characters. > > Cheers! > Nick > > > -- Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer and Consultant Statistician School of Biological Sciences The University of Queensland St. Lucia Queensland 4072 Australia Room 320 Goddard Buil

Re: [R] removing the rows with negative elements

2010-01-05 Thread Simon Blomberg
version deleted]] > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained,

Re: [R] PDF Corrupted?

2009-10-27 Thread Simon Blomberg
ect.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer and Consultant Sta

Re: [R] power?

2009-10-06 Thread Simon Blomberg
I > have enough power to believe the above p-value? > > > > -- Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer and Consultant Statistician School of Biological Sciences The University of Queensland St. Lucia Queensland 4072 Australia Room 320 Goddard Building (8) T

Re: [R] SAS-like method of recoding variables?

2009-06-23 Thread Simon Blomberg
I'm not sure we should measure superiority by how well a statement parses into English. If this were true, we would all be programming in COBOL. Simon. Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer and Consultant Statistician School of Biological Sciences The University of Queen

Re: [R] a question on matrix manipulation

2009-06-16 Thread Simon Blomberg
ide commented, minimal, self-contained, reproducible code. -- Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer and Consultant Statistician School of Biological Sciences The University of Queensland St. Lucia Queensland 4072 Australia Room 320 Goddard Building (8) T: +61 7 3365 2506 http:

Re: [R] Re order variables in a dataframe

2009-05-20 Thread Simon Blomberg
'group' with variables earlier in the datset. So I was wondering if > you could somehow ask R, for example, to take that last variable and insert > it at a different position in the dataframe. > > Thanks, > > Paul > > Simon Blomberg-4 wrote: > > > >

Re: [R] Re order variables in a dataframe

2009-05-20 Thread Simon Blomberg
old but this is time-consuming. > > Thanks, > > Paul -- Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer and Consultant Statistician School of Biological Sciences The University of Queensland St. Lucia Queensland 4072 Australia Room 320 Goddard Building (8) T: +61 7 3365 2506 http://

Re: [R] Count data with several numbers separated by commas

2009-04-15 Thread Simon Blomberg
9 > 2 6 > 3 2 > 4 4 > 5 8 > > > x2 > 1 5 > 2 5 > > x3 > 1 4 > 2 6 > > > Thank you for any help. > > Xiyanlon > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/li

Re: [R] Is there any difference between <- and =

2009-03-12 Thread Simon Blomberg
SA) > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible

Re: [R] MANOVA

2009-03-11 Thread Simon Blomberg
org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer and Consultant Statist

Re: [R] Converting a dataframe to a matrix

2009-03-10 Thread Simon Blomberg
epresented > by NA, in others, it may mean that no row exists for sally for that color. > > Thank you! > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-pr

Re: [R] Problem with capabilities() in R2-8.1

2009-03-09 Thread Simon Blomberg
uot;) > > Error in capabilities("iconv") : > > 1 argument passed to .Internal(capabilities) which requires 0 > > > > I made sure that I hadn't by accident aliased either "source" or > > "capabilities" by doing > > find("

Re: [R] problem with concatinating string while taking as a path of a file

2009-03-09 Thread Simon Blomberg
e out of this problem. > > > thanks in advance. > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://

Re: [R] predict.glm predicted prob above 1?

2009-03-08 Thread Simon Blomberg
_ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Simon Blomberg,

Re: [R] Using GLMM() in lme4

2009-01-27 Thread Simon Blomberg
read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer and Consultant Statistician School of Biological Sciences The University of Queensland St. Lucia Queen

Re: [R] fitting curve to data

2009-01-11 Thread Simon Blomberg
-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer and Consultan

Re: [R] Spitting a df Column Name

2009-01-11 Thread Simon Blomberg
gt; > How do I split these so i get > > names(datanamessplit) > [1] "run" "walk" "drive" > > Thanks for your help, > Jim -- Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer and Consultant Statistician Faculty of Biological and Chemical

Re: [R] Source code

2009-01-07 Thread Simon Blomberg
posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer and Consultant Statistician Faculty of Biological and Chemical Sciences The University of Queensland St. Lucia Queensland 4072 Australia Room 320

Re: [R] New York Times Article: Data Analysts Captivated by R's Power

2009-01-07 Thread Simon Blomberg
> "Some people familiar with R describe it as a supercharged version of > Microsoft's Excel spreadsheet software..." Maybe it's my dry Australian humour, but I think this should go into the fortunes package. Simon. -- Simon Blomberg, BSc (Hons), PhD, MAppStat

Re: [R] Calculating SD according to groups of rows

2008-11-19 Thread Simon Blomberg
ate SD > > 7200 20 (for example) > 23955 18 (for example)* > > Thank you! > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the pos

Re: [R] The use of F for False and T for True

2008-11-17 Thread Simon Blomberg
:41 PM, Simon Blomberg <[EMAIL PROTECTED]> wrote: > > It is better programming practice to use FALSE for false and TRUE for > > true, and not F and T. This is because it is quite legal to do this: > > > > T <- FALSE > > F <- TRUE > > It may be better

Re: [R] The use of F for False and T for True

2008-11-16 Thread Simon Blomberg
2 8 4 1 7 6 # quoting the F is fine. > > > If it is OK to replace TRUE with T, why can't I replace FALSE with F? > > > I have a similar problem if I write data <= read.table(file.choose(), > header = F) > > I'm using a Windows machine with version

Re: [R] metaprogramming with lm

2008-11-12 Thread Simon Blomberg
__ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Simon Blomberg, BSc (Hons), PhD, MAppStat.

Re: [R] metaprogramming with lm

2008-11-12 Thread Simon Blomberg
times have apparent patterns or not) > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented

Re: [R] chi square table

2008-11-06 Thread Simon Blomberg
__ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Simon Blomberg, BSc (Hons), PhD, MApp

Re: [R] Convert text into a variable name

2008-11-05 Thread Simon Blomberg
provide commented, minimal, self-contained, reproducible code. -- Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer and Consultant Statistician Faculty of Biological and Chemical Sciences The University of Queensland St. Lucia Queensland 4072 Australia Room 320 Goddard Buildin

Re: [R] Proper way to write data frame with column and row names

2008-10-30 Thread Simon Blomberg
de http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer and Consultant Statistician Faculty of Biological and Chemical Sciences The University of Queensland St. Lucia Queensla

Re: [R] License Question

2008-10-28 Thread Simon Blomberg
for my own work. And its a Windows program. So I won't be using R-PLUS. Simon. Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer and Consultant Statistician Faculty of Biological and Chemical Sciences The University of Queensland St. Lucia Queensland 4072 Australia T: +61 7 3

Re: [R] Specifying random effects distribution in glmer()

2008-08-24 Thread Simon Blomberg
t; > > ______ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible

Re: [R] rgl/compiz problem

2008-08-13 Thread Simon Blomberg
t;sometime in 2009" is the closest I could get to finding > an expected date when this would be available ... > > Ben Bolker > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do rea

Re: [R] rgl/compiz problem

2008-08-13 Thread Simon Blomberg
eat -> R -> eat -> R -> eat -> sleep.) I can rotate and zoom using the touchpad, when both rgl and compiz are running. Not sure if any of this is of help, Simon. Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer and Consulta->nt Statistician Faculty of Biological and C

Re: [R] about the 95%CI around the median...

2008-08-04 Thread Simon Blomberg
ting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer and Consultant Statistician Faculty of Biological and Chemical Sciences The University of Queensland St. Lucia Queensland

Re: [R] Extract Element of String with R's Regex

2008-07-31 Thread Simon Blomberg
_ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Simon Blomberg, BSc (Hons), P

Re: [R] modeling binary response variables

2008-07-14 Thread Simon Blomberg
n J. Emerson > > Bradshaw - Holzapfel Lab > > 1210 University of Oregon > > Eugene, OR, 97403 > > email: [EMAIL PROTECTED] > > web: http://evodevo.uoregon.edu/people/emerson.html > > > > __ > > R-help@r-project.o

Re: [R] modeling binary response variables

2008-07-14 Thread Simon Blomberg
zapfel Lab > > 1210 University of Oregon > > Eugene, OR, 97403 > > email: [EMAIL PROTECTED] > > web: http://evodevo.uoregon.edu/people/emerson.html > > > > __ > > R-help@r-project.org mailing list > > http

Re: [R] Programming Concepts and Philosophy

2008-06-20 Thread Simon Blomberg
R for prototyping code can provide valueable insights. Cheers, Simon. Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer and Consultant Statistician Faculty of Biological and Chemical Sciences The University of Queensland St. Lucia Queensland 4072 Australia T: +61 7 3365 2506

Re: [R] Programming Concepts and Philosophy

2008-06-19 Thread Simon Blomberg
er of variables > > near the beginning of a program rather than using "10" and "120" > throughout the script. > > This sort of stuff is not specifically R but can be a problem for > students with little programming background. > > I am happy to su

Re: [R] model simplification using Crawley as a guide

2008-06-11 Thread Simon Blomberg
> Seconded! :-) > :-) > > Regards, > > Marc > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide c

Re: [R] newbie nls question

2008-06-10 Thread Simon Blomberg
Montana State University > PO Box 173460 > Bozeman, MT 59717-3460 > > phone: (406) 994-6643 > fax: (406) 994-7479 > > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list > https://

Re: [R] how to automatically create objects with names from a string list?

2008-06-03 Thread Simon Blomberg
gt; PLEASE do read the posting guide > > http://www.R-project.org/posting-guide.html > > and provide commented, minimal, self-contained, > > reproducible code. > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mai

Re: [R] help understanding why #function(x, y) (if((x-y)>=0) {2^(x-y)} else{-(2^abs(x-y))})# doesn't work like I think it should

2008-06-03 Thread Simon Blomberg
nrow(xy)) { > diff<-xy$x[i]-xy$y[i] > folds2[i]<-if(diff>=0) {2^diff} else{-(2^abs(diff))} > } > xyz<-cbind(xy,folds2) > View(xyz) > # > > Thank you, > Alan > > P.S. why does ?function not work > > ______ > R-help@r

Re: [R] R help needed

2008-05-21 Thread Simon Blomberg
ead the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer and Consultant Statistician Faculty of Biological and Chemical Sciences The University of Queensland

Re: [R] algorithmic or automatic differentiation

2008-05-07 Thread Simon Blomberg
rom the Ryacas documentation: > Analytical derivatives of functions can be evaluated with the D() and > deriv() functions: > > > yacas("D(x) Sin(x)") > > expression(cos(x)) > -- Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer and Consultant Statistician Facu

Re: [R] categorical data analysis

2008-05-06 Thread Simon Blomberg
ined, reproducible code. > > > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal

Re: [R] Equivalent of Excel pivot tables in R

2008-04-26 Thread Simon Blomberg
See also the reshape package. Cheers, Simon. Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer and Consultant Statistician Faculty of Biological and Chemical Sciences The University of Queensland St. Lucia Queensland 4072 Australia T: +61 7 3365 2506 email: S.Blomberg1_at_uq.edu.au

Re: [R] vector in filename

2008-04-17 Thread Simon Blomberg
px", bg="#eaedd5") > plot(x,y) > dev.off() > x=x+1 > y=y+1 > } > > I am getting only one *.png file with the name of the first position in > myfiles and the content of the last graphic in the iteration. Please, &g

Re: [R] [R-sig-ME] Post hoc tests with lme

2008-04-16 Thread Simon Blomberg
Try glht in package multcomp. Simon. On Wed, 2008-04-16 at 12:00 -0400, Gang Chen wrote: > = 1), c(TypeT2 = 1))) : > Only defined for lm,glm objec -- Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer and Consultant Statistician Faculty of Biological and Chemical Sciences The Univ

Re: [R] "preferred" version of Linux for R?

2008-04-08 Thread Simon Blomberg
hoo spam]] > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, repro

Re: [R] How to pack my stuff into a package (library, collection)?

2008-04-06 Thread Simon Blomberg
_ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Simon Blomberg,

Re: [R] Finding a mean value of a variable holding a dummy variablefixed

2008-03-30 Thread Simon Blomberg
____ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > > ___

Re: [R] Compare parameter estimates of a nlsList object

2008-03-28 Thread Simon Blomberg
that I teach. Cheers, Simon. Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer and Consultant Statistician Faculty of Biological and Chemical Sciences The University of Queensland St. Lucia Queensland 4072 Australia T: +61 7 3365 2506 email: S.Blomberg1_at_uq.edu.au Policies: 1. I wi

Re: [R] create matrix

2008-03-20 Thread Simon Blomberg
5191986208 a0 3 -1.95825191986208 a0 4 -1.95825191986208 a1 5 0.872408144284977 b0 6 0.872408144284977 b1 7 -0.91508470125413 c0 8 -0.91508470125413 c0 9 -0.91508470125413 c0 10 -0.91508470125413 c0 11 -0.91508470125413 c

Re: [R] generalized linear mixed models with a beta distribution [Sec=Unclassified]

2008-03-16 Thread Simon Blomberg
te at http://www.antarctica.gov.au/ > ___ > > [[alternative HTML version deleted]] > > ______ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listin

Re: [R] Lme does not work without a random effect (UNCLASSIFIED)

2008-03-15 Thread Simon Blomberg
There's a trick with this: you need to make sure you are using anova.lme rather than anova.lm. So if in this example you do anova(fit0, fit) you will get an error. Simon. Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer and Consultant Statistician Faculty of Biological and Che

Re: [R] How to turn a string into a variable name ?

2008-03-13 Thread Simon Blomberg
; https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > > __ > R-help@r-project.org mailing list

Re: [R] glm: offset

2008-03-02 Thread Simon Blomberg
g any attachments, is for th...{{dropped:6}} > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, min

Re: [R] If else in R code

2008-02-07 Thread Simon Blomberg
# > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html

Re: [R] best text editor for Linux?

2008-02-03 Thread Simon Blomberg
like all others java programs it is extremly slow and resorce consumed. > Jarek > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org

Re: [R] difficulties computing a simple anova

2008-01-30 Thread Simon Blomberg
quot;, reject_point, ") = .95\n", sep = "") > > anova(lm(Zoloft ~ Valium + Naltrexone, data = spiderdata)) > aov(Zoloft ~ Valium + Naltrexone, data = spiderdata) > > [[alternative HTML version deleted]] > > __

Re: [R] In chisq.test(x) : Chi-squared approximation may be incorrect

2008-01-15 Thread Simon Blomberg
l della prossima generazione? Puoi averla con la nuova > <http://us.rd.yahoo.com/mail/it/taglines/hotmail/nowyoucan/nextgen/*http:/it.docs.yahoo.com/nowyoucan.html> > Yahoo! Mail > > > [[alternative HTML version deleted]] > > __

Re: [R] Subsetting data frame problem....

2008-01-01 Thread Simon Blomberg
_ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Simon Blomberg, BSc (H

Re: [R] COMPAR.GEE error with logistic model

2008-01-01 Thread Simon Blomberg
t; > I have set all of the categorical data as factors and designated the family > as "binomial". I don't know what else to do and the error message is not > clear to me. If anyone can interpret this error message and/or knows how to > run a compar.gee with a mixed set

Re: [R] Dual Core vs Quad Core

2007-12-17 Thread Simon Blomberg
___ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Simon Blombe

Re: [R] Packages for Animal Models & QG analyses

2007-11-27 Thread Simon Blomberg
ew. I think kinship (which uses lme) and > perhaps regress packages. For data amenable to an ANOVA/hierarchical > setup then lme4 as well (which does GLMMs nicely). Have you tried Wombat > (non-R)? > > David Duffy. > -- Simon Blomberg, BSc (Hons), PhD, MAppStat. Lectur

Re: [R] Install repeated library

2007-11-25 Thread Simon Blomberg
> R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Simon Blomberg, BSc (Hons), PhD,

Re: [R] help on drawing a tree with "ape"?

2007-11-12 Thread Simon Blomberg
ttp://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer and Consultant Statistician Faculty of Biological and Chemical Sciences The University of Queensland St. Luci

Re: [R] R as a programming language

2007-11-07 Thread Simon Blomberg
ave only a > > limited > > exposure to standard CS concepts and algorithms, to say nothing of > > "real" > > programming experience. So just my $.02. > > > > Best regards, > > > > Bert Gunter > > Genentech Nonclinical Statistics >

Re: [R] Elasticity in Leslie Matrix

2007-10-26 Thread Simon Blomberg
1] 0.06671376 $f2 [1] 0.2346064 $s0 [1] 0.3013201 $s [1] 0.2346064 $v [1] 0.4640735 $sigma [1] 0.3013201 Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer and Consultant Statistician Faculty of Biological and Chemical Sciences The University of Queensland St. Lucia Queensland 4072 Aust

Re: [R] Elasticity in Leslie Matrix

2007-10-22 Thread Simon Blomberg
tialdiff,~lambda),paste(partialdiff,~a[ij])) %.% over(paste(partialdiff, ~a[ij]), paste(partialdiff, ~s[0])), ij)), cex=2) Be aware that these elasticities will in general not sum to unity, and cannot be interpreted as "contributions" to lambda. See Caswell (2001), page 232. Cheers, Simo

Re: [R] survreg's algorithm

2007-10-15 Thread Simon Blomberg
ne know which algorithm survreg() uses for this? > > > > Thanks, > > Gad > > > > Due diligence: > > I have actually looked at ?survreg and friends, and at the source code; > except for a brief mention of a "sparse Newton-Rapshon algorithm" in the

Re: [R] Rooting trees using ape

2007-10-10 Thread Simon Blomberg
ailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer and Consultant Statistician

Re: [R] Who uses R?

2007-09-25 Thread Simon Blomberg
The information in this E-Mail and in any attachments is CON...{{dropped}} > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.ht