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

2016-11-08 Thread Simon Blomberg
ing list -- To UNSUBSCRIBE 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 an

Re: [R] APE

2015-03-09 Thread Simon Blomberg
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 Sciences The University of Queensland St. Lucia Queensland

Re: [R] Building R for better performance

2014-09-01 Thread Simon Blomberg
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 Sciences The University of Queensland St. Lucia Queensland

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 m_christj...@gmx.de wrote:

Re: [R] Population growthrate with Euler-Lotka

2014-06-30 Thread Simon Blomberg
points not of opposite sign-matter? Kind regards, Mark Gesendet: Montag, 30. Juni 2014 um 12:41 Uhr Von: Simon Blomberg s.blombe...@uq.edu.aumailto:s.blombe...@uq.edu.au An: Mark Christjani m_christj...@gmx.demailto:m_christj...@gmx.de Cc: r-help@r-project.orgmailto:r-help@r-project.org r-help

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 s.blombe...@uq.edu.au wrote: Hmm. Try setting extendInt=yes in the call

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. -- 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
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 Queensland St. Lucia Queensland

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-08 Thread Simon Blomberg
deleted]] -- 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/ Policies: 1. I

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

2012-07-05 Thread Simon Blomberg
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 Statistician School

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

2012-07-05 Thread Simon Blomberg
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 Queensland St. Lucia

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

2012-07-05 Thread Simon Blomberg
/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 Biological Sciences The University

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
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 School of Biological

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

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

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 Statistician School

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
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(hold[1])) Error: unexpected '(' in table.1$( -- Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer

Re: [R] Logistic regression with multiple imputation

2010-06-29 Thread Simon Blomberg
. -- 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

Re: [R] subset a string

2010-03-04 Thread Simon Blomberg
! 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 Building (8) T: +61 7 3365 2506 http://www.uq.edu.au/~uqsblomb email

Re: [R] removing the rows with negative elements

2010-01-05 Thread Simon Blomberg
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 Statistician School

Re: [R] PDF Corrupted?

2009-10-27 Thread Simon Blomberg
, 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://www.uq.edu.au/~uqsblomb email

Re: [R] power?

2009-10-07 Thread Simon Blomberg
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: +61 7 3365 2506 http://www.uq.edu.au/~uqsblomb email

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 Queensland

Re: [R] a question on matrix manipulation

2009-06-17 Thread Simon Blomberg
! Lei __ 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] Re order variables in a dataframe

2009-05-20 Thread Simon Blomberg
question for most R users, but is there an easy way to reorder the variables (columns) in a dataframe (I can't seem to find an answer anywhere). I've generally been creating a new dataframe and selecting the new order I want from the old but this is time-consuming. Thanks, Paul -- Simon

Re: [R] Re order variables in a dataframe

2009-05-20 Thread Simon Blomberg
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: Alphabetically, like this?: dat - data.frame(d=rnorm(3), c=rnorm(3), b=rnorm(3), a=rnorm(3)) dat

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

2009-04-16 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. Lecturer and Consultant

Re: [R] MANOVA

2009-03-12 Thread Simon Blomberg
-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 Room 320 Goddard Building (8) T: +61 7 3365

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

2009-03-12 Thread Simon Blomberg
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 Queensland 4072

Re: [R] Converting a dataframe to a matrix

2009-03-11 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. Lecturer and Consultant

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

2009-03-10 Thread Simon Blomberg
. Thanks. That's only a partial test. searchpaths() will show where you loaded capabiliites() from. -- 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

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

2009-03-09 Thread Simon Blomberg
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] problem with concatinating string while taking as a path of a file

2009-03-09 Thread Simon Blomberg
/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 School of Biological Sciences The University

Re: [R] Using GLMM() in lme4

2009-01-27 Thread Simon Blomberg
, 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://www.uq.edu.au/~uqsblomb

Re: [R] Spitting a df Column Name

2009-01-11 Thread Simon Blomberg
Thanks for your help, Jim -- 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 Building (8) T: +61 7 3365 2506 http://www.uq.edu.au/~uqsblomb

Re: [R] fitting curve to data

2009-01-11 Thread Simon Blomberg
, 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 Building (8) T: +61 7 3365 2506 http://www.uq.edu.au/~uqsblomb email

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. Lecturer and Consultant Statistician

Re: [R] Source code

2009-01-07 Thread Simon Blomberg
-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 Building (8) T: +61 7 3365 2506 http://www.uq.edu.au

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

2008-11-19 Thread Simon Blomberg
://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 Faculty of Biological

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

2008-11-17 Thread Simon Blomberg
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 programming practice, but is it better interactive data analysis

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

2008-11-16 Thread Simon Blomberg
a Windows machine with version 2.8.0, but I'm sure that this is not a machine specific problem. Thanks, Dave Howell -- Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer and Consultant Statistician Faculty of Biological and Chemical Sciences The University of Queensland St. Lucia

Re: [R] metaprogramming with lm

2008-11-12 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. -- Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer and Consultant Statistician Faculty of Biological

Re: [R] metaprogramming with lm

2008-11-12 Thread Simon Blomberg
. -- 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 Building (8) T: +61 7 3365 2506 http://www.uq.edu.au/~uqsblomb email

Re: [R] chi square table

2008-11-06 Thread Simon Blomberg
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 St. Lucia

Re: [R] Convert text into a variable name

2008-11-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

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

2008-10-30 Thread Simon Blomberg
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 Building (8) T: +61 7 3365 2506 http://www.uq.edu.au/~uqsblomb email

Re: [R] License Question

2008-10-28 Thread Simon Blomberg
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 3365 2506 email

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

2008-08-24 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

Re: [R] rgl/compiz problem

2008-08-13 Thread Simon Blomberg
- 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 Chemical Sciences The University

Re: [R] rgl/compiz problem

2008-08-13 Thread Simon Blomberg
... Ben Bolker __ 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

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

2008-08-04 Thread Simon Blomberg
. -- 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 Building (8) T: +61 7 3365 2506 http://www.uq.edu.au/~uqsblomb email

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

2008-08-01 Thread Simon Blomberg
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 Goddard Building (8) T: +61 7 3365

Re: [R] modeling binary response variables

2008-07-14 Thread Simon Blomberg
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

Re: [R] modeling binary response variables

2008-07-14 Thread Simon Blomberg
-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 Goddard

Re: [R] Programming Concepts and Philosophy

2008-06-20 Thread Simon Blomberg
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 email

Re: [R] Programming Concepts and Philosophy

2008-06-19 Thread Simon Blomberg
. This sort of stuff is not specifically R but can be a problem for students with little programming background. I am happy to summarise responses. Murray Jorgensen -- Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer and Consultant Statistician Faculty of Biological and Chemical

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

2008-06-11 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] how to automatically create objects with names from a string list?

2008-06-04 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 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
/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 Faculty of Biological and Chemical Sciences

Re: [R] R help needed

2008-05-21 Thread Simon Blomberg
, Kamlesh Kumar __ 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

Re: [R] algorithmic or automatic differentiation

2008-05-07 Thread Simon Blomberg
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 Faculty of Biological and Chemical Sciences The University of Queensland St. Lucia Queensland 4072 Australia Room 320

Re: [R] categorical data analysis

2008-05-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] 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] [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 University

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

2008-04-08 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 Consultant Statistician

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

2008-04-07 Thread Simon Blomberg
-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 Building (8) T: +61 7 3365 2506 http://www.uq.edu.au

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

2008-03-28 Thread Simon Blomberg
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

Re: [R] create matrix

2008-03-20 Thread Simon Blomberg
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 c1 HTH, Simon. Simon

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

2008-03-17 Thread Simon Blomberg
-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 4072 Australia Room 320

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 Chemical

Re: [R] glm: offset

2008-03-02 Thread Simon Blomberg
/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 Faculty of Biological and Chemical Sciences

Re: [R] difficulties computing a simple anova

2008-01-30 Thread Simon Blomberg
. -- 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 Building (8) T: +61 7 3365 2506 http://www.uq.edu.au/~uqsblomb email

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

2008-01-15 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 Faculty of Biological and Chemical Sciences The University of Queensland St

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

2008-01-01 Thread Simon Blomberg
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 of categorical and continuous variable, I would be greatly appreciative for your advice. Thank you, Charlie -- Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer

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

Re: [R] Packages for Animal Models QG analyses

2007-11-27 Thread Simon Blomberg
GLMMs nicely). Have you tried Wombat (non-R)? David Duffy. -- 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 Building (8) T: +61 7

Re: [R] Install repeated library

2007-11-25 Thread Simon Blomberg
://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 Faculty of Biological and Chemical

Re: [R] Elasticity in Leslie Matrix

2007-10-26 Thread Simon Blomberg
] 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 Australia T: +61 7 3365 2506 email: S.Blomberg1_at_uq.edu.au Policies: 1. I

Re: [R] survreg's algorithm

2007-10-15 Thread Simon Blomberg
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 frailty model code, I couldn't find anything substantive. -- Simon Blomberg, BSc (Hons), PhD

Re: [R] Rooting trees using ape

2007-10-10 Thread Simon Blomberg
, 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 Building (8) T: +61 7 3365 2506 email: S.Blomberg1_at_uq.edu.au

Re: [R] Who uses R?

2007-09-25 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 Goddard