Hello,
I am using linear discriminant analysis (lda) from the MASS library to classify
data in two classes.
1. How do I get the full LDA model? The function lda reports coefficients but
not the constant term? Currently I run the linear model function lm on the LDA
scores and variables to find
Hi, I am exporting an HDF5 file from Matlab (hdf5write function). It contains
several datasets: one scalar, one vectory, one 2-D array, and one 3-D array.
The hdf5read() function in the hdf5 library seems to load everything except the
3-D array. There are no errors reported even with verbosity=
Hi list,
>From the xyplot() documentation I'm guessing this may not be possible, but is
>there a way to specify a scale definition something between relation="free"
>and relation="same" such that the scales are fixed across rows and column
>margins are removed for a M x N conditioning plot (so
Re: [R] large files produced from image plots?
> From: baptiste.aug...@googlemail.com
> Date: Wed, 8 Sep 2010 19:41:46 +0200
> CC: r-help@r-project.org
> To: obsessiv...@hotmail.com
>
> Hi,
>
> Have you tried the recent rasterImage() function?
>
> HTH,
>
> baptis
Hi list,
I wonder if anyone has thoughts on making image plots in R [using image() or
image.plot(), or filled.contour()]- I've made quite a bit now, but they seem
quite large in size when exported to pdf file format (even after compressing
with pdftk or ghostscript, which I regularly do). I kno
hilippe
>
> On 26/08/10 06:28, Gabor Grothendieck wrote:
> > On Thu, Aug 26, 2010 at 12:04 AM, Stephen T.
> > wrote:
> >>
> >> Hi, I wanted to create a list of closures. When I use Map(), mapply(),
> >> lapply(), etc., to create this list, it appears
obsessiv...@hotmail.com
> CC: r-help@r-project.org
>
> On Thu, Aug 26, 2010 at 12:04 AM, Stephen T. wrote:
> >
> > Hi, I wanted to create a list of closures. When I use Map(), mapply(),
> > lapply(), etc., to create this list, it appears that the wrong arguments
Hi, I wanted to create a list of closures. When I use Map(), mapply(),
lapply(), etc., to create this list, it appears that the wrong arguments are
being passed to the main function. For example:
Main function:
> adder <- function(x) function(y) x + y
Creating list of closures with Map():
> plus
On Tue, Aug 24, 2010 at 4:25 AM, Stephen T. wrote:
Hi list, I have a data set - something like this
dfr <- data.frame(A=factor(letters[1:25]),B=runif(25),
C=sample(LETTERS[1:4],25,replace=TRUE))
and I want to create a dotplot:
library(lattice)dotplot(A ~ B | C, data=
Hi list, I have a data set - something like this
dfr <- data.frame(A=factor(letters[1:25]),B=runif(25),
C=sample(LETTERS[1:4],25,replace=TRUE))
and I want to create a dotplot:
library(lattice)dotplot(A ~ B | C, data=dfr,
scales=list(y=list(relation="free")))
but this puts uneven
10 matches
Mail list logo