Displaying 20 results from an estimated 200 matches similar to: "fraction with timelag"
2011 May 09
3
Recursive Indexing Failed
Dear all,
I would like to ask your help concerning an error message I get.
I have the following struct
str(CRagentInTime[[1]])
List of 2
$ timelag: int 0
$ CRagent:List of 50
..$ :List of 3
.. ..$ CRmap: num [1:256, 1:256] NA NA NA NA NA NA NA NA NA NA ...
.. ..$ xy : num [1:2] 10 177
.. ..$ sr : num [1:49] -94.9 -92.8 -79.5 -97.6 -78.4 ...
and I wanted to select all the sr fields
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
2009 Dec 01
3
paste name in for loop?
Hello,
I am trying to create subsets of grouped data (by area size), and use
the area size as part of the output name. The code below works for area
(xout) 1 and 50, the other files are given NA for an area.
A simple example:
xout <- c(1,5,10,25,50,100)
for(i in xout) { print(paste("Areal_Ppt_",xout[i],"sqmi.txt", sep="")) }
[1] "Areal_Ppt_1sqmi.txt"
2006 Feb 14
0
Preserving seconds fraction in PG timestamps when updating?
I have this code:
Link.find(params[:id]).toggle!(''active'')
Before it, its timestamp is:
2005-11-20 20:45:48.741973-07
After:
2005-11-20 20:45:48-07
Why does Rails take it upon itself to truncate the
seconds fraction? How can I get Rails to not change
it?
Thanks,
csn
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best
2011 Jul 07
0
fraction [a] a partitioning of variation
Hi,
After performing a multiple linear regression,
I am looking for an R package that can calculate the fraction [a] a
partitioning of variation. This fraction measures the proportion of variance
of y explained by the explanatory variable x1 (for example) when other
variables (x2, x3 ...) are held constant.
Thank you in advance for your help
--
View this message in context:
2011 Dec 21
1
Gps fraction of degrees function
Dear all, I have the following written example
> coords <- "51°30'48.58\"N"
>
> as.integer(strsplit(coords, "°")[[1]][1])
[1] 51
> as.integer(strsplit(strsplit(coords, "°")[[1]][2], "'")[[1]][1])
[1] 30
> as.numeric(strsplit(strsplit(strsplit(coords, "°")[[1]][2], "'")[[1]][2],
2005 Sep 23
1
dial (iax/X&sip/y) get y fraction earlier
Hello
I like to call to 2 providers
provider X = IAX
provider Y = SIP
exten => _06.,1,Dial(IAX2/X/${EXTEN},30,r)&(SIP/${EXTEN}@Y.Y.Y.Y)
exten => _06.,2,Hangup
Provider X is working but provider Y never shows up.
What's wrong ??
How can I get provider Y working a fraction earlier the provider X
Thanks
Sjaak
2017 Oct 05
0
fraction of null deviance explained by each node/variable in regression trees
I have used packages rpart, mvpart and tree for classification and
regression trees. I want to calculate fraction of null deviance explained
by each node and variable in the tree. For instance, at the first split,
this would be (1 - (sum of residual deviance in each of the two
leaves)/deviance at the root). In the subsequent splits, this formula is
slightly different.
There probably is a function
2015 Mar 05
0
VLC only sees a fraction of Speex wrapped in OGG
Hi,
On Thu, Mar 5, 2015 at 2:18 PM, SellBuy Sammamish <sellbuysam at gmail.com> wrote:
> Friends,
>
> My name is Igor, I am new to this forum.
>
> I have a peculiar problem with my OGG/Speex implementation: I encode a short
> PCM stream in OGG/Speex, but the result can not be read by VLC and MediaInfo
> reports that the file is too short (240ms). In reality the file
2005 Sep 18
1
trimmed mean in R seems to round the trimming fraction
subject: trimmed mean in R seems to round the trimming fraction
to r-help at stat.math.ethz.ch.
Consider the following example of 10 numbers. 10% trimmed mean is correct
but you can see that the result is the same for many trimming fractions
till 0.20!
For example 13% trimmed mean should use interpolation of second and
eighth ordered observation. R does not seem to do this.
The correct 13%
2007 Jul 10
1
Fraction ECDF
Hi all,
I would like to plot part of the emperical CDF. Suppose the variable is x, I
just need the part when x>1,therefore, I am using the following codes.
tail <- x>1
plot(ecdf(x[tail]), do.points=FALSE, verticals=TRUE)
The "x" value starts from 1, but the yaxs still begins from 0, not the
corresponding value when "x" is 1. How can I make it match?
Could anyone
2008 Feb 01
1
calculation fraction/ratio
Dear R users
I wonder if there is a quick way to calculate the ratio/fraction of a
list/data frame. For example, if I have a data frame with two fields:
"Index" and "A". I would like to know the fractions of A's within the same
"Index". That is, for Index =1, three fractions will be "1/(1+2+3)=0.17",
"2/(1+2+3)=0.33", and
2010 May 01
1
bag.fraction in gbm package
Hi, Dear Greg,
Sorry to bother you again.
I have several questions about the 'gbm' package.
if the train.fraction is less than 1 (ie. 0.5) , then the* first* 50% will
be used to fit the model, the other 50% can be used to estimate the
performance.
if bag.fraction is 0.5, then gbm use the* random* 50% of the data to fit the
model, and the other 50% data is used to estimate the
2010 May 16
0
two level fraction factorial design: How to input 'defining relation'?
I am trying to find the important factors from a two level fraction
factorial design (2^{8-4})
I have studied the companion of vikneswaran but would really like a
basic example of how to do this: (adapted to 8 factors):
mydata<-read.table("myfile.txt", header=T)
summary(aov(resp ~ A*B*C*D*E*F*G*H, data = mydata))
However i can't figure out how the input files are supposed to
2011 Nov 06
1
Request for Help: remove zero in fraction from tick labeling
Dear All,
I would like to know how to do the following:
1. suppose I have x values from the ordered from 0, 0.5, 1, and would like to label these three points on the x-axis.
2. However, R labels them as 0.0, 0.5, 1.0. But I wan5 them to be 0, .5, 1, since the former way uses limited space of a multi-subgrap plot by adding extra zeros
Thank you,
Chee
[[alternative HTML version deleted]]
2012 Mar 11
2
Matrix negative fraction power
Dear list,
I understand that to raise matrix A to power (-1/2) we should use something
like this:
eigen(A)$vectors%*%diag(1/sqrt(eigen(A)$values))%*%t(eigen(A)$vectors)
[from previous discussions:
http://r.789695.n4.nabble.com/matrix-power-td900335.html]
But this will only do it for negative sqrt of the matrix not for other
fraction powers like (-3/2).
Seeing that these things be can done
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
2005 Oct 30
0
HOW TO WRITE A DOUBLE EXPONENTIAL FUNCTION
hello
i am a new user of R
I wonna run a double exponential function with nonlinear quantile regresion model
the double exponential function is
Y=( ab1978*ab1979*ab1980*ab1981*ab1982*ab1983*ab1984*ab1985*ab1986*ab1987*ab1988*ab1989* ab1990* ab1991*ab1992*ab1993*ab1994*
6670*ab7175*ab7680*ab8185*ab8690*ab9193*abgg*abgf*abgu*abgj*abgd*abfg*abff*abfu*abfj*abfd*abug*abuf*abuj*abud*
2009 Jul 21
1
bug in approx crashes R
Dear R-devel,
The following line crashes R
> approx(1, 1, 0, method='const', rule=2, f=0, yleft=NULL, ties='ordered')$y
Process R:2 exited abnormally with code 5 at Tue Jul 21 14:18:09 2009
> version
_
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 2
minor 9.1
year
2015 Jun 30
3
Loop for: mostrar el nombre de la variables
Buenos días:
Después de más de 20 años en SAS, ahora igual me toca trabajar en R. Y la transición es muy dura: la "lógica" de los dos lenguajes es, para mi, totalmente diferente. Disculpen si lo que pregunto es una obviedad, pero llevo todo el día con esto y no logro encontrar la respuesta adecuada con google.
Estoy intentado crear una función que realice una descriptiva simple de