Displaying 20 results from an estimated 200 matches similar to: "barplot and pca plot in mvpart"
2008 Feb 29
1
barplot and pca plot in mvpart/rpart
Hello,
I'm using the R package called mvpart, which is about the multivariate
regression trees.
The function I wrote is:
mrt1<- mvpart(coefmat~sChip+sScreen+sMem,data=mixdata, xv="pick",
plot.add=TRUE,uniform=TRUE,which=4,all=TRUE,xadj=2,yadj=2,rsq=TRUE,big.pts=TRUE,wgt.ave.pca=TRUE,legend=TRUE,bars=F,
pca=TRUE)
where "coefmat" is a matrix(of dimension N*K) to store
2010 Jan 19
2
subfolder level restriction
hello
I have three users u1 ,u2 and u3
I have a share named "mrt" and it has two subfolder "mrt1" and "mrt2".
what i have to do is that when u1 logs in mrt
it should view all the contents inside mrt (including contents of its subfolderand all)
and when u2 logs into mrt it should view mrt1 and restrict mrt2 and in same way when u3 logs into mrt ,it could access mrt2
2010 Feb 25
1
Updating a hexbinplot
Dear all,
Considering this simple example of hexbinplot:
mixdata <-
data.frame(x = c(rnorm(5000), rnorm(5000,4,1.5)),
y = c(rnorm(5000), rnorm(5000,2,3)),
a = gl(2, 5000))
fig <- hexbinplot(y ~ x | a, mixdata)
print(fig)
update(fig, colramp = BTC)
produces a bad (non-updated) legend. Compare it with:
hexbinplot(y ~ x | a, mixdata, colramp = BTC)
What
2010 Jan 28
2
src/library/grid/src/grid.c (PR#14199)
At around line 2590, in function gridRect() in
src/library/grid/src/grid.c (at the latest svn revision, 50745), ought
not temp, www and hhh to be PROTECTed within this block?
Andrew
2012 Nov 20
0
double gaussian with mixdist: what's wrong?
Dear all,
I am trying to fit a double gaussian to some data using the mixdist package:
--- begin code ---
? library(mixdist)
? time <- seq(673,723)
??counts <- c(3,12,8,12,18,24,39,48,64,88,101,132,198,253,331,419,563,781,1134,1423,1842,2505,374,6099,9343,13009,
? ? ? ? ? ? ? ? ? ?15097,13712,9969,6785,4742,3626,3794,4737,5494,5656,4806,3474,2165,1290,799,431,213,137,66,57,41,35,27,27,27)
?
2009 Sep 25
0
Error with Mixdist in R
Dear R User,
I am an electrical engineering student and have just come across a curve fitting problem. I need to find the constituent Gaussian distribution curves fitting the data attached in Workbook1.txt here. I tried to use Mixdist on R but ran into following problem. Can you suggest me where I am going wrong?
> super <-read.table("Workbook1.txt",,sep ="\t")
>
2003 Dec 05
2
documentation bugs (cvs) (PR#5543)
Hi,
Below I've flagged some sentences in the R documentation (from cvs)
which are garbled in some way. If anyone can clarify what these
sentences should say I'd be grateful.
The problems were picked up as part of the proof-reading of the R
manuals by Ciaran O'Riordan. After looking at the text neither of us
could figure out what the documentation was meant to say.
--
Brian Gough
2013 Feb 14
2
Plotting survival curves after multiple imputation
I am working with some survival data with missing values.
I am using the mice package to do multiple imputation.
I have found code in this thread which handles pooling of the MI results:
https://stat.ethz.ch/pipermail/r-help/2007-May/132180.html
Now I would like to plot a survival curve using the pooled results.
Here is a reproducible example:
require(survival)
require(mice)
set.seed(2)
dt
1998 Oct 14
0
P values option
(From original R-help, then R-core discussion;
this is potentially of interest to more people. MM)
JL> 2. meaningless P-values and stars by default in summary(glm())
TL> The default of stars is easily changed in a site-level profile,
TL> which can be given to students if you are worried about their minds
TL> being contaminated by stars. I'm going to do this on
2006 Oct 17
1
Some questions on Rpart algorithm
Hello:
I am using rpart and would like more background on how the splits are made
and how to interpret results - also how to properly use text(.rpart). I have
looked through Venables and Ripley and through the rpart help and still have
some questions. If there is a source (say, Breiman et al) on decision trees
that would clear this all up, please let me know. The questions below
pertain to a
2023 Jul 07
1
printCoefmat() and zap.ind
>>>>> Shu Fai Cheung
>>>>> on Thu, 6 Jul 2023 17:14:27 +0800 writes:
> Hi All,
> I would like to ask two questions about printCoefmat().
Good... this function, originally named print.coefmat(),
is 25 years old (in R) now:
--------------------------------------------------------------------
r1902 | maechler | 1998-08-14 19:19:05 +0200 (Fri,
2008 Oct 01
0
xpred.rpart() in library(mvpart)
R-users
E-mail: r-help@r-project.org
Hi! R-users.
http://finzi.psych.upenn.edu/R/library/mvpart/html/xpred.rpart.html
says:
data(car.test.frame)
fit <- rpart(Mileage ~ Weight, car.test.frame)
xmat <- xpred.rpart(fit)
xerr <- (xmat - car.test.frame$Mileage)^2
apply(xerr, 2, sum) # cross-validated error estimate
# approx same result as rel. error from printcp(fit)
apply(xerr, 2,
2005 Aug 08
2
INDVAL and mvpart
Hi,
I'd like to perform Dufrene-Legendre Indicator Species Analysis for
a multivariate regression tree. However I have problems with arguments
of duleg(veg,class,numitr=1000)function. How to obtain a vector of
numeric class memberships for samples, or a classification object
returned from mvpart?
thanks in advance
--
Best regards,
Agnieszka Strzelczak
2004 Mar 29
0
rpart or mvpart
[This email is either empty or too large to be displayed at this time]
2004 Feb 17
0
New package -- mvpart
The package mvpart is now available.
mvpart includes partitioning based on (1) multivariate numeric responses and
(2) dissimilarity matrices.
The package mvpart is a modification of rpart --
-- authors of original: Terry M Therneau and Beth Atkinson
<atkinson at mayo.edu>, and
R port of rpart Brian Ripley <ripley at stats.ox.ac.uk>.
Includes some modified routines from vegan --
2004 Feb 17
0
New package -- mvpart
The package mvpart is now available.
mvpart includes partitioning based on (1) multivariate numeric responses and
(2) dissimilarity matrices.
The package mvpart is a modification of rpart --
-- authors of original: Terry M Therneau and Beth Atkinson
<atkinson at mayo.edu>, and
R port of rpart Brian Ripley <ripley at stats.ox.ac.uk>.
Includes some modified routines from vegan --
2008 Feb 29
1
controlling for number of elements in each node of the tree in mvpart
Still about the mvpart.
Is there any way I can control for the number of elements in each node
in the function mvpart? Specifically, how can I ask partition to
ignore node with elements less than 10?
Thanks!
-Shu
2008 Sep 16
1
1-SE rule in mvpart
Hello,
I'm using mvpart option xv="1se" to compute a regression tree of good size
with the 1-SE rule.
To better understand 1-SE rule, I took a look on its coding in mvpart, which
is :
Let z be a rpart object ,
xerror <- z$cptable[, 4]
xstd <- z$cptable[, 5]
splt <- min(seq(along = xerror)[xerror <= min(xerror) + xvse * xstd])
I interprete this as following: the
2009 Mar 15
0
mvpart error - is.leaf
Hello,
When trying to run mvpart either specifying my own parameters or using the
defaults, I get the following error:
Error in all(is.leaf) :
unused argument(s) (c(FALSE, TRUE, FALSE, FALSE, TRUE, TRUE, TRUE))
As far as I can tell, is.leaf is part of the dendrogam package, so I'm
assuming there's some problem with the graphical parameters. However running
same formula and data
2010 Apr 26
1
mvpart : Printing response values at terminal nodes
I have created a multivariate regression tree using mvpart, with 3-4
responses. Though the plot shows bargraphs for each response, I would
like to have the VALUES of the responses
printed or indicated (via a scale or something) alongside the bargraph.
Is this possible ??
Thanks,
Manjunath
[[alternative HTML version deleted]]