Displaying 4 results from an estimated 4 matches for "saveit".
Did you mean:
saveat
2015 Apr 23
3
model frames and update()
...xph routine, but is as easily illustrated with glm.
testdata <- data.frame(y= 1:5,
n= c(8,10,6,20,14),
sex = c(0,1,0,1,1),
age = c(30,20,35,25,40))
fit <- glm(cbind(y,n) ~ age + sex, binomial, data=testdata, model=TRUE)
saveit <- fit$model
update(fit, .~. - age, data=saveit)
Error in cbind(y, n) : object 'y' not found
One would hope that a saved model frame is precisely the thing that would work best. The
issue of course is that "cbind(y, n)" is the name of the first variable in saveit, and it
is...
2013 Feb 13
1
WriteXLS: 'object not found' error within function
...x, design)
fit <- eBayes(fit)
tables<-list()
for (i in 1:length(tableList))
{
table <- makeTable(oldMatrix, matrix, annot, fit, tableList[i])
print(paste(tableList[i], "=", sep=""))
print(table)
tables[[i]] <- table
}
#Saving bit (set to FALSE if not using)
saveIt <- TRUE
if(saveIt)
{
fileName <- paste0("~",paste(colnames(design)[2:length(colnames(design))], collapse = "+"),".xls")
print(paste("sheetnames=",length(tableList),
print(class(tables))
flush.console()
WriteXLS("tables", ExcelFileNa...
2009 Apr 28
1
[macosx] improving quartz & Aqua Tk behaviour outside of RGui
Hello,
On Mac OS X, certain Aqua/Quartz UI functionality requires an
application to be launched from within an app bundle, or
(alternatively) requires a Carbon application with a resource fork.
Playing with the wxWidgets distribution, I discovered that it is quite
easy and transparent to make such a Carbon app from (I guess) any
command line application. When applied to the R executable called
2009 Apr 28
1
[macosx] improving quartz & Aqua Tk behaviour outside of RGui
Hello,
On Mac OS X, certain Aqua/Quartz UI functionality requires an
application to be launched from within an app bundle, or
(alternatively) requires a Carbon application with a resource fork.
Playing with the wxWidgets distribution, I discovered that it is quite
easy and transparent to make such a Carbon app from (I guess) any
command line application. When applied to the R executable called