Displaying 20 results from an estimated 100 matches similar to: "using contrasts on matrix regressions (using gmodels, perhaps)"
2000 Jan 10
5
bug in glm (PR#397)
Dear R-team
As I didn't get any answer to my bug-report last week I have taken the
effort and extracted a minimal data set from my data (see below) where the
following bug occurs:
> glm(SKR.ein.aus ~ ., family = binomial, data = bugdata, na.action = na.omit)
Error in names<-.default(*tmp*, value = ynames) : names attribute must be the same length as the vector
In addition: Warning
2010 Dec 08
1
Formatting 'names.arg' in barplot
Hello,
I've been looking through ?phantom and ?expression and this forum for
examples of how I might be able to manipulate some of the names that appear
on the y-axis of the barplot below. For example, the "gw" in "ECgw" would
appear as a subscript...or "qr" would be the theta symbol followed by
subscript "r". My attempts haven't even come close
2008 Aug 02
3
Bubble plots
Is there a way to create a 'bubble plot' in R?
For example, if we define the following data frame containing the level of y observed for 5 patients at three time points:
time<-c(rep('time 1',5),rep('time 2',5),rep('time 3',5))
2008 Oct 28
1
Source code for ppr (Projection Pursuit Regression)
Dear R users,
I am looking for the source code of the implementation of ppr (Projection
Pursuit Regression) in R.
It will be great if citations of the source papers on which the
implementation is based, are also provided.
Thank you,
Arvind Iyer,
Grad student, Deptt. of Biomedical Engineering
Viterbi School of Engineering
University of Southern California, Los Angeles
[[alternative HTML
2002 Feb 27
1
Bug in glm.fit? (PR#1331)
G'day all,
I had a look at the GLM code of R (1.4.1) and I believe that there are
problems with the function "glm.fit" that may bite in rare
circumstances. Note, I have no data set with which I ran into
trouble. This report is solely based on having a look at the code.
Below I append a listing of the glm.fit function as produced by my
system. I have added line numbers so that I
2006 Jul 03
1
xlab, ylab in balloonplot(tab)?
I'm not understanding something.
I'm trying to add xlab & ylab to a balloon plot of a table object. From docs
I thought following should work:
require(gplots)
# From balloonplot example:
# Create an example using table
xnames <- sample( letters[1:3], 50, replace=2)
ynames <- sample( 1:5, 50, replace=2)
tab <- table(xnames, ynames)
balloonplot(tab)
2000 Sep 01
1
Help with Projection Pursuit, ppr().
Hi,
Recently, I installed the 1.1.0 version of R (for Windows), since it includes an implementation of Projection Pursuit (I failed to write my own version of PP as a standalone C++ program).
As far as I know, R offers two interfaces/sintax for the ppr() function. The first one requieres a regression formula and a data frame. The other requieres X, a matrix with the explanatory variables, and Y,
2011 Oct 26
2
Error in summary.mlm: formula not subsettable
When I fit a multivariate linear model, and the formula is defined
outside the call to lm(), the method summary.mlm() fails.
This works well:
> y <- matrix(rnorm(20),nrow=10)
> x <- matrix(rnorm(10))
> mod1 <- lm(y~x)
> summary(mod1)
...
But this does not:
> f <- y~x
> mod2 <- lm(f)
> summary(mod2)
Error en object$call$formula[[2L]] <- object$terms[[2L]]
1999 May 11
1
another multivariate ts bug
I think this is another one of the same kind of bugs in ts:
Version 0.64.1 (May 8, 1999)
...
> z <- ts(matrix(1:20,10,2), start=c(1969,1), frequency=12)
> (z > 5) | (z < 2)
Error: invalid time series parameters specified
>
Paul
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read
2004 Sep 14
3
reshaping some data
Hi all,
I have a data.frame with the following colnames pattern:
x1 y11 x2 y21 y22 y23 x3 y31 y32 ...
I.e. I have an x followed by a few y's. What I would like to do is turn
this wide format into a tall format with two columns: "x", "y". The
structure is that xi needs to be associated with yij (e.g. x1 should
next to y11 and y12, x2 should be next to y21, y22, and
2002 Apr 03
4
Text Labels on plots in R
Hi
Is it possible to plot values against strings, i.e. the x axis has people's
names and the
y axis as values, as shown below:
5 x
4 x x
3 x
2 x
1
0
Dave Tim Ian Steve Paul
Sorry if this is a little primitive, but I think it gets the point across.
regards
Danny
2009 Jan 30
1
Methods not loaded in R-Devel vs 2.8.1
Dear list-member,
I am currently developing a package with S4 classes. The NAMESPACE and DESCRIPTION is printed below. Within this package I have set a method "residuals" for two classes. In version 2.8.1 these two are reported whereas in R-Devel (2009-01-28 r47766). What have I missed? What has changed and how can I rectify the issue? Your help and pointers are welcome.
For 2.8.1:
2012 Feb 07
0
gmodels error: "no method for coercing this S4 class to a vector"
Dear All,
I'm having a problem using functions in the gmodels library on an object of class mer from the lmer package. Code for a reproducible example is below.
# Load lme4 library and sample data
library(lme4)
library(faraway)
library(gmodels)
data(penicillin)
# Fit a linear mixed effects model
fit4 <- lmer(yield ~ treat + (1|blend), penicillin)
# Extract confidence intervals
2006 Mar 16
1
Installation of gmodels package (PR#8686)
Full_Name: Thomas R Famula
Version: 2.2.1
OS: Linux - fedora core 4
Submission from: (NULL) (169.237.28.28)
Sorry to bother - I hope this is a simple fix.
Here is the set of error messages I recieved in trying to install the "gmodels"
package. I typed in "install.packages(c("gmodels"))" as the root and recieved
the following series of replies:
2006 May 02
1
Is there a bug in CrossTable (gmodels)
Library gmodels include a function CrossTable that is useful for
crosstabulation. In the help, it is indicated that one can call this
function as CrossTable(data), were data is a matrix. However, when I try
to use this option, it doesn't help. Any idea? Is there a bug?
Thanks for your help.
Prof. Albert Sorribas
Grup de Biomatem?tica i Bioestad?stica
Departament de Ci?ncies M?diques B?siques
2007 Mar 09
1
Is the gmodels package being maintained?
Dear r-helpers,
I sent a cc of a recent message about a problem with ci.lmer() in
the gmodels package to the author (Gregory R Warnes), and the message
bounced. If the author or someone else is maintaining this package or
this function, would you kindly supplement the author's name and/or
address with a current maintainer and/or provide a current email
address?
2007 Mar 09
1
Problem with ci.lmer() in package:gmodels
Dear Friends,
Please note that in the following CI lower > CI higher:
> require(lmer)
> require(gmodels)
> fm2 <- lmer(Reaction ~ Days + (1|Subject) + (0+Days|Subject),
sleepstudy)
> ci(fm2)
Estimate CI lower CI upper Std. Error p-value
(Intercept) 251.66693 266.06895 238.630280 7.056447 0
Days 10.52773 13.63372 7.389946 1.646900
2009 Oct 27
0
syntax for estimable(gmodels package) and glht(multcomp package)
Hello,
I have a question as to how the syntax for glht(package multcomp) and
estimable (gmodels) works, since I'm not getting everything from the
documents I've googled so far, especially with models with 2nd order
terms.
A modestly complex model:
2-way anova with one continuous covariate, no random effects(and no
repeated measures) to keep it modestly complex:
Y = treatmentgroup + sex
2009 May 31
1
Bug in gmodels CrossTable()?
Is the code below showing a bug in Crosstable()? My expectation was that
the values produced by xtabs were rounded instead of truncated:
library(gmodels)
abc <- c("a", "a", "b", "b", "c", "c")
def <- c("d", "e", "f", "f", "d", "e")
wgt <- c(0.8, 0.6, 0.4, 0.5, 1.4, 1.3)
2005 Dec 13
0
Updated version of gdata, gtools, gplots and gmodels
Hello,
We have submitted the updated version of gdata, gmodels, gplots and gtools to CRAN.
Summary of the changes is attached at the end.
Best,
Nitin
______________________
Nitin Jain, PhD
<nitin.jain at pfizer.com>
Non Clinical Statistics
Pfizer, Inc. (Groton, CT)
Bldg: 260, # 1451
Ph: (860) 686-2526 (Office)
Fax: (860) 686-6170
Brief description of changes:
CHANGES IN GDATA 2.1.2