Displaying 20 results from an estimated 252 matches for "0.78".
Did you mean:
  0.7
  
2013 Mar 06
3
About basic logical operators
Hello everyone,
          I have a basic question regarding logical operators.
> x<-seq(-1,1,by=0.02)
> x
  [1] -1.00 -0.98 -0.96 -0.94 -0.92 -0.90 -0.88 -0.86 -0.84 -0.82 -0.80 -0.78
 [13] -0.76 -0.74 -0.72 -0.70 -0.68 -0.66 -0.64 -0.62 -0.60 -0.58 -0.56 -0.54
 [25] -0.52 -0.50 -0.48 -0.46 -0.44 -0.42 -0.40 -0.38 -0.36 -0.34 -0.32 -0.30
 [37] -0.28 -0.26 -0.24 -0.22 -0.20 -0.18 -0.16
2008 Apr 09
1
simple intro to cluster analysis using R
I am looking for simple introduction to cluster analysis using R, that would 
be understandable to a novice in statistics. Or, could someone perhaps help 
me understand how to proceed in my analysis? I am very new to both statistics 
and R, but am trying hard to avoid having to use SPSS as everyone around 
me...
I have dataset on people presenting their opinions on different religious 
2004 Feb 03
5
creating a factor
Hi list,
I'd like to make a factor with seven 1s and three 2s using the
factor() function. 
That is,
1
1
1
1
1
1
1
2
2
2
 
I will then bind this factor to the matrix below using cbind.data.frame().
0.56	0.48
0.22	0.59
0.32	0.64
0.26	0.60
0.25	0.38
0.24	0.45
0.56	0.67
0.78	0.97
0.87	0.79
0.82	0.85
I am new to R and have been using various manuals and have made many attempts without
2013 May 15
1
x and y lengths differ
I have a problem with R. I try to compute the confidence interval for my
df. When I want to create the plot I have this problem: Error in
xy.coords(x, y, xlabel, ylabel, log) : 'x' and 'y' lengths differ.
I try this code:
library(dplR)
df.rwi <- detrend(rwl = df, method = "Spline",nyrs=NULL)
write.table(df.rwi,file="rwi.txt",quote=FALSE,row.names=TRUE)
2011 Sep 06
2
subsetting tables
Hi guys,
one of the questions where you need a real human instead of a search engine,
so it would be great if you could help. 
I have a matrix of z-scores which I would like to filter, sometimes
columnwise, sometimes rowwise. Data looks like this:
  Allstar hsa.let.7a hsa.let.7a.1 hsa.let.7a.2
2    0.87       0.79        -0.57         1.07
3    0.67      -1.14        -0.78        -0.95
4  
2006 Jul 11
1
Query about getting averages across a certain parameter in a table
Hi
I have a table that goes 
data
cluster_ac  clockrate age class
7337         0.9       0.001  alpha_proteins
7888         0.1       0.78   beta proteins
etc
The class column can have 7-8 different unique values
While the clockrate and age columns are floats varying
from 0 to 1.
I wish to get the average clockrate across each of the
classes for this data.
I would appreciate your help
2011 Jul 11
3
quantile regression: out of memory error
Hello,  I?m wondering if anyone can offer advice on the out-of-memory error I?m getting. I?m using R2.12.2 on Windows XP, Platform: i386-pc-mingw32/i386 (32-bit).
I am using the quantreg package,  trying to perform a quantile regression on a dataframe that has 11,254 rows and 5 columns.
> object.size(subsetAudit.dat)
450832 bytes
> str(subsetAudit.dat)
'data.frame':   11253 obs.
2011 Aug 19
2
display only the top-right half of a correlation matrix?
Dear all
Is there an easy way to display only one half (top-right or
bottom-left) of a correlation matrix?
> require(Hmisc)
> rcorr(as.matrix(mtcars[ , 1:4]))
       mpg   cyl  disp    hp
mpg   1.00 -0.85 -0.85 -0.78
cyl  -0.85  1.00  0.90  0.83
disp -0.85  0.90  1.00  0.79
hp   -0.78  0.83  0.79  1.00
n= 32
P
     mpg cyl disp hp
mpg       0   0    0
cyl   0       0    0
disp  0   0    
2012 Nov 13
4
for loop
HI,
You can do this in many ways:
dat1<-read.table(text="
med1,med2,med3???? 
?1,0,1?????? 
0,1,1??? 
2,0,0 
",sep=",",header=TRUE)?? 
#1st method
library(reshape)
dat2<-melt(dat1)
dat3<-aggregate(dat2$value,by=list(dat2$variable),sum)
?colnames(dat3)<-c("name","sum(n11)")
?dat3
#? name sum(n11)
#1 med1??????? 3
#2 med2??????? 1
#3 med3??????? 2
2012 Aug 11
3
help counting in data
Hi
>i have this data
> X
 [1]    5.79 1579.52 2323.70   68.85  426.07  110.29  108.29 1067.60   17.05  
22.66
[11]   21.02  175.88  139.07  144.12   20.46   43.40  194.90   47.30    7.74   
0.40
[21]   82.85    9.88   89.29  215.10    1.75    0.79   15.93    3.91    0.27   
0.69
[31]  100.58   27.80   13.95   53.24    0.96    4.15    0.19    0.78    8.01  
31.75
[41]    7.35    6.50   
2015 May 04
2
Problem with adding slots to S4 object
Dear all,
I'm trying to create a virtual S4 class with some subclasses. I noticed
that adding slots to this class increases the memory use and slows the
functions down. Note that I'm adding very small slots (integer or character
both of length 1).
I've made a reproducible example at
https://github.com/ThierryO/testvirtualclass. The R CMD check --as-cran
fails on the tests.
Some of
2012 Jul 30
2
distance matrix and hclustering
Dear R Users,i am very new to R. I want your help on an issue regarding distance matrix and cluster analysis
i had discharge data of 4 rivers(a,b,c,d) in 4 vectors each having 364 values
> dput(qmu)structure(list(a = c(0.26, 0.25, 0.25, 0.25, 0.24, 0.23, 0.22, 0.21, 0.21, 0.21, 0.2, 0.19, 0.19, 0.19, 0.19, 0.18, 0.18, 0.18, 0.17, 0.17, 0.17, 0.17, 0.17, 0.17, 0.17, 0.17, 0.17, 0.17, 0.17, 0.17,
2015 May 05
1
Problem with adding slots to S4 object
There are too many arguments in the signature of the my_inla generic. The
signature defaults to every argument in the formals, which are probably
already over-specified. Typically, one defines a generic with the formals
(x, ...), or perhaps in this case (x, model, ...), but more on that below
Unrelated to this issue, the my_inla generic is defined incorrectly. It
should call
2006 Sep 18
2
problems in sourcing R script
Dear list,
First my information:
platform       i386-pc-linux-gnu
arch           i386
os             linux-gnu
system         i386, linux-gnu
status
major          2
minor          3.1
year           2006
month          06
day            01
svn rev        38247
language       R
version.string Version 2.3.1 (2006-06-01)
Now my question:
How is it possible that a command in an R script is not
2015 May 05
0
Problem with adding slots to S4 object
Dear all,
I did some more work in this.
- put all the metadata in a dedicated subclass (see metadataclass branch in
github repository). This doesn't solve the problem.
- test the code under R 3.1.2. This gives the same problem. So this is NOT
a bug introduced by R 3.2.0 :-)
- Profiling the code. Below the summary (code is on GitHub). It seems like
most of the time is spent by paste(). Note
2008 Mar 16
1
pretty formatting of lists
Hello,
is there already a function in any R package which does
source code formatting of deparsed lists?
Let's create the following list:
x <- list(a = round(rnorm(3), 2),
           b = round(rnorm(3), 2))
xx <-c(aa = round(rnorm(30)), f = function(a) a + b, list(x, x))
Now, I want deparse it in a way that yields something like:
list(
   aa = c(0.25, 0.18, 0.84, -1.25, 0.09,
2009 Sep 08
1
rcorrp.cens and U statistics
I have two alternative Cox models with C-statistics 0.72 and 0.78. My question is if 0.78 is significantly greater than 0.72. I'm using rcorrp.cens. I cannot find the U statistics in the output of the function. This is the output of the help example:
> x1 <- rnorm(400)
> x2 <- x1 + rnorm(400)
> d.time <- rexp(400) + (x1 - min(x1))
> cens   <- runif(400,.5,2)
> death
2011 Mar 11
5
How to calculate means for multiple variables in samples with different sizes
Hello R-helpers:
I have data like this:
sample    replicate    height    weight    age
A    1.00    12.0    0.64    6.00
A    2.00    12.2    0.38    6.00
A    3.00    12.4    0.49    6.00
B    1.00    12.7    0.65    4.00
B    2.00    12.8    0.78    5.00
C    1.00    11.9    0.45    6.00
C    2.00    11.84    0.44    2.00
C    3.00    11.43    0.32    3.00
C    4.00    10.24    0.84    4.00
D 
2011 Aug 19
1
Hmisc::rcorr on a 'data.frame'?
Dear all
?Hmisc::rcorr states that it takes as main argument "a numeric
matrix". But is it normal that it fails in such an ugly way on a data
frame? (See below.) If the function didn't attempt any conversion to a
matrix, I would have expected it to state that in the error message
that it didn't accept 'data.frame' objects in its input. Also, I
vaguely remember having used
2003 Jan 17
2
read.table bug in Mac OS X (PR#2469)
Full_Name: George W. Gilchrist
Version: 1.6.2
OS: OS X
Submission from: (NULL) (128.239.124.126)
Start with a tab-delimited or comma-delimited text file created on the Mac and
use read.table("filename.txt", header=T) to read it in. When the first column of
the file contains a character vector, and there is a header line, the first
letter of the first column of the fifth row is appended