Displaying 20 results from an estimated 200 matches similar to: "Predicting classification error from rpart"
2006 Jul 18
1
Classification error rate increased by bagging - any ideas?
Hi,
I'm analysing some anthropometric data on fifty odd skull bases. We know the
gender of each skull, and we are trying to develop a predictor to identify
the
sex of unknown skulls.
Rpart with cross-validation produces two models - one of which predicts
gender
for Males well, and Females poorly, and the other does the opposite (Females
well, and Males poorly). In both cases the error
2010 Aug 04
4
Passing the name of a variable to a function
Dear colleagues,
I have a problem which has bitten me occasionally. I often need to
prepare graphs for many variables in a data set, but seldom for all.
or for any large number of sequential or sequentially named variables.
Often I need several graphs for different subsets of the dataset
for a given variable. I run into similar problems with other needs
besides graphing.
What I would like to
2003 Nov 20
3
Problem with Trellis graphics in nlme
Hi,
I would be grateful for help with a problem which is irritating me.
I am quite sure that I am doing something stupid, but I can't see what it
is.
I am running R 1.7 on Windows 2000. The graphics device is the PC screen.
The graphics from the nlme demonstration in Bates an Pinheiro's manual work
just as advertised. The CO2 data and the Orthodont data dsiplay
2002 Feb 04
2
Help with accessing elements of a list
Hi,
As part of the analysis of a longitudinal study, I have a list, called wg,
on R 1.3.1 for windows created as follows -
wg <- by(xx, xx$mrn, function(xx) lm(xx$maternal.wt ~ xx$gestation,
data=xx))
xx is a data.frame, and so wg contains the results of 293 linear
regressions, as lm objects.
Now what I want is to extract the 293 intercepts and regression coefficients
as a vector, and
2011 Jan 05
3
Advice on obscuring unique IDs in R
Dear colleagues,
This may be a question with a really obvious answer, but I
can't find it. I have access to a large file with real
medical record identifiers (mixed strings of characters and
numbers) in it. These represent medical events for many
thousands of people. It's important to be able to link
events for the same people.
It's much more important that the real record numbers
2011 Nov 19
1
Advice on recoding a variable depending on another which contains NAs
Dear colleagues,
I would be very grateful for your help with the following. I
have banged my head off this question several times in the
past, and repeatedly over the last week. I have looked in
the usual places and found no obvious solution. I fear that
this just means I didn't recognize it, but I'd be very
grateful for your help.
I am scoring 8000 psychometric tests - the SCQ, if
2007 Feb 16
1
SPSS and library(foreign)
Hi,
I have a valid SPSS .sav file (which I can open happily in SPSS v11 on
Windows XP).
Opening it in R2.41 on Linux we get this message :-
> HSE3023 <- read.spss("HSE.sav")
Error in read.spss("HSE.sav") :
error reading system-file header
In addition: Warning message: HSE.sav:
Variable X234 indicates variable label of invalid length 256
Now variable X234 has indeed a
2007 Feb 09
1
Using variable names in for loops - Generating plots semi-automatically from a series of variables Partly solved
Hi,
This code is trying to produce a series of graphics files, with plots
of male and female disease rates by age, one plot per disease. The
dataframe contains a variable 'Age' and a set of variables called
'Male_CVD, Female_CVD,Male_RTA,Female_RTA, and so on. For each
disease, I want to pull out the column of data containing the word
'Male' and plot this against age, and then
2009 Jun 08
1
[LLVMdev] Replacing unconditional branches with conditional ones
Hi all,
Somewhat of a newbie's question, hope you can help me out.
I'm trying to turn unconditional BranchInst's into conditional ones (with a condition I'm supplying) branching between the original target and a basic block of my choice.
Apparently the way to do that is to create a new conditional BranchInst and remove the unconditional one from its basic block. However when
2010 Mar 12
5
Vertical subtraction in dataframes
Hello all,
I have not been able to find an answer to this problem. I feel like it might
be so simple though that it might not get a response.
Suppose I have a dataframe like the one I have copied below (minus the
'calib' column). I wish to create a column like calib where I am subtracting
the 'Count' when 'stain' is 'none' from all other 'Count' data for
2007 Aug 16
4
residual plots for lmer in lme4 package
Hi,
I was wondering if I might be able to ask some advice about doing residual
plots for the lmer function in the lme4 package.
Our group's aim is to find if the expression staining of a particular gene
in a sample (or "core") is related to the pathology of the core.
To do this, we used the lmer function to perform a logistic mixed model
below. I apologise in advance
2005 Apr 28
0
Linear Discriminant Analysis Biplots
Dear R
I'm trying to plot the lda means onto a 2 D plot of discriminant scores.
Preferably I'd like these to be in a larger font compared to the
discriminant scores.
I tried
skull.mean.pred <- predict(skulls.lda, as.data.frame(skulls.lda$means),
dimen=2)
from which I got
skull.mean.pred
$class
[1] 1 2 3 4 5
Levels: 1 2 3 4 5
$posterior
1 2 3 4
2010 Aug 13
1
Installing rJava fails on Gentoo (amd64) with Sun JDK - checking JNI data types... error
Installing rJava fails consistently, whether installed via
the command line as below, or through "install.packages(
'rJava' )", and whether 0.84 or 0.85 is used, with the
message :-
"checking JNI data types... configure: error: One or more
JNI types differ from the corresponding native type. You may
need to use non-standard compiler flags or a different
compiler in order to
2009 Dec 08
2
automated image processing
Hi,
I am looking for a R package which is capable to process and analysis pictures of tissues (stained) in an automatic way.
I had a look on biops and EBImage (Bioconductor) but they are not automatic...
Did you already use/know a such package ?
Thanks,
- Martial
_________________________________________________________________
Tchattez en direct en en vidéo avec vos amis !
2006 Dec 02
10
HVM success story, now on server environment
I had the chance to test out one of the new Sun X2200 M2 servers for a
week or so, aiming to check out the status of HVM support on these machines.
The machine was a dual-Opteron dual-core, with 8GB RAM and 1 300GB SATA
disk.
Normally I tend to use Debian on my servers, but due to lack of needed
hardware support on Debian x86_64 images, and because I had very few
time to run the tests, I used an
2007 Apr 27
0
Logistic Regression Question: Risk Threshold
Hi,
I am working on problem 2 of Chapter 8 in Data Analysis and Graphics Using R and don't know how to approach the second half of the question:
In the data set (an artificial one of 3121 patients, that is similar to a subset of the data analyzed in Stiell et al., 2001) head.injury, obtain a logistic regression model relating clinically.important.brain.injury to other variables. Patients
2007 Oct 29
3
Samba+LDAP problems
Hello there...
My name is Marcelo, i am new in this list.
I don't know if here is the right place for asking about samba + LDAP,
if not, sorry...
I am finishing to implement a samba server with ldap support but, when i
want to add some group to the samba domain i obtain the following error
messages:
- SMBLDAP_TOOLS
# smbldap-groupadd -a -g 10000 -s S-1-5-21-blablabla -t 2 domainadmins
2007 Jun 06
2
Multiple color schemes for barchart (lattice)
Hello R-help.
I am trying to make a stacked barplot where the color of the sections of
each bar depend on another variable.
> myData[1:11,]
score percent marker cellType Malignant
1 0 100.00000 ESR1 (ER) Bladder.M(5) TRUE
2 0 80.00000 PAX8 Bladder.M(5) TRUE
3 1 20.00000 PAX8 Bladder.M(5) TRUE
4 0 100.00000 ESR1 (ER) Brain.N(3) FALSE
5 0
2007 Apr 24
1
information extraction
Dear R-experts,
I imported successful a workspace from Matlab. The information is stored
in the variable data. If I use the command "length(data)" I get back a
number which corresponds to the number of variables which were imported.
Here it is 82. Now I only want to know the names of the imported
variables to modify my program. Can anyone help me?
My knowledge which I tested yet to
2006 Feb 26
1
Mouse hour glass and desktop
What does it mean when your mouse hour glass pointer turns into
a skull and cross bones symbol for a few seconds and is then
followed by your desktop icons being scrambled around to
different locations. This reminds me of a bug in the old
Windows 98 SE desktop.
What would cause this? This has happened to me once before
on Fedora 3 (I think, maybe 2).
-------------- next part