search for: mtabl

Displaying 20 results from an estimated 91 matches for "mtabl".

Did you mean: mtab
2011 Aug 04
1
How to get the test statistic corresponding to the p-value in mtable?
Dear R-Users, I want to use mtable from package "memisc" to produce Latex-style estimation output. However, mtable() only gives me a p-value and not the corresponding test-statistic. Does anyone know how to extract it, either from a glm/anova object or mtable? Here is a short example: # Run this #################### inst...
2011 Jan 06
2
memisc-Tables with robost standard errors
Hello, I've got a question concerning the usage of robust standard errors in regression using lm() and exporting the summaries to LaTeX using the memisc-packages function mtable(): Is there any possibility to use robust errors which are obtained by vcovHC() when generating the LateX-output by mtable()? I tried to manipulate the lm-object by appending the "new" covariance matrix but mtable seems to generate the summary itself since it is not possible to call...
2011 Feb 02
1
Significant codes in mtable
Hi all, Does anyone know a way to change the significant stars in mtable (package memisc)? The default is Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1, however I need it to be Signif. codes: 0 '***' 0.01 '**' 0.05 '*' 0.1 ' ' 1 Kind regards, Erich [[alternative HTML version...
2014 Nov 25
0
problem with setGroupGeneric from package methods
....doLoadActions(where, attach) invisible(NULL) ## as some people call this at the end of functions } ############### # add objects to the generic function's environment that allow # table-based dispatch of methods .setupMethodsTables <- function(generic, initialize = !exists(".MTable", envir = env, inherits = FALSE)) { env <- environment(generic) if(initialize || !exists(".SigLength", envir = env, inherits = FALSE)) { nsig <- 1 ## check that groups of generics agree on .SigLength; otherwise ## labels won't match...
2008 Mar 20
2
Error in function (classes, fdef, mtable): unable to find an inherited method for function "indexProbes", for signature "exprSet", "character"
...ExpressionSet instead 3: The phenoData class is deprecated, use AnnotatedDataFrame (with ExpressionSet) instead > RInormalizedData<-normalize.AffyBatch.invariantset(eSet,prd.td=c(0.003, > 0.007),baseline.type="mean",type="together") Error in function (classes, fdef, mtable) : unable to find an inherited method for function "pmindex", for signature "exprSet" I have observed that this same error message has been posted and answered in a different context in this forum. Even though I am not using the S4 class and method concepts here, I am get...
2011 Dec 12
1
Package/command for creating a table of panel models ?
Hello Everyone (Quick) question: Does anyone know a package/command or simply a way of creating a table of different panel data estimations (estimated using /*plm()*/ ) just as *mtable()* does for models estimated with /*lm()*/? It seems *mtable* (and *apsrtable* equally) only support /*lm*/ and some other classes but unfortunately not /*plm*/. I am pretty sure others must have encountered this problem and I am hoping they found a way around it. If so: I am gratful for any ad...
2012 Sep 05
0
model.table (anova)
...4798361 4799728 4812691 4815885 2.817 2.828 2.809 2.755 2.881 3.046 3.225 3.060 3.173 3.421 4822868 4824470 4827467 4833932 4835419 4839683 3.330 3.385 3.417 3.460 3.535 3.647 . . . str(mod) List of 2 $ tables:List of 6 ..$ Grand mean: num 2.18 ..$ Invierno : mtable [1:52(1d)] 2.16 2.16 2.16 2.16 2.17 ... .. ..- attr(*, "dimnames")=List of 1 .. .. ..$ Invierno: chr [1:52] "3.642384106" "5.849889625" "7.726269316" "8.830022075" ... ..$ X : mtable [1:56(1d)] 2.37 2.36 2.35 2.35 2.39 ... .. ..- at...
2015 Jul 07
3
List S3 methods and defining packages
Hi, from the man page ?methods, I expected to be able to build pairs (class,package) for a given S3 method, e.g., print, using attr(methods(print), 'info'). However all the methods, except the ones defined in base or S4 methods, get the 'from' value "registered S3method for print", instead of the actual package name (see below for the first rows). Is this normal
2007 Apr 15
0
as() creates invalid entries in methods list?
Hi, We've observed rather strange behavior related to as(). When as() is used to make a conversion to a super class, an invalid entry is inserted into the table of methods. > setClass("A", contains="list") > get(".MTable", environment(coerce))[["list#A"]] NULL > as(list(), "A") > get(".MTable", environment(coerce))[["list#A"]] function (from, to) { obj <- new("A") as(obj, "list") <- from obj } &...
2012 Jun 14
1
readHTMLTable function - unable to find an inherited method ~ for signature "NULL"
Hi R experts, I have been playing with library(XML) recently and found out that readHTMLTable workls flawlessly for some website, but it does give me an error like below ... Error in function (classes, fdef, mtable) : unable to find an inherited method for function "readHTMLTable", for signature "NULL" let's say..for example, this code works fine a <-"http://www.zam.com/forum.html?forum=21&p=2" table_a <- readHTMLTable(a, header = TRUE, which = 1, stringsAsFact...
2011 Apr 03
1
style question
...d)~1,data=berkeley,family="binomial") berk1 <- glm(cbind(Admitted,Rejected)~Gender,data=berkeley,family="binomial") berk2 <- glm(cbind(Admitted,Rejected)~Gender+Dept,data=berkeley,family="binomial") setCoefTemplate(est.se=c(est = "($est:#)($se:#)")) mtable(berk0,berk1,berk2, + coef.style="est.se", + summary.stats=c("Deviance","AIC","N")) Error in dim(ans) <- newdims : dims [product 1] do not match the length of object [2] Thank you in advance. -- Sebasti?n Daza sebastian.daza at gmail....
2009 Mar 10
5
Cholesky Decomposition in R
...Cholesky(A) doesnt work,any one know other command to decomposte A in to LDL' My r code is: library(Matrix) A=matrix(c(1,1,1,1,5,5,1,5,14),nrow=3) > chol(A) [,1] [,2] [,3] [1,] 1 1 1 [2,] 0 2 2 [3,] 0 0 3 > Cholesky(A) Error in function (classes, fdef, mtable) : unable to find an inherited method for function "Cholesky", for signature "matrix" whatz wrong??? thanks~ [[alternative HTML version deleted]]
2009 Mar 03
2
latex output of regressions with standardized regression coefficients and t-statistics based on Huber-White
...essions are normal OLS and I'm trying to output the results with standardized regression coefficients and t-statistics based on "Huber-White sandwich estimator for variance". The final result should be one big table for several regressions with this data (and N, R^2). I found the mtable package, which does what I need for lm(...) regressions, lm.beta to output standardized coefficients and package "sandwich" to output the corrected t-statistics (using "coeftest(x, vcov = vcovHAC(x))"). What I couldn't figure out how to put that all together, so that I...
2011 Oct 10
1
pmml for random forest & rules
...se lines of code data("Adult") ## Mine association rules. rules <- apriori(Adult, parameter = list(supp = 0.5, conf = 0.9, target = "rules")) pmml(rules) I get this error: > pmml(rules) Error in function (classes, fdef, mtable) : unable to find an inherited method for function "size", for signature "itemMatrix" With this traceback: > traceback() 5: stop("unable to find an inherited method for function \"", fdef at generic, "\", for signature ", cnames) 4:...
2009 Jul 14
1
Error when sampling from SpatialLines
..., however when I am trying to sample from the file I get the following message:   nwlim<-readShapeLines("C:/Limburg_nwshape", proj4string=CRS("+init=epsg:31300")) plot(nwlim)   randacc<-spsample(nwlim,n=1000,"random") Error in function (classes, fdef, mtable)  :   unable to find an inherited method for function "coordinates", for signature "numeric"     I found a similar error message in the archives, where prof. dr. Bivand indicated to try to use readOGR instead of readShapeLines, however, I get the same error message.  ...
2009 Sep 22
3
problem using KLdiv - flexmix
I am receiving the following error while executing KLdiv method: kl<-KLdiv(y) Error in function (classes, fdef, mtable) : unable to find an inherited method for function "KLdiv", for signature "data.frame" the code is as follows: require(flexmix) KLdiv(y) the object y (snippet, actual object contains 188 entries) is as follows: s1p5 s2p5 1 0.6 0.8 2 0.8 0.2 3 0.6 0.8 4...
2009 Jul 17
1
package to do inverse probability weighting in longitudinal data
Hi there, I have a dataset from a longitudinal study with a lot of drop-out. I want to implement the inverse probability weighting method by Robins 1995 JASA paper "Analysis of semiparametric regression models for repeated outcomes in the presence of missing data". Does anyone know if there is a package to do it in R (or other software)? Thanks a lot! Lei
2007 Mar 21
2
RMySQL *was* working...
...and some other folks I was able to get RMySQL 0.5-7 compiled against R 2.4.1 and MySQL 5.0.27. It was working fine--I was able to send select queries to the db, put the results in a data frame, and so forth. Today, dbDriver() threw an error: > dbDriver(MySQL) Error in function (classes, fdef, mtable) : unable to find an inherited method for function "dbDriver", for signature "function" There have been no system changes that should concern MySQL, R, or the installed package RMySQL (that is, nothing outside of unrelated software such as firefox auto-updating). An...
2006 Nov 28
2
Problem with pairs() in nlme
...uot;form" not found Any guesses as to what I may have done wrong? vfr is not a grouped object because: vfrg <- groupedData(estimate ~ slant | subject, data = vfr) vfrg.lmL <- lmList( estimate ~ (slant + respType + visField + hand)^2 | subject, vfrg) Error in function (classes, fdef, mtable) : unable to find an inherited method for function "lmList", for signature "formula", "nfnGroupedData" The data are at http://www.people.virginia.edu/~mk9y/LongFormat.csv To get the working data.frame: vf <- read.table("http://www.people.virginia.edu/~mk...
2015 Jul 07
0
List S3 methods and defining packages
...belongs is defined, and the namespace in which the method is defined. I think the former is what you're interested in, but the latter likely what methods() might be modified return. For your use case, maybe something like .S3methodsInNamespace <- function(envir, pattern) { mtable <- get(".__S3MethodsTable__.", envir = asNamespace(envir)) methods <- ls(mtable, pattern = pattern) env <- vapply(methods, function(x) { environmentName(environment(get(x, mtable))) }, character(1)) setNames(names(env), unname(env...