Displaying 5 results from an estimated 5 matches for "xvmult".
2010 Aug 13
3
Delete rpart/mvpart cross-validation output
...ing if there is a simple way to avoid printing the multiple
cross-validation automatic output to the console of recursive partitionning
functions like rpart or mvpart. For example...
> data(spider)
>
mvpart(data.matrix(spider[,1:12])~herbs+reft+moss+sand+twigs+water,spider,xv="1se",xvmult=100)
*X-Val rep : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 7...
2011 Sep 13
1
mvpart analyses with covariables
...ying to run mvpart and create a MRT using
explanatory variables and covariables. I've been following the procedures in
Numerical Ecoogy with R.
The command (no covariables) which works fine -
ABUNDTMRT <- mvpart(abundance ~
.,factors,margin=0.08,cp=0,xv="1se",xval=nrow(abundance),xvmult=100,which=4)
where abundance is 4th root transformed fish abundance (103 species x 168
samples), and factors is the relief (high, medium, low profile, sand
inundated reef, flat), benthos (coral, sessile inverts, kelp, macroalgae,
seagrass, sand), depth (continuous in meters), latitude, and longitu...
2007 Oct 23
1
Multivariate regression tree: problems with surrogate splits
...Here is the sequence of commands I used
sprot_matrix=read.csv("sprot_matrix.csv", row.names=1)
sprot_matrix
require(mvpart)
mrtsprot_matrix <-
mvpart(data.matrix(sprot_matrix [,1:47]) ~SECCHI+PH+TA+PTOT+NTOT+CHLA+AREA+ MEANDEP, sprot_matrix,xv="pick",xvmult=500,use.n=TRUE,all=TRUE,text.add=TRUE)
[[alternative HTML version deleted]]
2009 Mar 15
0
mvpart error - is.leaf
...data through rpart yields no errors, and I don't remember
seeing this when I ran the same data through mvpart a couple years ago. Any
suggestions as to where a solution might lie?
Full output:
> summary(thesis.mvp)
Call:
mvpart(form = bat_sp ~ ., data = alltrees.df, size = 6, xval = 8,
xvmult = 1000, plot.add = TRUE, text.add = TRUE, all.leaves = TRUE,
bars = TRUE, legend = TRUE, bord = TRUE, prn = TRUE)
n= 78
CP nsplit rel error xerror xstd
1 0.23076923 0 1.0000000 1.0000000 0.1132277
2 0.16666667 1 0.7692308 1.0940256 0.1122883
3 0.05128205 3 0....
2012 Apr 23
1
change color scheme in mvpart
Hello everyone, I am currently using the mvpart package and would like to change the color scheme it uses, and was hoping someone could help me out. All of the papers I have found have used a grayscale but I can't seem to figure out how they did that! Currently, mvpart plots barplots in a repeating sequence of 3 shades of blue. So if you have 6 response variables the same shade of blue is used