[R] Error with update.packages()

2008-09-04 Thread Brant Inman
t(fmt, domain = domain), ...) : argument is missing, with no default The first part of the procedure seemed to work, then came page after page of error messages. Can someone tell me what is going on here and how I can fix the problem? I found a similar report

Re: [R] [R-SIG-Mac] Error with update.packages()

2008-09-04 Thread Brant Inman
ant - On Sep 4, 2008, at 2:59 PM, Prof Brian Ripley wrote: Try another mirror: this is not the first time we've seen problems at www.ibiblio.org. On Thu, 4 Sep 2008, Brant Inman wrote: R-helpers: I just updated from R 7.0 to R 7.2.2 today. I am using MAC OS X version

[R] 'matrix' returns integer instead of decimal

2008-01-20 Thread Brant Inman
he problems in rows 15, 21, 37 and 43. They should read [0.5, 45.5], [14.5, 21.5], etc... The matrix function seems to be rounding the second column up to the next integer. Why would this occur? Can I do something to prevent this? I would very much appreciate any comments. Thanks, Bran

Re: [R] 'matrix' returns integer instead of decimal

2008-01-20 Thread Brant Inman
*As usual, the R-helpers were bang on. Some package must have modified my digits option without me noticing.* ** *--* ** *> test <- matrix(c(7,47,4,38,20,96,1,14,10,48,2,101,12,161, + 1,28,1,19,22,49,25,162,31,200,9,39,22,193, + 0.5,45.5,31,131,4,75,31,220,7,55,3,91,14.5, + 25.5,3,

[R] Converting a character string into an object variable

2008-01-31 Thread Brant Inman
quot;, i, sep="") <- input.value[i] } Of course this loop will not work since the paste function returns a character string that cannot be a variable. How can I construct a loop to create sequential variables and assign a value to them in the same spirit of the loop above? Brant Inman Mayo Cli

[R] Likelihood ratio test for competing risks regression

2008-02-03 Thread Brant Inman
as a predictor in the fake model in fit1 (stage being represented by the 3 dummy variables stage2, stage3 and stage4), would the LR test calculated in the last line of code be valid? Given the pseudolikelihood used in the crr fit, I am not sure if this is a valid statistical test. Thanks for any c

[R] Duplicating meta-regression results from PROC MIXED with lmer

2009-05-05 Thread Brant Inman
pointed out my error with models f3 and f4 and why they do not seem to be correct. Incidentally, other sources (ex: Egger/Altman book on systematic reviews) report results on this dataset similar to Van Houwelingen, so I think that my code is definitely the problem. Thanks, Brant Inm

Re: [R] [R-sig-ME] Duplicating meta-regression results from PROC MIXED with lmer

2009-05-06 Thread Brant Inman
rstand why. Brant On May 5, 2009, at 11:43 PM, Rolf Turner wrote: On 6/05/2009, at 3:00 PM, Brant Inman wrote: R-experts: In 2002, Hans Van Houwelingen et al. published a tutorial on how to do meta-regression in Statistics in Medicine. They used the classic BCG dataset of Colditz to d