Displaying 20 results from an estimated 200 matches similar to: "save workspace while running R on a cluster"
2009 Jun 06
2
extract rows having negative values
Hello,
I have a matrix with 6 columns and 12 rows. I want to extract out those IDs
(rownames) from my matrix which have a negative values. For each ID(row) if
the negative value is even under 1 column it needs to be extracted out. I
will be grateful for any correct suggestion.
Thanks
Manisha
Here is the matrix that I am working on:
ID
A
B
C
D
E
F
1
-4.18972
-3.8946
2008 Jun 10
2
convert characters into integers in a matrix
Hello,
I will appreciate any suggestion for this simple problem. I have a matrix of
characters "A", "P", "M".
I want to convert those characters to integers 0,1, 1 respectively. I am
using the following R statements:
exprs.new<-gsub("P",1,exprs)
exprs.new1 <- gsub("A",0,exprs.new)
exprs.new2 <-
2008 Feb 27
2
problem with creation of eSet
Hi,
I am having troubles with creating an eSet and would appreciate any help on
the following problem.
I am trying to create an eSet using the following code
pd <- read.table(file="pdata.txt",header =TRUE,row.names=1);
colnames(pd) <- c("type","tumor","time","id");
pdN <- list(type =
2007 Nov 09
1
scaling x-axis in hist function
Hi,
I have a query regarding usage of hist (histogram) function in R.
I have a data where the range of the x -axis is from 0.0-1.0. When I use
hist the ticks on the x-axis it gives me by default is at
0.0,0.2,0.4,0.6,0.8 and 1.0.
If I want more ticks such that the x-axis has 0.0,0.1,0.2,0.3...till 1.0
what parameter should I use in the hist function?
Thanks
manisha
2001 Nov 27
3
Table Command (PR#1182)
Full_Name: Manisha Desai
Version: 1.3.0
OS: UNIX
Submission from: (NULL) (156.111.36.213)
There may be a bug in the table command.
The value of 0 does not appear to show up (at least in this version of R).
The following is an example:
> blah<-c(rep(1,100),rep(0,100))
> table(blah)
Gives the following:
blah
1
100
Doing a summary shows that blah does contain values of 0.
>
2009 Jul 20
2
calculating median with a condition
Hello,
I am trying to calculate the median of numbers across each row for the data
shown below , with the condition that if the number is negative, that it
should be ignored and the median should be taken of only the positive
numbers.
For eg: data is in Column A,B,C. Column D and E demonstrates what I want to
get as answer
A
B
C
Median
median value
-13.6688115
-32.50914055
2009 Aug 01
3
how do i retain decimal values
Hello,
I am trying to do a spearman correlation. My data has tied values. To
overcome this issue, I am adding some random noise (values) to my original
data. However when I add the random noise to the data, the final matrix does
not show the new values. I guess the reason being that the noise I add is
very small and the full value including the decimals gets truncated to show
only the value
2008 Jan 03
1
help with combining matrix and list into dataframe
Problem#################################################################
I am having a problem combining a matrix and elements of a list into one data
frame.
Data####################################################################
The matrix is ludwig.results and dim of matrix is 213,8.
The list is called symbols and its length is 213.
Following is an example the structure of my matrix
2011 Jan 19
1
Pearson correlation with randomization
Hello,
I will be very obliged if someone can help me with this statistical R
problem:
I am trying to do a Pearson correlation on my datasets X, Y with
randomization test. My X and Y datasets are pairs.
1. I want to randomize (rearrange) only my X dataset per row ,while
keeping the my Y dataset as it is.
2. Then Calculate the correlation for this pair, and compare it to
your true
2009 Jun 07
1
Convert a lis to matrix
Hello,
This is an urgent request. I want to convert a list of 3 elements into a
matrix and I am not sure how to do it.
The list looks like this:
List of 3
$ : num [1:15364, 1] 0.133 0.622 0.588 1.024 0.583 ...
..- attr(*, "dimnames")=List of 2
.. ..$ : chr [1:15364] "6420681" "3610072" "2260458" "60689" ...
.. ..$ : NULL
$ :
2012 Jan 09
0
power in generalized linear models with categorical independent variables
Dear r-help list members,
Is there an R package to compute the power and sample size of
generalized linear models
with categorical independent variables? I am especially interested in
the
negative binomial error model.
Failing this, is there any package outside of R that does this kind
of calculation?
Thanks!
Rich
------------------------------------------------------------
Richard A.
2011 Jun 27
0
cld object did not plot
Dear R list.,
I am running a script to get a compact letter display.
library(lme4)
library(multcomp)
library(gplots)
####### Mixed Effects Model #########
data <- read.table("AJmix.txt",header=TRUE, sep="\t")
attach(data)
y<-cbind(positive,negative)
treatment<-factor(treatment)
mouse<-factor(mouse)
data$obs<-1:nrow(data)
names(data)
detach(data)
attach(data)
2008 Dec 24
1
Need help : Rails app unable to connect to Solr server
Hi,
I am trying to integrate solr in ruby on rails application.For that i
am using the plugin acts_as_solr and gem solr-ruby. My solr server
starts successfully with command
$ rake solr:start
But when I try to add data from $ script/console , it says that it
cannot connect to solr server at the corresponding port.Same is the
result if i try the browser to link to http://localhost:8982/solr
2011 May 23
2
Analog of least significant difference error bars for proportions
Dear R-list,
In the R-book, p.464, Michael Crawley recommends that error
bars for bar plots of normally distributed continuous response
variables with categorical explanatory variables be given by
1/2 of the least significant difference, where the least significant
difference is defines as
qt(0.975,degrees_of_freedom)*standard_error_of_the_difference.
The idea is that the above quantity
2009 Feb 09
13
mysql install problem
Hi,
I got Mac OS X 15.6 installed, Locomotive 2.0.8 and MYSQL 5.0.67
running. I''m having this problem when I try to install mysql gem:
Last login: Mon Feb 9 13:37:37 on ttys001
source
/var/folders/be/bexGvm9pHdq0vcEmR8-WWk+++TM/-Tmp-//39E424DB-A260-4E41-AA2E-30B64FB46F3C-7395-00002254065EA712.environment.bash
You have mail.
MBPEduCirilo:~ eduardocirilo$ source
2008 Aug 29
0
Fw: Voice Activation Level (speex 1.1.11.1)
Manisha,
I'm still here. :-) Here's the function:
// Returns the average power level in the given signal
float getPower(signed short int *signal, int numSamples)
{
int i;
float amp;
float powerSum = 0.0f;
for (i = 0; i < numSamples; i++)
{
amp = (float) abs(signal[i]);
powerSum += amp * amp;
}
return powerSum / (32768.0f * 32768.0f *
2011 Apr 21
1
Accounting for overdispersion in a mixed-effect model with a proportion response variable and categorical explanatory variables.
Dear R-help-list,
I have a problem in which the explanatory variables are categorical,
the response variable is a proportion, and experiment contains
technical replicates (pseudoreplicates) as well as biological
replicated. I am new to both generalized linear models and mixed-
effects models and would greatly appreciate the advice of experienced
analysts in this matter.
I analyzed the
2003 Jun 03
1
tseries "adf.test"
I have a question regarding the adf.test command in the tseries library.
I have a vector of time series observations (2265 daily log prices for the
OEX to be exact). I also have this same data in first-differenced form. I
want to test both vectors individually for staionarity with an Augmented
Dickey-Fuller test. I noticed when I use the adf.test command from the
tseries library, the general
2004 Jul 21
0
ILOG/JRULES/J2EE project opportunity
Hi
Please call or email me if you would be interested in the following
project
Senior Rules Engine (ILOG) Consultant
Location: Saint Louis, MO
Duration: 6 months
Skills:
At least 5 years strong development experience with OO languages,
specifically on complex web applications using Java J2EE
3 years of Rules Engineering experience, Rules engine : ILOG experience
is required
2009 Jun 08
0
SMACOF joint configuration plot with bread data? (Michael Kubovy)
Hi Michael,
with res.uc$conf you'll get the single configurations for each rater.
You can use these to produce the plot you want to have.
Best,
Patrick
r-help-request at r-project.org wrote:
> Send R-help mailing list submissions to
> r-help at r-project.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://stat.ethz.ch/mailman/listinfo/r-help
>