Displaying 20 results from an estimated 7000 matches similar to: "combining data structures"
2012 May 01
1
VarCorr procedure from lme4
Folks
In trying to use lmer for a hierarchical model, I encountered the
following message:
Error in UseMethod("VarCorr") :
no applicable method for 'VarCorr' applied to an object of class "mer"
foo.mer <- lmer(y ~ TP + (TP|M),data=joe.q)
> head(joe.q[,1:5])
TP M AB Trt y
1 1 Jan A NN 19.20002
2 1 Jan A NN 19.06378
3 1 Jan A NN
2015 Oct 19
2
"failed to connect to the hypervisor"
Hi, all. Ubuntu host, attempting to get virsh working with
VirtualBox... and failing. Here's what happens:
root@foobox:~# virsh -c vbox:///session list
error: failed to connect to the hypervisor
error: internal error: unable to initialize VirtualBox driver API
------------------------------------------------------
Now, most of the docs I read about "failed to connect to the
2015 Oct 20
2
Re: "failed to connect to the hypervisor"
On 2015-10-20 05:33, Martin Kletzander wrote:
> On Mon, Oct 19, 2015 at 03:57:39PM -0400, Ken D'Ambrosio wrote:
>> Hi, all. Ubuntu host, attempting to get virsh working with
>> VirtualBox... and failing. Here's what happens:
>>
>> root@foobox:~# virsh -c vbox:///session list
>> error: failed to connect to the hypervisor
>> error: internal error:
2013 Sep 11
4
getting array of hostnames of clients
I need to get an array of hostnames of clients of the puppet server.
There doesn''t seem to be a simple way to do this so I''ve tried a few
methods.
I''ve tried a curl expression in a fact like this:
curl -s -k -H "Accept: yaml"
https://localhost:8140/production/facts_search/search?facts.nodetypet=testnodes
where I''ve got a nodetype fact which works
2010 Jul 18
5
package "plotrix"
I installed package plotrix because reading its vignette it looks like it can help me solve a "legend" problem.
The package instaleed correctly on my Mac OS/X 10.5.8
But I cannot reproduce the examples centered on function "lgendg".
> library(plotrix)
> plot(0.5,0.5,xlim=c(0,1),ylim=c(0,1),type="n",
+ main="Test of grouped legend function")
>
2017 Sep 10
4
Corosync on a home network
I've been trying to build a model cluster using three virtual machines
on my home server. Each VM boots off its own dedicated partition
(CentOS 7.3). One partition is designated to be the common /home
partition for the VMs, (on the real machine it will mount as /cluster).
I'm intending to run GFS2 on the shared partition, so I need to
configure DLM and corosync. That's where I'm
2010 Mar 27
3
Calling R from c in Windows XP
I'm searching for answers to four questions (I've been searching the net for
hours...)
In Windows XP, is it possible to call R functions from a c program? (I've
found examples for Linux/Unix but not Windows)
If so, is there a simple example to get started using gcc with R-2.10.0?
If so, is it possible to write a simple interface using a c dll to call R
functions from a Visual
2015 Oct 20
0
Re: "failed to connect to the hypervisor"
On Mon, Oct 19, 2015 at 03:57:39PM -0400, Ken D'Ambrosio wrote:
>Hi, all. Ubuntu host, attempting to get virsh working with
>VirtualBox... and failing. Here's what happens:
>
>root@foobox:~# virsh -c vbox:///session list
>error: failed to connect to the hypervisor
>error: internal error: unable to initialize VirtualBox driver API
>
What version of VirtualBox do you
2015 Oct 21
0
Re: "failed to connect to the hypervisor"
On Tue, Oct 20, 2015 at 11:59:03AM -0400, Ken D'Ambrosio wrote:
>On 2015-10-20 05:33, Martin Kletzander wrote:
>>On Mon, Oct 19, 2015 at 03:57:39PM -0400, Ken D'Ambrosio wrote:
>>>Hi, all. Ubuntu host, attempting to get virsh working with
>>>VirtualBox... and failing. Here's what happens:
>>>
>>>root@foobox:~# virsh -c vbox:///session list
2007 Jan 28
2
nnet question
Hello,
I use nnet to do prediction for a continuous variable.
after that, I calculate correlation coefficient between predicted value and
real observation.
I run my code(see following) several time, but I get different correlation
coefficient each time.
Anyone know why?
In addition, How to calculate prediction accuracy for prediction of
continuous variable?
Aimin
thanks,
> m.nn.omega
2008 Apr 10
1
memory issues with 1.1.rc4 (now it's PAM)
Hi!
I'm running 1.1rc4 on a system and this happens occasionally:
--8<--
mail.info; dovecot: auth(default): client in: AUTH 1 PLAIN service=imap lip=NN.NN.NN.NN rip=NNN.NN.NNN.NN lport=143
mail.info; dovecot: auth-worker(default): pam(XXXXXXXXXXXX,NNN.NN.NNN.NN): lookup service=imap
kern.alert; kernel: grsec: From NN.NN.NN.NN: denied resource overstep by requesting
2010 Jun 02
1
compute the associate vector of distances between leaves in a binary non-rooted tree
Hello.
I'd like to compute the associate vector of distances between leaves in a binary non-rooted tree. The definition of a distance between two leaves in a binary non-rooted tree is the number of edges in the path joining the two leaves.
I've tried the ape package but I'm unable to find this vector.
For example, using rtree(5,rooted=F) I've obtained the following tree:
$edge
2003 Jan 29
2
substitute, eval and hastables
I have the following problem. I have an automatically generated named
list with "stringified" names:
a <- list("A"=..., "B"=..., "C"=..., )
then I want to refer to the elements of the list, stored as an vector
of names:
nn <- c("A", "B", "C"), so that I could get list elements like
a$nn[1], a$nn[2], etc. Obviously it
2012 Sep 06
2
choose() function returning anomalous results (zero instead of one)
Hello,
(Apologies for length, wanted to get all the relevant detail in that I know
of).
I've been having a lot of trouble with some code for an inventory analysis
problem I was doing, and finally came to the conclusion that it appears
that choose() is returning incorrect values. Specifically:
-------------
Browse[1]> nn
[1] 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3
2007 Feb 28
4
Help: CallerID Name not being sent on outbound PRI trunk
Outbound calls on my Telus PRI aren't taking the Name portion of the
callerID. I've looked at the logs, and it is being set (see below), but
the PRI debug output doesn't show the name being sent anywhere. As a
result, received calls always display from Unknown (or just the number).
Is there some config that I've missed somewhere?
I'm running NI-1 (Telus says NI-2 doesn't
2008 Mar 25
4
SAXXMLReader
Perhaps the msxml3: Added support for SAXXMLReader causes compilation failure on
my ubuntu gutsy amd64
libxml/SAX2.h: No such file or directory
libxml/SAX2.h was first included from saxreader.c:41
make[2]: [Makefile] Error 1 (ignored)
../../tools/makedep -C. -S../.. -T../.. -I/usr/include/libxml2
-I/usr/include/libxml2 attribute.c cdata.c comment.c docfrag.c domdoc.c
domimpl.c element.c
2005 Sep 13
1
possible bug in model.matrix
Is this a bug, or have I misunderstood the proper use of lm?
Thanks,
Whit
code:
x <- rnorm(50)
y <- matrix(as.logical(round(runif(100),0)),ncol=2)
NROW(x)==NROW(y)
lm(x~y)
> x <- rnorm(50)
> y <- matrix(as.logical(round(runif(100),0)),ncol=2)
> NROW(x)==NROW(y)
[1] TRUE
> lm(x~y)
Error in "[[<-.data.frame"(`*tmp*`, nn, value = c(2, 1, 2, 1, 1, 1, 2,
:
2006 Aug 07
1
mathematica -> r (gamma function + integration)
Dear R-list,
I try to transform a mathematica script to R.
#######relevant part of the Mathematica script
(* p_sv *)
dd = NN (DsD - DD^2);
lownum = NN (L-DD)^2;
upnum = NN (H-DD)^2;
low = lownum/(2s^2);
up = upnum/(2s^2);
psv = NIntegrate[1/(s^NN) Exp[-dd/(2s^2)]
(Gamma[1/2,0,up] + Gamma[1/2,0,low]),{s,sL,sH},
MinRecursion->3];
PSV = psv/Sqrt[2NN];
Print["------------- Results
2009 Apr 02
1
Updating a data frame
Folks,
Updating values in a table is simple in SAS or SQL, but I've wracked my
brain looking for an elegant solution in R to no avail thus far. Certainly
this is a common need that's been solved in dozens of different ways.
Given an initial dataframe nn and a smaller dataframe of updates uu, I'd
like to replace the values in
nn <- expand.grid('a'=1:4, 'b'=1:3)
2014 Dec 05
2
Re Version 4.1.13 can't join domain as BDC
Sat, 06 Dec 2014 07:19:29 +1300 from Andrew Bartlett <abartlet at samba.org>:
>On Fri, 2014-12-05 at 11:50 +0300, ?????? wrote:
>> Hi All
>>
>> Having problem to join Samba as BDC in existing domain
>>
>> PDC - w2003
>>
>> Partition[DC=MKS,DC=lan,DC=net] objects[10114] linked_values[0]
>> Refusing to replicate