Displaying 20 results from an estimated 9000 matches similar to: "Problem calling xyplot() within a function"
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),
2009 Jun 29
1
S4 and connection slot [Sec=Unclassified]
Hi all,
I am having a problem trying to declare a slot representation to hold a file connection.
With V2.8.0 I had been using:
setClass("Element",
representation(
[other slots removed],
datafileConn = setOldClass(c("file","connection"))
)
)
This resulted in a warning but still ran okay.
No however with V2.9.0 I am getting
2012 Mar 22
0
Disable AD checking per share in smb.conf [sec=unclassified]
Hi,
Is it possible to have non-authenticating shares on an server with security=ADS ?
I have a RHEL server, with Centrify Express, and joined to a domain, but I would
like to have a samba share that doesn't request a username/password for machines
not on the domain.
When I have a plain windows XP machine (not on the domain) attempt to connect, I
get asked for a username/password.
Is
2012 Apr 23
1
Disable AD checking per share in smb.conf [sec=unclassified]
Hi,
Is it possible to have non-authenticating shares on an server with security=ADS ?
I have a RHEL server, with Centrify Express, and joined to a domain, but I would
like to have a samba share that doesn't request a username/password for machines
not on the domain.
When I have a plain windows XP machine (not on the domain) attempt to connect, I
get asked for a username/password.
Is
2010 Oct 13
1
Wierd nlm behaviour in 2.10.1 and 2.12.0 [Sec=Unclassified]
Hi all,
When upgrading to 2.11.1 recently I noticed different results being produced by my code.
After much digging I have finally narrowed it to a call to nlm().
This can be replicated by:
FixedRemovals<-1836180125888
AbStageInitial<-2223033830403
Rates<- 0.3102445
nlm(function(rootM,Abund,Loss,OtherM)
{(Loss-(rootM/(rootM+OtherM)*
(1-exp(-(rootM+OtherM)))*
2009 May 05
0
S4 slot of type connection [Sec=Unclassified]
I am having trouble declaring a slot of type "connection" or "file" in which to store a file connection.
I get a warning message when class definition is loaded:
In .completeClassSlots(ClassDef, where) :
undefined slot classes in definition of "Element": datafileConn(class "file")
Can anyone suggest what type I should be using for the slot. Type
2010 Oct 04
1
S4 class help pages [Sec=Unclassified]
Hi,
I am working on producing an R package containing mostly S4 classes and methods.
I have generated and filled out all the necessary .Rd files but find that once installed I am unable to access help pages for the classes using the ?package::classname-class syntax that is suggested when using the ?? apropos search. This lists my package classes and the class help pages. Instead, the
2010 Oct 04
2
Recursion error after upgrade to R_2.11.1 [Sec=Unclassified]
Hi all,
After an upgrade from R_2.10.1 to R_2.11.1 I am now getting the following error:
Error: evaluation nested too deeply: infinite recursion / options(expressions=)?
This occurs in the initialize method of S4 classes where I was initialising attributes eg:
.Object[['realtimeState']] <- list()
I can avoid this new error by altering the code to do:
.Object$realtimeState <-
2009 Jun 02
1
S4 Objects [Sec=Unclassified]
I am new to R programming but have dived into a medium sized modelling software development project.
Having come from a Java OO background I have a couple of questions about S4 objects.
Is there a way to make S4 slots (and methods) private and hence force the use of accessor methods?
Is there a straight-forward way to implement pass-by-reference for method parameters?
I am currently
2008 Aug 27
1
ifelse() fill order and recycling rules [Sec=Unclassified]
Hi all,
Using R v2.7.1, platform i386-pc-mingw32
Can someone please shed some light on the behaviour of ifelse() for me?
My intent is to calc relative proportions of z$b, at the same time
subsetting z$b based on z$a. I could attack the problem other ways
(suggestions welcome) but I am also intrigued by the _order_ in which
ifelse seems to assign values, and how recycling works. For instance,
2009 Jun 23
3
V2.9.0 changes [Sec=Unclassified]
Hi all,
Prefix: I am a frustrated Java coder in R.
I am coding a medium sized ecosystem modelling program in R. I have changed to using S4 objects and it has cost me an order of magnitude in execution speed over the functional model. I cannot afford this penalty and have found that it is the result of all the passing-by-value of objects.
I see that you can now safely inherit from
2009 May 12
1
Power function for ratio of lognormal means: two equally valid results? [SEC=Unclassified]
Hi All
This is a general stats problem that I am dealing with using R, so any help is greater appreciated.
I have two lognormal distributions with means M1 and M2.
If we have:
H0: log(M1/M2)=0
H1: log(M1/M2) !=0 equivalent to log(M1/M2)=log(1+P) where P<0 or P>0.
If we calculate the power for a value of P=0.1 or P=-0.1 (i.e. a 10% difference) and say assume SE{log(M1/M2)}=0.05, and
2009 Oct 12
3
xyplot does not find variable in data
When we call a lattice function such as xyplot, to what extent does
the "data" designation cause the function to look inside the "data"
for variables?
In the examples below, the "subset" argument understands that
"Variety" is a variable in the data.
But the "scales" argument does not understand that "nitro" is a
variable in the data.
2018 Oct 03
2
Non-matching linkedid on CDR Records [SEC=UNCLASSIFIED]
Hi asterisk-users,
We have recently moved to the 13.x branch of Asterisk from 11.x, and we're trying to correlate CDR records from multiple-legs for billing purposes.
As part of this change we have added 'linkedid' to our CDR table schema in an attempt to join the multiple records into one billable record.
The call path can be simplified as (transport types in brackets):
SIP
2006 May 01
1
xyplot: trouble changing graphics settings
Hi
I am struggling with the correct code syntax to generate xyplots that are
different from the default graphics option.
This is simplified version of my data:
site size dnaconc prey
A 44 22.6 1
A 47 18.2 1
B 38 25.6 0
B 47 20.5 1
C 45 30.5 0
C 32 18.5 0
D 45 15.0 1
D 22 20.1 0
So I am using xyplot(dnaconc~size|site,data=bug,groups=prey) to generate
4 panels (one for each site).
My
2018 Oct 08
3
Non-matching linkedid on CDR Records [SEC=UNCLASSIFIED]
Hi all,
Just thought I'd update this thread in case anyone else is Googling trying to find out how to do this...
I found the solution to my problem to be to use the IAXVAR() function to pass the accountcode between the Asterisk boxen and update the CHANNEL(accountcode) with that variable.
Thanks to Richard @ Digium for the reply that clarified my misunderstanding.
Calum
On Wed, 2018-10-03
2011 Jan 19
2
xyplot question
Hi all,
I had a weird problem with xyplot and I am wondering if anyone can help me figure out what's wrong here. Basically if I call xyplot() inside a function and I call quartz() after, then the previous xyplot() does not do anything. A short demo of the issue is like this:
library(lattice)
plot.trends <- function()
{
mat <- data.frame(cbind(rnorm(100), rnorm(100)))
names(mat)
2010 Jul 12
2
Xyplot or Tin-R problem?
I ran the following script from xyplot Examples using Tin-R on
Windows and saw no plot produced.
EE <- equal.count(ethanol$E, number=9, overlap=1/4)
xyplot(NOx ~ C | EE, data=ethanol,
prepanel = function(x,y) prepanel.loess(x, y, span=1),
xlab="Compression Ratio", ylab="NOx (micrograms/J)",
panel = function(x,y) {
panel.grid()(h = -1, v=2)
2010 Feb 07
2
conditioned xyplot, many y variables
The example below creates parallel time-series plots of three different y variables conditioned by a dichotomous factor. In the graphical layout,
? Each y variable inhabits its own row and is plotted on its own distinct scale.
? Each level of the factor has its own column, but within each row the scale is held constant across columns.
? The panels fit tightly (as they do
2010 Feb 04
4
xyplot 3 panels 3 different Y variables
Often, when exploring a dataset, I'd like to plot several very different Y variables against the same X variable, in panels stacked one over the other. Is there an easy way to do this?
I'd like to achieve an elegant look similar to the look achieved by lattice in conditioned plots--for instance no space between panels. But unlike in straightforward conditioned plot, each panel may be on a