Displaying 20 results from an estimated 3000 matches similar to: "Lattice Histogram Scaling"
2017 Aug 14
1
Lattice Histogram Scaling
I am trying to do some comparisons of density estimators using lattice.
The code below attempts to plot the same histogram in each panel and
then overplots a kernel estimate with different bandwidths. Finding
packet.number() was a bit arduous, but seems to do what I want. My
concern now is that close examination of the 4 histograms reveals that
they are different even though they use the same
2015 Aug 30
2
Packages required but not available:
I?m trying to get my empirical Bayes package, REBayes, back in compliance with CRAN.
However, I?m not sure what to do about the following from R CMD check ?as-cran on
the current R-devel:
Strong dependencies not in mainstream repositories:
pogs
* checking package namespace information ... OK
* checking package dependencies ... ERROR
Packages required but not available: 'Rmosek'
2015 Mar 25
2
vignette checking woes
Thierry,
I have this:
if (require(MatrixModels) && require(Matrix)) {
X <- model.Matrix(Terms, m, contrasts, sparse = TRUE)
in my function rqss() I've tried variants of requireNamespace too without success.
If I understand properly model.Matrix is from MatrixModels but it calls
sparse.model.matrix which is part of Matrix, and it is the latter function that I'm
not
2013 Jan 30
3
Mac v Windows Mystery
Dear All,
I'm trying to track down a problem with my quantreg package reported by a user doing censored quantile regression.
When he runs the test4.R file attached below (which reads the csv file also attached) on his windows machine he gets
an error like this:
> Error in dimnames(B) <- list(c("tau", dimnames(x)[[2]], "Qhat"), NULL) :
> length of
2010 Feb 19
1
lty dots pdf issue
I'm trying to redo an old plot with:
> sessionInfo()
R version 2.11.0 Under development (unstable) (2010-02-09 r51113)
x86_64-apple-darwin9.8.0
When I do:
pdf("lty.pdf",height = 6, width = 8)
u <- 1:100/100
y <- matrix(rep(1:10,each = 100),100)
matplot(u,y,lwd = 2,type ="l")
dev.off()
the line types that have dots are difficult to distinguish because the
2006 Mar 14
1
Fwd: makeconf issue on R-devel 2006-03-12 r37524
I sent the message below to r-sig-mac yesterday, but having no reply
I decided to explore a bit myself and found that editing:
/Library/Frameworks/R.framework/Versions/2.3/Resources/share/make/
shlib.mk
yzzy: diff shlib.mk shlib.mk~
3c3
< include $(R_HOME)/etc/Makeconf
---
> include $(R_HOME)/etc${R_ARCH}/Makeconf
restored the functionality of R CMD INSTALL.
Is this a known issue?
2015 Mar 25
2
vignette checking woes
I'm having trouble with R CMD check of my quantreg package. All is well
until I get to:
checking running R code from vignettes ...
?rq.Rnw? ... failed
ERROR
Errors in running code in vignettes:
when running code in ?rq.Rnw?
when I see a snippet from the vignette code and then:
Loading required namespace: MatrixModels
When sourcing ?rq.R?:
Error: could not find function
2014 Jul 11
1
Namespaces and S4 Generics
I've installed R-devel
R Under development (unstable) (2014-07-09 r66111)
Platform: x86_64-apple-darwin13.1.0 (64-bit)
and am trying to resolve some problems that I am seeing with my
SparseM package. In prior versions I explicitly had:
setGeneric("image", function(x, ...) standardGeneric("image"))
and then used setMethod to define a method for the class matrix.csr
but
2007 Jan 02
6
package dependency tree
Is there a painless way to find the names of all packages on CRAN
that "Depend" on a specified package?
url: www.econ.uiuc.edu/~roger Roger Koenker
email rkoenker at uiuc.edu Department of Economics
vox: 217-333-4558 University of Illinois
fax: 217-244-6678 Champaign, IL 61820
2007 Feb 22
1
tournaments to dendrograms
Does anyone have (good) experience converting tables of tournament
results into dendrogram-like graphics? Tables, for example, like this:
read.table(url("http://www.econ.uiuc.edu/~roger/research/ncaa/NCAA.d"))
Any pointers appreciated. RK
url: www.econ.uiuc.edu/~roger Roger Koenker
email rkoenker at uiuc.edu Department of Economics
vox: 217-333-4558
2013 Feb 20
1
GC encountered a node (…) with an unknown SEXP type
Dear All,
I'm trying to track down a very erratic bug in some fortran; I have an example that
quite consistently segfaults on windoz, and more sporadically on mac, all in the
course of doing some bootstrap calculations, varying the set.seed call, but I'm now
trying to see what is going on on our redhat system:
R version 2.15.1 (2012-06-22) -- "Roasted Marshmallows"
2007 Nov 14
2
convex optimization package for R, specifically semidefinite programming
Recently, a package for convex optimization was announced for Python,
based upon the LP solver GLPK, the SDP solver
in DSDP5, and the LP and QP solvers in MOSEK. I'm aware GLPK is
available for R, but wondered if anyone had good
packages for convex optimization along these lines for R.
TIA.
2003 Sep 14
1
macosx install problem
I'm trying to install the current R-devel on a G4 powerbook. I'm using
./configure --enable-R-shlib --with-blas='-framework vecLib' --with-lapack
with
rudjer: gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
Thread model: posix
Apple Computer, Inc. GCC version 1175, based on gcc version 3.1 20020420 (prerelease)
rudjer: g77 -v
Reading specs from
2009 Oct 30
1
quoted strings in foo.Rd rendered as â
Another anomaly from our rhel5 system, again sessionInfo() below.
When I'm logged in remotely via ssh from my macpro and view
documentation
files in my X11 window, strings in single quotes in the files are all
abbreviated as ? . The same files appear fine when rendered in X11
using the local R, and also appear fine in a terminal window on the
linux machine, so this could easily also be
2006 Jan 02
2
update?
I'm having problems with environments and update() that
I expect have a simple explanation. To illustrate, suppose
I wanted to make a very primitive Tukey one-degree-of-
freedom for nonadditivity test and naively wrote:
nonadd <- function(formula){
f <- lm(formula)
v <- f$fitted.values^2
g <- update(f, . ~ . + v)
anova(f,g)
}
x <-
2006 Oct 27
1
scanning a pdf scan
I have a pdf scan of several pages of data from a quite famous old
paper by
C.S. Pierce (1873). I would like (what else?) to convert it into an
R dataframe.
Somewhat to my surprise the pdf seems to already be in a character
recognized
form, since I can search for numerical strings and they are nicely
found. Of
course, as is usual with such tables there are also headings and
column
2008 Jun 05
1
negative indexing with null index sets
Negative indexing is often handy, but I'm in need of an appropriate
idiom
for handling cases in which the index set can be null:
x <- rnorm(5)
a <- 1:5
s <- rep(FALSE,5)
y <- x[-a[s]]
# I'd like y == x but instead one has x[-a[s]] == x[a[s]] ==
numeric(0), which is rather
# unfortunate -- so far the best I have come up with is:
as <- ifelse(length(a[s]),-a[s],TRUE)
2009 Jul 23
2
Constructing lists (yet, again)
This is an attempt to rescue an old R-help question that apparently
received
no response from the oblivion of collective silence, and besides I'm
also
curious about the answer
> From: Griffith Feeney (gfeeney at hawaii.edu)
> Date: Fri 28 Jan 2000 - 07:48:45 EST wrote (to R-help)
> Constructing lists with
>
> list(name1=name1, name2=name2, ...)
>
> is tedious when
2016 Aug 28
2
CRAN packages maintained by you
Hi Kurt,
I have started to look into this, and I need some guidance about how to
prioritize my repairs. There are basically 4 categories of warnings from
gfortran?s pedantic critique of my packages:
1. Some errant tab characters it doesn?t like,
2. Too many or too few continue statements
3. Horrible (and obsolescent) arithmetic and computed gotos
4. undeclared doubles and dubious
2007 Oct 12
3
no visible binding
Could someone advise me about how to react to the message:
* checking R code for possible problems ... NOTE
slm: no visible binding for global variable 'response'
from R CMD check SparseM with
* using R version 2.6.0 Under development (unstable) (2007-09-03 r42749)
The offending code looks like this:
"slm" <-
function (formula, data, weights, na.action, method =