Displaying 20 results from an estimated 204 matches for "0.84".
Did you mean:
0.8
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
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
2012 Apr 08
2
xyplot() does not plot legends with "relation=free" scales
Hi all,
I have this problem with lattice that xyplot() won't draw some of my axis labels if the type (i.e. the relation argument) of scales is set as free. For example, in the plot below, I would want it to also show:
1. the labels E1,...E6 below the 10th panel (i.e. 3rd row, 2 col)....just as it is now done below the 12th panel....
2. as well as the labels (2,4,6,8) on the top of panels 1
2013 Feb 08
2
qcc package
Greets,
My data looks like:
> p3.18
s xbar subgroup
1 0.84 12.2 1
2 1.64 11.2 2
3 2.07 10.6 3
4 2.49 12.2 4
5 0.84 11.2 5
...
Using the command
> qcc(p3.18$xbar,type="xbar",sizes=5,center=mean(p3.18$xbar),std.dev=mean(p3.18$s)/0.94,title="X-bar Chart for Paper Sheet Length Data")
I get the x-bar chart I expect.
However,
2012 May 17
1
extract data from square cracket
Dear Sir or Madam,
I have a question like this. I want to extract the following data from the
square bracket:
1 band band [0.86]
2 band band [0.93]
3 noband noband [0.95]
4 noband noband [0.91]
5 noband noband [0.89]
6 noband noband [0.84]
7 noband
2012 Feb 20
2
stats on transitions from one state to another
Folks,
I'm trying to get stats from a matrix for each transition from one state to another.
I have a matrix x as below.
structure(c(0, 2, 2, 2, 0, 0, 0, 1, 1, 1, 1, 2, 2, 1, 1, 1, 0,
0, 2, 2, 0.21, -0.57, -0.59, 0.16, -1.62, 0.18, -0.81, -0.19,
-0.76, 0.74, -1.51, 2.79, 0.41, 1.63, -0.86, -0.81, 0.39, -1.38,
0.06, 0.84, 0.51, -1, -1.29, 2.15, 0.39, 0.78, 0.85, 1.18, 1.66,
0.9, -0.94,
2009 Dec 04
1
Apparent different in symbol scaling between xyplot and grid.points
Dear R-users,
For the past few days, I have been trying to find the reason why some of
my plots were showing symbols of different sizes, while I thought I was
using the same .cex arguments everywhere. The problem is exemplified by
the following example code where the xyplot and grid.points functions
are used. The scaling factor is set to 0.84 in both the functions
settings, but one can see
2007 Sep 19
3
Smooth line in graph
Hi,
I?m trying to get smooth curves connecting points in a plot using
"spline" but I don?t get what I whant.
Eg.:
x<-1:5
y <- c(0.31, 0.45, 0.84, 0.43, 0.25)
plot(x,y)
lines(spline(x,y))
Creates a valley between the first and second points, then peaks at 3rd,
and another valley between 4th and 5th. I?m trying to get a consistently
growing curve up to the 3rth point and then a
2006 Jan 04
1
write out data in format
Hi,
how to write out data frame in format? for examples, I wrote out a data
using 'write.table(siredata, file='siredata.txt', row.names=F,
quote=F)'.
it produced data alike this:
2882 1 0 0 0 0 L1600481991910012 L1600011988880196
2883 0.79 0.21 0 0 21 L1622881993930001 L1600481991910012
2884 0.84 0.16 0 0 23 L1622881993930005 L1600481991910012
2885 0.9 0.1 0 0 23
2005 Oct 19
1
clustering algorithm detail
Hi all,
I wanted to run the hclust (or any other clustering algorithm) on a distance matrix. I have formed the distance matrix as:
distmat:
a b c d e
a 0.00 0.96 1.60 1.60 1.68
b 0.96 0.00 0.96 1.80 2.64
c 1.60 0.96 0.00 0.84 1.80
d 1.60 1.80 0.84 0.00 0.96
e 1.68 2.64 1.80 0.96 0.00
2010 Sep 08
1
Extracting elements from list: Is [[ always faster than $ ??
Dear list
It seems to me that extracting elements from a list using '[[' is somewhat faster than using '$'. For example:
> x <- as.list(1:25)
> names(x) <- letters[1:length(x)]
> dput(x)
structure(list(a = 1L, b = 2L, c = 3L, d = 4L, e = 5L, f = 6L,
g = 7L, h = 8L, i = 9L, j = 10L, k = 11L, l = 12L, m = 13L,
n = 14L, o = 15L, p = 16L, q = 17L, r =
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
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)
2013 Feb 23
2
assign index to colnames(matrix)
Hello, I’m trying to follow the syntax of a script from a journal website. In order to create a regression formula used later in the script, the regression matrix must have column names “X1”, “X2”, etc. I have tried to assign these column names to my matrix ScoutRSM.mat using a for loop, but I don’t know how to interpret the error message. Suggestions? Thanks, Paul
2006 May 29
3
mtext in trellis-loop & colorkey
Hello,
I would like to create a sequence of plots (using a for loop). I read
in the FAQ that print() has to be used in order to obtain any output.
This works perfectly fine as long as I only consider one function
call in the loop, but I would like to add mtext() to the each plot in
the loop. Unfortunately, this did not work. Any suggestions?
As you can see from the provided example,
2003 Feb 28
2
optim
Dear all,
I have a function MYFUN which depends on 3 positive parameters TETA[1],
TETA[2], and TETA[3]; x belongs to [0,1].
I integrate the function over [0,0.1], [0.1,0.2] and
[0.2,0.3] and want to choose the three parameters so that
these three integrals are as close to, resp., 2300, 4600 and 5800 as
possible. As I have three equations with three unknowns, I expect the
exact fit, i.e., the SS
2011 May 01
1
Simulation Questions
I have the following script for generating a dataset. It works like a champ except for a couple of things.
1. I need the variables "itbs" and "map" to be negatively correlated with the binomial variable "lunch" (around -0.21 and -0.24, respectively). The binomial variable "lunch" needs to remain unchanged.
2. While my generated variables do come out
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,
2004 Jun 22
2
question about window and inserting value
Hi again R People:
I have the following time series:
>x.ts
Jan Feb Mar Apr May Jun Jul Aug Sep
2000 0.95 0.66 0.83 0.66 -1.45 -1.25 0.33 1.03 -0.48
2001 2.55 1.21 -1.10 -0.63 0.01 -2.20 -0.51 1.12 1.11
2002 -1.37 0.55 -0.63 -0.56 0.92 -1.73 0.59 0.77 0.30
2003 0.55 -0.01 -0.54 2.27 -1.29 -0.23 0.09 -0.50 -0.61
Oct Nov Dec
2000 0.84 -1.35
2008 Jul 20
3
asp and ylim
#See David Williams' book "Weighing the odds", p286
y <- c(1.21, 0.51, 0.14, 1.62, -0.8,
0.72, -1.71, 0.84, 0.02, -0.12)
ybar <- mean(y)
ylength <- length(y)
ybarv <- rep(ybar, ylength)
x <- 1:ylength
plot(x,y,asp=1,xlab="position",ylab="ybar",type="n",ylim=c(-1,1))
segments(x[1], ybar, x[ylength], ybar)
segments(x,ybarv,x,y)