Displaying 20 results from an estimated 300 matches similar to: "How to add e.g. lines to a zoo plot?"
2007 Feb 02
1
Newbie problem: Vectorizing a minimum function with constraints
Sorry, if this question is rather basic, but being a newbie I still have
problems to think in the "R way".
My problem is as follows:
- I have a data frame X with stock prices X$Price and corresponding
dates X$Date.
- Now I want to get for each date x in X$Date the index z, such that
z = min (a | X$Date(a)>x and X$Price(a)>Price(x)
To put it simple, I am looking for the
2002 Aug 26
1
Win2K: "access denied" from samba printer
Dear list members,
we are running samba 2.2.3a-6 with debian woody.
Printing from win98, NT4.0 AND two win2k PC works,
but with two other win2k PCs printing is not possible:
The following german error Message is displayed in the win2k
printer configuration: "Zugriff verweigert; kein Verbindung m?glich"
The english translation could be something like this:
"access denied; no
2001 Dec 13
3
Access denial
Hi,
My name is Tom Faulhaber. I am the network administrator at a small company
in Providence,RI.
I am running Samba 2.2.2 on a Redhat 6.1 machine on a Novell 4.21 network.
The workstations are Win98SE. The Linux box is being used for the company
intranet (Apache 1.3.22).
Everything runs fine, however I am completely stumped on one issue (so far).
That issue is: network connectivity. If I
2004 Dec 07
3
Question about e1/digium
Hi all I am beginning in asterisk and am making tests with an ata-186.
For the time being the tests are going well, however have a doubt.
I am thinking about using a canal e1 with plate digium.
Assuming that the company of telecommunications supplies e1 with 30 canals
and numeration to me 4000-0001 4000-0029. she is possible to configure
asterisk
in way that somebody of is dials 4000-0025, to
2007 Mar 12
1
How to avoid a for-loop?
Hi all,
as I am trying to move slowly from just "working" to "good" code, I'd
like to ask if there's a smarter way than using a for-loop in tasks like
the example below.
I need to obtain the extrema of the cumulated sum of a detrended time
series. The following code is currently used, please have a look at the
comments for my questions and remarks:
system.time({
X
2008 Mar 12
1
generalized linear mixed models with a beta distribution
Greetings,
I am interested in using a generalized linear mixed model with data that
best fits a beta distribution (i.e., the data is bounded between 0 and 1
but is not binomial). I noticed that the beta distribution is not
listed as an option in the "family objects" for glmmPQL or lmer. I
found a thread on this listserve from 2006 ("[R] lmer and a response
that is a
2006 Feb 06
3
power and sample size for a GLM with poisson response variable
Hi all,
I would like to estimate power and necessary sample size for a GLM with
a response variable that has a poisson distribution. Do you have any
suggestions for how I can do this in R? Thank you for your help.
Sincerely,
Craig
--
Craig A. Faulhaber
Department of Forest, Range, and Wildlife Sciences
Utah State University
5230 Old Main Hill
Logan, UT 84322
(435)797-3892
2002 Aug 27
0
win2k: "printer port is not installed"
Dear list members,
we are running samba 2.2.3a-6 with debian woody.
Printing from win98, NT4.0 works,
but with a win2k PCs printer installation is not possible:
The Network Printer Installation in win2k works fine with no
errors but when we have a look at the printers Properties / Ports
there was no Network Printer added by the installation procedure.
The following german error Message is
2006 Mar 08
1
power and sample size for a GLM with Poisson response variable
Craig, Thanks for your follow-up note on using the asypow package. My
problem was not only constructing the "constraints" vector but, for my
particular situation (Poisson regression, two groups, sample sizes of
(1081,3180), I get very different results using asypow package compared
to my other (home grown) approaches.
library(asypow)
pois.mean<-c(0.0065,0.0003)
info.pois <-
2008 Mar 17
1
generalized linear mixed models with a beta distribution [Sec=Unclassified]
Craig A Faulhaber wrote:
>I am interested in using a generalized linear mixed model with data
> that best fits a beta distribution (i.e., the data is bounded between
> 0 and 1 but is not binomial).
..
>For clarification, here's what I'm trying to model:
>I have a beta-distributed response variable (y). I have a fixed-effect
>explanatory variable (treatment),
2005 Aug 18
4
New FreeBSD Security Officer
Hello Everyone!
It has been my pleasure and privilege to serve as the FreeBSD
Security Officer for the past 3+ years. With the crucial support of
the FreeBSD Security Team members, a lot has been accomplished:
hundreds of security issues have been researched and tracked, with
some resulting in security advisories and patches; software in the
Ports Collection are updated more quickly
2007 Mar 26
3
Is the random number generator biased?
Hi all,
in order to verify some results I did the following test in R (2.4.1.,
windows system):
X <- cumsum(rnorm(1000000))
for (i in 1:1000) {
tmp <- seq(1,length(X),by=i)
X.coarse <- X[tmp]
X.return <- diff(X.coarse)
X.scale.mean[i] <- mean(X.return)
}
plot(X.scale.mean,type="l")
As X is a random walk with
2005 Mar 28
2
Generating list of vector coordinates
Hi.
Can anyone suggest a simple way to obtain in R a list of vector
coordinates of the following form? The code below is Mathematica.
In[5]:=
Flatten[Table[{i,j,k},{i,3},{j,4},{k,5}], 2]
Out[5]=
{{1,1,1},{1,1,2},{1,1,3},{1,1,4},{1,1,5},{1,2,1},{1,2,2},{1,2,3},{1
,2,4},{1,2,
5},{1,3,1},{1,3,2},{1,3,3},{1,3,4},{1,3,5},{1,4,1},{1,4,2},{1,4,3},
{1,4,
2003 Oct 06
1
vixie cron issue.
Well i haven't seen anyone talk about this, so i was just wondering
if FreeBSD is affected by this.
http://xforce.iss.net/xforce/xfdb/6508
1999 Dec 27
1
Anything for fractals ?
Hallo,
I am a newbie to R and desperatley seeking some material about fractal
geometry. I found the great library on wavelet analysis of images and
I'm now also keen on finding a similar package for calculating fractal
parameters for given images.
Does anybody know something about such a package? Every hint is greatly
appreciated!! I searched already the database, but did not find anything
2005 Mar 08
4
Wildcard X100P or TDM400P?
I'm looking to add a single FXO port to my Asterisk box. It looks like
my options are a Digium Wildcard X100P off eBay for $6.99, or a
Wildcard TDM400P with an FXO Module from Digium for $125.
Can anyone explain the tradeoffs (other than the ability to put 4
FXO/FSO modules on the TDM400P). What about RTC for the system - I
know the TDM400P provides it. Does the X100P?
Thanks!
2005 Sep 28
3
is it possible to form matrix of matrices...and multiple arrays
Dear sirs,
1...........Kindly tell me is it possible to form a matrix which contains a no of matrices..
for eg..
if a,b,c,d are matrices....
and e is a matrix which contains a,b,c,d as rows and columns..
2..........Is it possible to form array of array of arrays
for eg..
"A" contains two set of arrays (1,2)...and each A[1] and A[2] individually contains two set of arrays
I tried like
2005 Apr 19
2
indexing an array using an index-array, but one entry being ', '
Hi
I have the following array:
test <- array(c(1:16), dim = c(3,4,3))
test
## I call some enries using an index array
test.ind <- array(rbind(c(1,2,1), c(3,3,2)), dim = c(2,3))
test[test.ind]
## suppose I want all values in the 2nd row and 4th col over
## all three 3rd dimensions
test[2,4,]
how to specify a test.ind array with the last index left with ',' i.e
test.ind should be
2003 Oct 16
1
princomp with more coloumns than rows: why not?
As of R 1.7.0, princomp no longer accept matrices with more coloumns
than rows. I'm curious: Why was this decision made?
I work a lot with data where more coloumns than rows is more of a rule
than an exception (for instance spectroscopic data). To me, princomp
have two advantages above prcomp: 1) It has a predict method, and 2)
it has a biplot method.
A biplot method shouldn't be too
2009 Mar 02
2
R-code help for filtering with for loop
Dear Sir / Madam,
I am new for R coding. Kindly help me out in sorting out the following problem.
There are 50 rows with six coloumns(you could see in the attached .txt file). I
wish to go for filtering this 50 rows for any one of the six coloumns
satisfying the value >= 64.
I need to have a final table with rows having >= 64 value in any one of the six
coloumns and the rest could be