Displaying 20 results from an estimated 400 matches similar to: "Advice on obscuring unique IDs in R"
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
2005 Oct 14
1
Predicting classification error from rpart
Hi,
I think I'm missing something very obvious, but I am missing it, so I
would be very grateful for help. I'm using rpart to analyse data on
skull base morphology, essentially predicting sex from one or several
skull base measurements. The sex of the people whose skulls are being
studied is known, and lives as a factor (M,F) in the data. I want to
get back predictions of gender, and
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
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
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
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
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 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
2012 Mar 10
0
Help with confidence intervals for gam model using mgcv
Hi,
I would be very grateful for advice on getting confidence
intervals for the ordinary (non smoothed) parameter
estimates from a gam.
Motivation
I am studying hospital outcomes in a large data set. The
outcomes of interest to me are all binary variables. The one
in the example here, Dead30d, is death within 30 days of
admission. Sexf is gender (M or F), Age is age in years at
the start
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
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
2010 Jan 26
1
Maptools runs out of memory installing the help files for spCbind-methods
Hi,
I'd be grateful for help with the following:-
Running R version 2.9.2 (2009-08-24) on Gentoo Linux, on an
x86 PC. I am trying to install maptools, (via CRAN from
maptools_0.7-29.tar.gz'), for the first time.
All runs smoothly until the installation gets to
"*** installing help indices" for spCbind-methods, about two
thirds of the way through the help files, at which point
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
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 !
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
2000 Dec 27
1
Incorrect shell quotation in scp
Hi,
as the current debian maintainer of the openssh package is a bit busy,
I'm helping him with fixing a part of the bugs in openssh that debian
users found will forward some of the reports to you. This is the first
one and a fix or a comment why this should not be fixed would be
appropriated. Thanks
Space in filename is not correctly passed by scp to other invoked
programs:
2007 May 10
3
[LLVMdev] T-Shirts: Last Call
To: Everyone That Ordered A T-Shirt Or Wants One
If you want a T-Shirt but haven't ordered yet, you have until the 4pm
PST tomorrow (24 hours from now) to let me know or alter your existing
order.
The T-Shirt is described this way: 437 JERZEES 50/50 Spot Shield Polo
50/50 cotton/poly blend, 5.6 oz. Treated with Spot Shield, most water
and oil based stains bead up and roll off. 2-button
2018 Feb 23
1
R: R: Missing 'security' tab
I apologize overturned the sentence, rewrite it properly!
I explain better: I have another linux machine added to the domain but from the same windows stain to which I log in with a domain admins account, if I connect to this other machine I see the tab security but if I connect to this machine I do not see the tab security
Inviato da Posta per Windows 10
Da: Rowland Penny via samba
Inviato: