Displaying 20 results from an estimated 11000 matches similar to: "vector fragment"
2009 Sep 04
2
help with functions
Hi all,
I have got 2 function (see bellow) which are simplifications of what I need
to do. These functions are precisely the same, except for the last line.
My question is, why doesn't function testA work in the same way as function
testB.
Both functions produce two objects, "a" and "b" that must merged with rbind.
The difference is that in testA, I specify the name
2009 Oct 13
2
axis labels
Dear list,
why does the distance between the axis labels and the tick marks looks
different for x axis and y axis in the plot (see code below).
In fact, the x axis labels look furthest from the tickmarks than in the y
axis.
How can I make them look the same?
par(mfrow=c(1,1), cex.axis = 0.5, cex.lab = 0.5)
plot(1,1, axes = F)
axis(1)
axis(2)
Thanks in advance
Jonas
[[alternative HTML version
2009 Sep 01
2
cbind objects using character vectors
Dear list,
I have a character vector such vec.names<- c("a", "b")
It happens that I have also two R objects called "a" and "b" that I would
like to merge. Is it possible to
do something like cbind(vec.names[1], vec.names[2]) ending up with the same
result as cbind(a,b)
Bellow is a reproducible example of what I need to to:
dat<-
2011 Sep 12
1
Multilevel model in lme4 and nlme
Dear list,
I am trying to fit some mixed models using packages lme4 and nlme.
I did the model selection using lmer but I suspect that I may have some
autocorrelation going on in my data so I would like to have a look using the
handy correlation structures available in nlme.
The problem is that I cannot translate my lmer model to lme:
mod1<- lmer(y~x + (1|a:b) + (1|b:c), data=mydata)
2010 Nov 29
2
Stratosphere - Conquest of the Skies game blacks out screen.
Stratosphere is an old game for Windows 95-98. When played in Wine it will act like it's starting up, then completely blank out the primary screen. The secondary screen will stay open and I can press Ctrl-Alt-F1 and kill the Stratos.exe task, which recovers the screen.
I also attempted to run it in compatibility mode with Windows XP and Vista, but the mouse is very sensitive in the game,
2008 Dec 10
2
missing argument
Dear list,
I have a question and I'm going to give an example of my problem
f<- function(d1, d2, d3)
{
d<- d1*d2/d3
return(d)
}
v1<- 1
v2<- 2
If I try
f(v1, v2, v3)
Error in f(v1, v2, v3) : object "v3" not found
I obviously got the above error message.
I would like to add something to my function to allow me to get a certain
value (say zero)
if one of the arguments is
2016 Oct 28
2
Basic block execution over time
Hello All,
How can I keep track of the different basic blocks of a program executed over time?
Or in other words, how can I annotate the block name (block_a) and the time/cycle at which that blocs (block_a) was executed, and do this for all the blocks on a reasonable simple program?
Regards, Raul.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2011 Sep 06
1
Re: Stratosphere - Conquest of the Skies game blacks out screen.
Funny, I searched for "cannot find a d3d device fullscreen mode" and this post came up, addressing EXACTLY the game I'm trying to play.
I thought that this D3D stuff was supported by wine (I'm using crossover, for Mac).
Is there any information about how to make the fullscreen issue go away so I can play Stratosphere! I bought an old copy from Amazon, so it shouldn't be a
2010 Mar 03
1
End of line marker?
Dear R users,
I am trying to read a huge file in R. For some reason, only a part of the
file is read. When I further investigated, I found that in one of my
non-numeric columns, there is one odd character responsible for this, which
I reproduce bellow:
In case you cannot see it, it looks like a right arrow, but it is not the
one you get from microsoft word in menu "insert symbol".
I
2010 Feb 01
1
Number with fixed digit length - zero fill-up
Dear R-help members,
I'm quite new to R and I apologize for my basic question, but I haven't
been able to find a solution yet.
I try to interpret vector entries as a binary code, but unfortunately
every first digit which is zero disappears.
So how can I set any number (e.g. x = 10110) to a 8-digit zero fill-up (x
= 00010110) in order to address digit indices?
Or other way round, how
2010 Oct 20
1
help identifying clusters
Dear list:
I have a dataset of geographical data that looks like this example data:
dat<- data.frame( lon = c(rnorm(1000, mean=-10), rnorm(1000, mean=10),
rnorm(1000, mean=5)),
lat = c(rnorm(1000, mean=40), rnorm(1000, mean=30), rnorm(1000, mean=0)))
plot(dat$lon, dat$lat)
My positions are clearly clustered (in this example there are 3 clusters).
Is there any R algorithm that
allows me to
2015 May 22
2
[LLVMdev] Problems with instruction scheduling
----- Original Message -----
> From: "Paweł Bylica" <chfast at gmail.com>
> To: "Hal Finkel" <hfinkel at anl.gov>
> Cc: "LLVMdev" <llvmdev at cs.uiuc.edu>, "Jonas Paulsson" <jonas.paulsson at ericsson.com>
> Sent: Friday, May 22, 2015 9:19:14 AM
> Subject: Re: [LLVMdev] Problems with instruction scheduling
>
>
2015 May 22
2
[LLVMdev] Problems with instruction scheduling
----- Original Message -----
> From: "Paweł Bylica" <chfast at gmail.com>
> To: "LLVMdev" <llvmdev at cs.uiuc.edu>
> Sent: Friday, May 22, 2015 8:45:11 AM
> Subject: Re: [LLVMdev] Problems with instruction scheduling
>
>
>
> Any comments?
Not in particular, but I think we're pretty close to applying a rewrite by Jonas Paulsson
2013 Aug 22
2
Intel DX79TO localboot problem with CentOS
Code doesn't just write itself...
Jonas Keidel <jonas at jonas-keidel.de> wrote:
>I like to reactivate this topic because i don't see any changes at the
>last
>time...
>So what about the topic?
>
>
>2013/8/9 Jonas Keidel <jonas at jonas-keidel.de>
>
>> 2013/8/7 Jonas Keidel <jonas at jonas-keidel.de>
>>
>>>
>>>
2010 Oct 18
15
SIP DNS SRV
Hello list.
When using SIP DNS SRV to define a production Asterisk server with high
priority and a backup Asterisk server with a lower priority on this
DNS-server, will this work as follow :
- production server is reachable, so registration of the IP-phone goes
to this server
- production server is unreachable, so registration goes to the backup
Asterisk server
- production server is
2013 Aug 09
2
Intel DX79TO localboot problem with CentOS
2013/8/7 Jonas Keidel <jonas at jonas-keidel.de>
>
>
> 2013/8/6 H. Peter Anvin <hpa at zytor.com>
>
>> On 08/05/2013 11:29 PM, Jonas Keidel wrote:
>> > 2013/8/6 H. Peter Anvin <hpa at zytor.com>
>> >
>> >> What about "chain.c32 hd1" or "chain.c32 hd1 swap"?
>> >>
>> >
>> >
2010 May 31
6
Voicemail : mail attachment to multiple mail-addresses
Hello list,
google returns a discussion on the dev-list when I search for how to
mail a voicemail to multiple mail addresses.
Is there yet a seperator that actually works to define multiple mail
addresses ?
Kind regards,
Jonas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2015 Apr 24
2
[LLVMdev] Multiple connected components in live interval
Hi Jonas,
I won’t have time to look at it this week after all.
I’ll try to do that next week.
If you do not hear back from me by end of next, do not hesitate to ping me!
Cheers,
-Quentin
> On Apr 22, 2015, at 9:32 AM, Quentin Colombet <qcolombet at apple.com> wrote:
>
>>
>> On Apr 21, 2015, at 11:49 PM, Jonas Paulsson <jonas.paulsson at ericsson.com
2015 Apr 22
2
[LLVMdev] Multiple connected components in live interval
I looked at SplitKit, but I am not sure how to best do it, so it would
be great if you could take a look.
/Jonas
On 2015-04-21 19:35, Quentin Colombet wrote:
>> On Apr 21, 2015, at 7:40 AM, Jakob Stoklund Olesen <stoklund at 2pi.dk> wrote:
>>
>>
>>> On Apr 21, 2015, at 05:39, Jonas Paulsson <jonas.paulsson at ericsson.com> wrote:
>>>
>>>
2011 Mar 09
6
SIPAddHeader not working
Hello list,
I notice that the dialplan method SIPAddHeader is not working :
in dialplan :
/exten => s,n,SIPAddHeader(Privacy: id)/
in SIP invite no trace of this header :
/INVITE sip:0473 at sip.domain.be SIP/2.0
Via: SIP/2.0/UDP 192.168.1.106:5063;branch=z9hG4bK-5b2b1b97
From: "VC" <sip:voip2 at sip.domain.be>;tag=729476652f511c67o2
To: <sip:0473 at sip.domain.be>