search for: chisqdf

Displaying 4 results from an estimated 4 matches for "chisqdf".

2010 Jul 22
1
How do I get rid of list elements where the value is NULL before applying rbind?
...st(df$elapsed_time,"exp") year = df$sale_year[1] sample = df$sale_week[1] mid = df$m_id[1] estimate = res$estimate sd = res$sd samplesize = res$n loglik = res$loglik aic = res$aic bic = res$bic chisq = res$chisq chisqpvalue = res$chisqpvalue chisqdf = res$chisqdf if (!is.null(estimate) && !is.null(sd) && !is.null(loglik) && !is.null(aic) && !is.null(bic) && !is.null(chisq) && !is.null(chisqpvalue) && !is.null(chisqdf)) { rv = data.frame(mid,year,sample,samplesize,estimat...
2010 Jul 16
1
I need help making a data.fame comprised of selected columns of an original data frame.
...i] ndf$sd[i] = m_id_default_res$sd[i] ndf$n[i] = m_id_default_res[i] ndf$loglik[i] = m_id_default_res$loglik[i] ndf$aic[i] = m_id_default_res$aic[i] ndf$bic[i] = m_id_default_res$bic[i] ndf$chisq[i] = m_id_default_res$chisq[i] ndf$chisqpvalue[i] = m_id_default_res$chisqpvalue[i] ndf$chisqdf[i] = m_id_default_res$chisqdf[i] } ndf And I get the following error: Error in `$<-.data.frame`(`*tmp*`, "n", value = list(0.114752782316094)) : replacement has 1 rows, data has 0 I need to either get rid of the columns in m_id_default_res that I don't need, or I need to copy o...
2006 Mar 13
1
Formatting an anova table using latex
....lmerI), file = 'raw1.tex', rownamesTexCmd = c('baR', 'addit', 'multip'), longtable = F, dcolumn = T, booktabs = T, t able.env = F, colheads = NULL, colnamesTexCmd = c ('', 'df', 'aic', 'bic', 'logl', 'chisq', 'chisqdf', 'prchisq')) I get: % latex.default(anova(raw1.lmer0, raw1.lmer, raw1.lmerI), file = "raw1.tex", rownamesTexCmd = c("baR", "addit", "multip"), longtable = F, dcolumn = T, booktabs = T, table.env = F, rowheads = NULL, colhea...
2010 Jul 16
1
Troubles with DBI's dbWriteTable in RMySQL
...=========================================") m_id_default_res print("==========================================") ndf <- m_id_default_res[, c('mid', 'estimate', 'sd', 'loglik', 'aic','bic', 'chisq', 'chisqpvalue', 'chisqdf')] ndf The data in NDF is perfect, exactly what I expected when I print the contents as shown in the last statement above. On the asumption tha tthat is a data frame, I tried dbWriteTable(con,"test1",ndf); But I received the following error: Error in function (classes, fdef, mtab...