Displaying 20 results from an estimated 200 matches similar to: "t.test per line"
2013 Mar 15
3
reviewer comment
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?...
Nom : non disponible
URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20130315/7300f19c/attachment.pl>
2010 May 25
4
R eat my data
HI, Dear R community,
My original file has 1932 lines, but when I read into R, it changed to 1068
lines, how comes?
cdu@nuuk:~/operon$ wc -l id_name_gh5.txt
1932 id_name_gh5.txt
> gene_name<-read.table("/home/cdu/operon/id_name_gh5.txt", sep="\t",
skip=0, header=F, fill=T)
> dim(gene_name)
[1] 1068 3
--
Sincerely,
Changbin
--
Changbin Du
DOE Joint Genome
2010 Feb 17
2
Is the aggregate function the best way to do this?
Hi,
I''m having a dataframe ''Subset1'' with a number of factor variables and 160
numerical variables
Now I want to make sums for all rows that have the same values for the
different factor variables, except for the factor variables: VAR1,VAR2,VAR3
who may have the same values.
With the formula given below this works great, but in a situation with 15000
rows and 13
2010 Apr 30
3
Find solution for an error in the condition of if
Dear r-help,
Could you help me to find a solution for this error:
Il y a eu 50 avis ou plus (utilisez warnings() pour voir les 50 premiers)
> warnings()
Messages d'avis :
1: In if ((data[pa, k] == df[, j]) & (data[ch, k] == i)) { ... :
la condition a une longueur > 1 et seul le premier élément est utilisé
2: In if ((data[pa, k] == df[, j]) & (data[ch, k] == i)) { ... :
la
2011 May 25
1
transpose ?
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?...
Nom : non disponible
URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20110525/acc78a27/attachment.pl>
2010 Apr 14
6
sum specific rows in a data frame
I have a data frame called "pose":
DESCRIPTION QUANITY CLOSING.PRICE
1 WHEAT May/10 1 467.75
2 WHEAT May/10 2 467.75
3 WHEAT May/10 1 467.75
4 WHEAT May/10 1 467.75
5 COTTON NO.2 May/10 1 78.13
6 COTTON NO.2 May/10 3 78.13
7 COTTON NO.2 May/10 1 78.13
2010 Feb 16
2
Error of Stepwise Regression with number of rows in use has changed: remove missing values?
Howdy, R Grues
I have enjoyed R, but I cannot solve one problem easily. Please help my problem.
When I tried the R script, I got the following Error. This error
results from input data file exported through a Excel spreadsheet
software.
Error in step(lm(pop.rate ~ as.numeric(year) + as.factor(policy) +
as.numeric(nation.grant) + ?:
??number of rows in use has changed: remove missing values?
2010 Jan 25
3
binary
Hi all
Assume I have a data set xx;
Group: 1=group1 ?, 2=group2
IQ: ?1= High, 0 =low
fit <- glm(IQ ~group, data = xx, family = binomial())
summary(fit)
Results
?????? ????????????Estimate Std. Error z value Pr(>|z|)
(Intercept) -2.55456??? 0.210 -12.273? < 5e-16 ***
group????????? 0.36180 ?????0.076?? 3.952 ????5.24e-05 ***
the odd ratio = exp(0.36180 )= 1.435912
My question
2009 Sep 09
2
How to sum and group data by DATE in data frame
Dear all,
Lets say I have a data frame as follows:
> Date <- as.Date(c('2006-08-23', '2006-08-30', '2006-09-06', '2006-09-13', '2006-09-20'))
> Income <- c(73.79, 72.46, 76.32, 72.43, 72.62)
> data.frame(Date, Income)
Date Income
1 2006-08-23 73.79
2 2006-08-30 72.46
3 2006-09-06 76.32
4 2006-09-13 72.43
5 2006-09-20 72.62
>
2009 Sep 07
2
Averaging rows if a condition is true.
Dear All,
I have matrix (50000 X 60) of subjects and their responses to a set of questions. All responses are classified into categories (500). I would like to average all subject's responses for each category. I wrote a code using a for loop but is not working. Could please tell me what's wrong with the code? I guess, there is a elegant R way of doing the same thing.
Thanks in advance.
2009 Nov 11
2
Error in lm() function
Hi all,
I wanted to have a seasonality study like whether a particular month has
significant effect as compared to others. Here is my data :
0.10499 0 0 1 0 0 0 0 0 0 0 0
0.00259 0 0 0 1 0 0 0 0 0 0 0
-0.06015 0 0 0 0 1 0 0 0 0 0 0
0.10721 0 0 0 0 0 1 0 0 0 0 0
0.03597 0 0 0 0 0 0 1 0 0 0 0
0.10584 0 0 0 0 0 0 0 1 0 0 0
0.02063 0 0 0 0 0 0 0 0 1 0 0
-0.03509 0 0 0 0 0 0 0 0 0 1 0
-0.03485 0 0 0
2009 Aug 26
4
Select top three values from data frame
Hi,
I'm trying to find an easy way to do this.
I want to select the top three values of a specific column in a subset
of rows in a data.frame. I'll demonstrate.
A B C
x 2 1
x 4 1
x 3 2
y 1 5
y 2 6
y 3 8
I want the top 3 values of B from the data.frame where A=X and C <2
I could extract all the rows where C<2, then sort by B, then take
2011 Dec 15
1
Multicollinearty in logistic regression models
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?...
Nom : non disponible
URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20111215/d9983681/attachment.pl>
2011 May 25
2
Fwd: transpose ?
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?...
Nom : non disponible
URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20110525/4926c5ee/attachment.pl>
2010 Nov 20
2
save a list as a matrix
Hello,
Let's assume that one has a list:
my.list <- list(a=c(1,2,3,4),b=4,c=c(1:7))
I want to save my.list as a matrix in .txt file. Because of different
length we can put NA or 0.
Effect (row.names a, b and c are not necessary)
a 1 2 3 4 0 0 0
b 4 0 0 0 0 0 0
c 1 2 3 4 5 6 7
How to do it?
Thank you.
Robert
2012 Feb 02
1
Draw vertical line segments between pairs of points
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?...
Nom : non disponible
URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20120202/9218c644/attachment.pl>
2017 Jan 20
1
How to handle INT8 data
Right, they are identifiers.
Storing them as String has drawbacks:
- huge to store in memory
- slow to process
- huge to index (by eg data.table columns indexes)
Why not storing them as numeric ?
Thanks,
Le 20 janv. 2017 ? 18h16, William Dunlap ?crivait :
> If these are identifiers, store them as strings. If not, what sort of
> calculations do you plan on doing with them?
> Bill
2004 Jun 02
2
poisson regression with robust error variance ('eyestudy')
Dear all,
i am trying to redo the 'eyestudy' analysis presented on the site
http://www.ats.ucla.edu/stat/stata/faq/relative_risk.htm
with R (1.9.0), with special interest in the section on "relative risk
estimation by poisson regression with robust error variance".
so i guess rlm is the function to use. but what is its equivalent to the
glm's argument "family"
2009 Oct 12
0
Font permissions with X11-adobe
Hi All,
We're trying to get R with the standard gui loaded onto CentOS 4, and
under certain users R will not render certain graphics. When logged in
as root the graphics render, but under the restricted user they don't.
The graphics don't render with the error:
testdata <-
rbind(c(1,2,3,4,5,6),c(3,4,5,4,6,2),c(3,6,7,2,2,1),c(5,4,9,8,9,1))
> pairs(testdata)
Error in
2017 Jan 20
2
How to handle INT8 data
Hi,
I do have < INT_MAX.
This looks attractive but since they are unique identifiers, storing
them as factor will be likely to be counter-productive. (a string
version + an int32 for each)
I was looking to https://cran.r-project.org/web/packages/csvread/index.html
This looks like a good feet for my needs.
Any chances such an external package for int64 would be integrated in core ?
Le 20