Displaying 20 results from an estimated 237 matches for "0.88".
Did you mean:
0.8
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
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)
2006 Jul 20
2
how to print table with more columns per row?
When printing a table it is broken at some point (depending how long are
the associated names)
>>> see example below.
Is there a way to control number of columns being printed for a given
chunk of the table?
Best regards,
Ryszard
> z5
AAAAAAA BBBBBBB CCCCCCC DDDDDDD EEEEEEE FFFFFFF GGGGGGG HHHHHHH
IIIIIII
AAAAAAA 1.00 -0.69 -0.54 -0.88 NA NA NA
2009 Oct 06
2
ggplot cumsum refined question (?)
OK, so maybe last night was a little too much at one throw, so I have
reduced the data to two stations- one that has precipitation and one
that does not. This is going to be in the context of a larger data
set. I would like to be able to issue a ggplot command and have cum
sum just act on the facets (factors) to apply this.
library(chron)
library(ggplot2)
DF <- structure(list(date_time =
2012 Jun 28
3
Storing results in a single file after looping over all files
Hi All,
I have a whole lot of *.raw files in my working folder and I am doing the same analysis on each of those and want to save all the results in a single file. I am making some mistake here and can't figure out how to solve it.
Say, the *.raw files are ABCD.raw, EFGH.raw, IJKL.raw ...
The files are of this format
ID PHI?? aa1? aa2? aa3 ....
1??? 1???? 1.3?? 2.0?? 1.0
2??? 0????
2005 May 25
3
Rounding fractional numbers to nearest fraction
Hi all,
I've got a matrix of fractional data that is all positive and greater than
zero that I would like to "loosely" classify, for lack of a better word. It
looks something like this :
1.07 1.11 1.27 1.59 0.97 0.76
2.23 0.98 0.71 0.88 1.19 1.02
What I'm looking for is a way to round these numbers to the nearest 0.25,
i.e. the above matrix would be
2006 Jan 04
1
silly, extracting the value of "C" from the results of somers2
Sorry I have a very simple question:
I used somers2 function from Design package:
> z<- somers2(x,y, weights=w)
results are:
>z
C Dxy n Missing
0.88 0.76 500 0.00
Now I want to call only the value of C to be used in further analyses, but I
fail to do it. I have tried:
> z$C
NULL
> z[,C]
Error in z[,C]: incorrect number of dimensions
and some other silly
2008 Nov 08
2
lines, ecdf and colors
Hi. I'm trying to plot two ecdf's on the same graph using two
different colors. I can plot using the same color, but it doesn't
work when I change colors? Any suggestions? Thanks in advance for
your help.
x <- c(0.80, 0.83, 1.89, 1.04, 1.45, 1.38, 1.91, 1.64, 0.73, 1.46)
y <- c(1.15, 0.88, 0.90, 0.74, 1.21)
plot(ecdf(x))
# it works without col='blue', but doesn't
2010 Apr 29
1
Periodic regression - lunar percent cover
Dear List,
I am trying include a lunar variable in a model and am having problems figuring out the correct way to include it. I want to convert the percent lunar illumination (fraction of moon showing) to a combination of sin and cos variables to account for the periodic nature of the lunar cycle. Would someone let me know if I am doing this correctly? I have included the first 20 variables
2011 Sep 20
3
Problem with legend
HI,
This code is part of a code I used to do a linear regression:
>points(var1~var2,data=Regress,pch=21,bg="grey")
>reg11<-lm(var1~var2,data=Regress)
>abline(lm(var1~var2,data=Regress),lty=2,lwd=2,col="grey")
>legend("topleft",legend=
>c("NDII from composite",
>"y= 0.0007x - 0.1156",expression(paste(r^2 ==
2005 Oct 05
3
testing non-linear component in mgcv:gam
Hi,
I need further help with my GAMs. Most models I test are very
obviously non-linear. Yet, to be on the safe side, I report the
significance of the smooth (default output of mgcv's summary.gam) and
confirm it deviates significantly from linearity.
I do the latter by fitting a second model where the same predictor is
entered without the s(), and then use anova.gam to compare the
2010 Jan 21
5
Logistic regression
can you do Logistic regression in R, if so how do you do it and how do you
test the fit of a model?
--
View this message in context: http://n4.nabble.com/Logistic-regression-tp1059870p1059870.html
Sent from the R help mailing list archive at Nabble.com.
2006 Jun 28
1
Help with circular statistics
Se ha borrado un texto insertado con un juego de caracteres sin especificar...
Nombre: no disponible
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20060628/32226ee4/attachment.pl
2011 Nov 10
1
newbie's question : xyplot legend with a white background
Hello,
Sorry in advance for adding a silly question on this forum but I haven't
found the right keywords to find a solution to this basic problem.
I'm just looking a way to have a white background behind the legend to hide
the grid.
Thanks in advance.
The silly example for my silly question:
xyplot(1~1,
panel = function(x,y, ...) {
panel.xyplot(x,y)
2008 Oct 06
2
match() (PR#13135)
Full_Name: Willa Chen
Version: 2.7.2
OS: Window XP
Submission from: (NULL) (128.122.182.70)
The match function does not return value properly. See an example below.
> a<-seq(0.6,1,by=0.01)
> match(0.88,a)
[1] 29
> match(0.89,a)
[1] NA
> match(0.90,a)
[1] NA
> match(0.91,a)
[1] NA
> match(0.92,a)
[1] NA
> match(0.93,a)
[1] NA
> match(0.94,a)
[1] 35
2011 Jan 21
4
clustering fuzzy
hello,
i'm pete ,how can i order rows of matrix by max to min value?
I have a matrix of membership degrees, with 82 (i) rows and K coloumns, K
are clusters.
I need first and second largest elements of the i-th row.
for example
1 0.66 0.04 0.01 0.30
2 0.02 0.89 0.09 0.00
3 0.06 0.92 0.01 0.01
4 0.07 0.71 0.21 0.01
5 0.10 0.85 0.04 0.01
6 0.91 0.04 0.02 0.02
7 0.00 0.01 0.98 0.00
8 0.02
2007 Sep 13
1
Problem using xtable on an array
Hi all
I know about producing a minimal example to show my problem. But I'm
having trouble producing a minimal example that displays this
behaviour, so please bear with me to begin with.
Observe: I create an array called model.mat. Some details on this:
> str(model.mat)
num [1:18, 1:4] -0.170 -0.304 -2.617 2.025 -1.610 ...
- attr(*, "dimnames")=List of 2
..$ : chr
2012 Oct 06
3
vector is not assigned correctly in for loop
Hi there,
Here is a minimum working example:
----------------------------------------------------------------
lower = 0
upper = 1
n_bins = 50
interval = (upper - lower) / n_bins
bins = vector(mode="numeric", length=n_bins)
breaks = seq(from=lower + interval, to=upper, by=interval)
for(idx in breaks)
{
bins[idx / interval] = idx
}
print(bins)
2009 Sep 02
2
Normalized Y-axis for Histogram Density Plot
I have the following data which I tried to draw
the probability density plot.
Here is the code I have:
x <- read.table("mydat.txt");
d <- rep(x$V2,times=x$V3);
hist(d,probability=T, xlab="FlowSignal");
But why the y-axis range from 0 to 6,
instead of 0 to 1? What's the correct way to plot it?
#id flowsignal frequency
1 0.67 1
1 0.70 1
1
2006 May 19
2
my first R program
Hello,
This is my first attempt at using R. Still trying to figure out and understand
how to work with data frames.
I am trying to plot the following data(example). Some experimental data i am
trying to plot here.
1) i have 2 files
2) First File:
Number Position
1 120
2 134
3 156
4 169
5 203
3) Second File:
Col1 Col2 p-val
1 2 0.45
1 2 0.56
2 3 0.56
2 3 0.68
2 3