Displaying 20 results from an estimated 11000 matches similar to: "how to find maximum for multivariable data"
2012 Jul 18
3
Subsetting problem data
Hello, I need to subset my data to only look at the parts that have "holes"
in it. I already have a formula to get rid of inconsistencies, but now I
need to look only at the problem data to reconfigure it. In my data set
where there are multiple "cycles" per "patient," and I want to highlight
the patients who have a variable was not measured every cycle.
Here's a
2012 Jul 19
2
Subsetting problem data, 2
Hello,
I didn't give enough information when I sent an query before, so I'm trying
again with a more detailed explanation:
In this data set, each patient has a different number of measured variables
(they represent tumors, so some people had 2 tumors, some had 5, etc). The
problem I have is that often in later cycles for a patient, tumors that
were originally measured are now missing (or
2005 Mar 01
6
Help : delete at random
Hello
I would like to delete some values at random in a data frame. Does
anyone know how I could do?
With best regards
Caroline
2012 Jun 06
3
Combine subsets by factor level
I'm attempting to change a data set by compressing rows into columns.
Currently there are several rows that all have information about one
"patient," but at different cycles. I'm trying to make each patient only
have one row in the data set.
Does anyone know a good way to combine data sets by factor level? I've
separated the groups into different subsets by cycle, but not
2012 Jun 29
1
Comparing factor level measurments
Hello, I have a data set where there are multiple "cycles" per "patient,"
and I want to exclude from my data set instances where a variable was not
measured every cycle. The difficulty is that the patients have different
cycles; some have cycles 1,2, and 3, others only have 1 and 3 (and
everything in between). Therefore, I'm having difficulty in in
distinguishing between
2009 May 28
3
String replacement in an expression
Dear R-experts,
I need to replace in an expression the character "Cl" by "Cl+beta"
But in the following case:
form<-expression((Cl-(V *ka) ) +(V *Vm *exp(-(Clm/Vm) *t)))
gsub("Cl","(Cl+beta)",as.character(form))
We obtain:
[1] "((Cl+beta) - (V * ka)) + (V * Vm * exp(-((Cl+beta)m/Vm) * t))"
the character "Clm" has been
2008 Jul 09
4
Strptime/ date time classes
Dear all,
I've come across a problem using strptime, can anyone explain what's
going on? I'm using version 2.7.0 on Windows XP.
Thank you
Caroline
First read in a data file using read.table
alldata = read.table(file, header=F, skip=4, colClasses =
c("character","numeric"))
dim(alldata)
[1] 223960 2
# inefficient, safe way of sorting out missing or dodgy
2010 Sep 23
2
Error: attempt to apply non-function
This code worked fine for me, then did some cleaning up of formatting using ESS (Emacs) and now I get this error, no idea what is causing it, all the brackets/parentheses seem to be balanced. What have I done wrong?
Thanks
Jim
p0.trial01 <- 0.25
TruOR01 <- 0.80
num.patients.01 <- 50
num.trials.01 <- 5
LOR01.het.in <- 0.00
num.sims <- 1
simLOR01 <-
2018 Jun 07
3
FTS Solr errors using doveadm
Solr 7 returns JSON by default but fts_solr requires XML.
Would be good to have wt=xml added to the query to force it to xml all the time, this would prevent errors if solr has
not had xml set as default for index.
Dovecot 2.2.36
Centos 6
*Doveadm Request:*
doveadm search -u caroline at covermg.com TEXT smith
doveadm(caroline at covermg.com): Error: fts_solr: Invalid XML input at 1:0: not
2011 Aug 03
4
slow computation of functions over large datasets
Hello there,
I’m computing the total value of an order from the price of the order items
using a “for” loop and the “ifelse” function. I do this on a large dataframe
(close to 1m lines). The computation of this function is painfully slow: in
1min only about 90 rows are calculated.
The computation time taken for a given number of rows increases with the
size of the dataset, see the example with
2012 Mar 13
1
how to write crossed and nested random effects in a model
Dear R Users,
I have a question based on my research. I am analyzing reader-based
diagnostic data set. My study involves diabetic patients who were evaluated
for treatable diabetic retinopathy based on the presence or absence of two
pathologies in their eyes. Pathologies were identified using the clinical
examination (Gold standard method). In addition it can be identified by
taking digital
2011 Oct 31
1
Question on estimating standard errors with noisy signals using the quantreg package
Dear all,
My question might be more of a statistics question than a question on R,
although it's on how to apply the 'quantreg' package. Please accept my
apologies if you believe I am strongly misusing this list.
To be very brief, the problem is that I have data on only a random draw, not
all of doctors' patients. I am interested in the, say, median number of
patients of
2006 Jul 03
4
Display find(:include => [:children]) results in a view
I am trying to determine how to display a list returned from a Rails
find(:include => [:children]). I am using the following (which works in the
console):
@patients = Account.find(session[:account_id]).patients.find(:all, :include
=> [:patient_details])
How can I address the patient_details to display them in the view? The
console even shows a @patient_details instance variable
2007 Dec 17
4
Installation of RGtk2 (PR#10519)
Full_Name: Caroline Keef
Version: 2.6.1
OS: Windows XP
Submission from: (NULL) (195.171.203.131)
I have tried to install the package rggobi which if I'm right requires the
package RGtk2
If I install RGtk2 using the install.packages (I used the UK (Bristol) mirror, I
haven't tried any other mirror) within R and then use library(RGtk2) I get the
following message box
"This
2006 Aug 17
1
How to sort child table on fields in the associated parent
For an Xray file system patients have folders and folders have studies.
That is:
patients folders studies
id id id
name patient_id folder_id
... label type
... ...
The list of studies with their associated folder and patient might look
like this:
name folder_label study_type
2011 Feb 01
3
Matching patients
May I ask a clinical question? For a trial, we have a treatment group of small
size, say 30 patients. We want to selectmatching control patients from a bigger
group (100 patients) in terms of several clinical variables, such as age, tumor
stage etc. This practice is to select the closest matching set of control cases.
I wonder if R has any routine or package that can help with this problem.
2011 Jan 20
4
subsets
Dear R people
Could you please help.
Basically, there are two variables in my data set. Each patient ('id')
may have one or more diseases ('diagnosis'). It looks like
id diagnosis
1 ah
2 ah
2 ihd
2 im
3 ah
3 stroke
4 ah
4 ihd
4 angina
5 ihd
..............
Q: How to make three data sets:
1. Patients with ah and ihd
2. Patients with ah but no ihd
3. Patients with ihd but no
2012 Sep 03
1
select specific rows from regression output
Hello everyone,
I have a data set that contains characteristics of 25,000 patients of 92
different hospitals. I have run a regression to capture the probability
these patients will have a complication after a certain operation. Now, I
actually want to predict the probability per patient, using the outcome of
the regression, but I just certain patients involved in the prediction. So,
I want to use
2007 Feb 14
1
nested model: lme, aov and LSMeans
I'm working with a nested model (mixed).
I have four factors: Patients, Tissue, sex, and tissue_stage.
Totally I have 10 patients, for each patient, there are 2 tissues
(Cancer vs. Normal).
I think Tissue and sex are fixed. Patient is nested in sex,Tissue is
nested in patient, and tissue_stage is nested in Tissue.
I tried aov and lme as the following,
> aov(gene ~ tissue + gender +
2017 Jun 22
1
MODISTools Help
1. You should always cc the list unless there is a clear reason not to.
2. You still have failed to follow the posting guide: You say you have
difficulty troubleshooting your code, but you have shown us no code.
You got an error message that seems explicit, but with neither code
nor data, I do not know whether anyone can make sense of it. In any
case, I certainly cannot.
Cheers,
Bert
Bert