Displaying 20 results from an estimated 250 matches for "shoud".
Did you mean:
should
2008 Feb 26
2
Kalman Filter
...um likehood? If so how
does look the likehood function?
3)Finaly, I dont understand smooting problem. What I know is that, if I
have t observations of some time serie, I can use function KalmanRun to get
estimates of state vector. And if I gain aditional observations of time
serie( T > t ), I shoud use KalmanSmooth function to smooth estimates of
state vector. I dont understand, that how shoud I "tell" to KalmanSmooth
funtion that I allready did filtering and it shoud use the values from
filtering to smoothing.
I will be glad if you help me. I hope that my folmulations were correct...
2018 Jan 04
2
format integer numbers with leading 0
Dear R-er,
I would like format integer number as characters with leading 0 for a
fixed width, for example:
1 shoud be "01"
2 shoud be "02"
20 should be "20"
Now I use:
x <- c(1, 2, 20)
gsub(" ", "0", format(x, width=2))
But I suspect more elegant way could be done directly with format
options, but I don't find.
Thanks a lot
Marc
2008 Nov 28
6
How to delay failed ssh auth
Hi!
I need to delay failed ssh password authentication as an additional
measure against brute force ssh attacks. I understand, that shoud be
accomplished through pam, but googling gave me no example. I have CentOS
5.2.
--
Veiko Kukk
2005 Nov 28
6
How define global Variable?
Hello,
I try to define a global variable.
My example:
R> a <- "old"
R> test <- function () { a <- "new" }
R> test()
R> a # shoud be "new"
This doesn't work. I would like to modify the variable "a" in a
procedure. How can I do that.
Thank you for helping.
Sven Kn侟ppel (Germany-Berlin)
2003 Feb 19
5
Subpopulations in Complex Surveys
Hi,
is there a way to analyze subpopulations (e.g. women over 50, those who
answered "yes" to a particular question) in a survey using Survey package?
Other packages (e.g. Stata, SUDAAN) do this with a subpopulation option to
identify the subpopulation for which the analysis shoud be done. I did not
see this option in the Survey package. Is there another way to do this?
*********************************************************
Prediction is very difficult, especially about the future.
-- Niels Bohr
2005 Jul 27
3
how to overlook the zero in the denominator
...x<-c(0,0,0.28,0.55,1.2,2,1.95,1.85,
1.6,0.86,0.78,0.6,0.21,0.18)
y<-c(0,0,0,0.53,1.34,1.79,2.07,1.88,
1.52,0.92,0.71,0.55,0.32,0.19)
i<-1:length(x)
I want to sum each (x[i]-y[i])^2/x[i] together,
like:
>Sum <-sum((x[i]-y[i])^2/x[i])
>Sum
[1] NaN
Because the denominator shoud not be zero.
So I want to overlook those when x[i]=0,
and just to sum those x[i] not equal to 0.
What should I do?
Any suggestion.
Thanks in advance !!
2006 Jul 25
2
Cron not sending e-mails anymore
Hi,
I have a cronjob that executes a script that has some echo statements
in it and the commands in it also generate output (it copies files,
reloads services, etc...).
Recently, cron stopped sending its output by e-mail. I restarted cron,
without success. Any ideas where I shoud start to debug this?
Regards,
Ugo
2013 Feb 04
2
Version 5.01 not passing kernel command line args to memtest86+as it can understand
...ging the memtest86+,
the check at main.cpp function static void parse_command_line(void)
if (*OLD_CL_MAGIC_ADDR != OLD_CL_MAGIC)
return;
Is being evaluated to true. What should I do? There is a way to
instruct memtest to use the "old way" to pass parameters to memtest or
shoud I try to patch memtest?
This is my menu label:
label Memtest
linux /boot/memtest.bin console=ttyS1,115200
Thank you.
2005 Jan 10
3
Mixing portrait/landscape in a postscript file
...ich are printed in a single postcript device opened by
> trellis.device(postscript, theme=canonical.theme("postscript",
color=F), file="an_phase2_graph.ps", paper="a4", pointsize = 10,
onefile=TRUE, horizontal=TRUE)
Everything works fine,but some of these plots shoud be printed in a
portrait orientation to look better. I tried to include [...]
par.settings = list(horizontal=FALSE) [...] in the lattice plots
arguments, but with no success. Is there a way to mix different page
orientation in a single postscript device that I missed ?
--
Ir. Yves BROSTAUX
Un...
2008 Sep 17
2
modifying patterns in a matrix
...n-events, e.g.
temp <- rbind(c(0,1,0,0,1,1,1,0), c(0,0,0,1,0,0,0,0))
For each row in the matrix, I would like to replace a singelton event by a 0. That is, any 1 surrounded by zeroes (010) should be replaced by a zero (000). Sequences of 1's should be left unchanged.
So the modified matrix shoud look like this:
00001110
00000000
How can I do this in R?
Thanks,
Stacey
__________________________________________________________________
[[elided Yahoo spam]]
[[alternative HTML version deleted]]
2014 Dec 07
3
[PATCH] Improve LPC order guess
Op 04-12-14 om 20:05 schreef Erik de Castro Lopo:
> Martjin, are you able to make your test material available? DO
> you have any test scripts your use to run your tests?
Sorry, most of the testmaterial isn't copylefted, and I don't
think it is possible to get a nice copylefted test library.
That's because most copylefted material is indie, and sadly the
mastering techniques
2010 Sep 30
3
Kernel Panic When restarting the server
...e: "shutdown -r now" and the server gets Kernel Panic. I'have to
go on site and press the power button
Here you have my sotware versions:
Asterisk 1.4.24.1
DAHDI Tools Version - 2.1.0.2
DAHDI Version: 2.1.0.4
libpri version: 1.4.10.1
WANPIPE Release: 3.5.4
IS there something that i shoud check?
Best Regards!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100930/2ca03d45/attachment.htm
2019 Aug 11
2
doveadm / vsize
Hi,
i want to keep track of user mailbox size,
I'm using
doveadm mailbox status -u <user> vsize INBOX
for a given mailbox this is under reporting ( by a lot)
is this recursive? what shoud i be using to get an accurate disk usage metric?
thanks
Paul.
--
-------------------------
Paul Macdonald
IFDNRG Ltd
Web and video hosting
-------------------------
t: 0131 5548070
m: 07970339546
e: paul at ifdnrg.com
w: http://www.ifdnrg.com
-------------------------
IFDNRG
40 Maritime Street...
2008 Nov 09
2
Delete rows from matrix having at least one zero value
...TRUE FALSE FALSE
[2,] FALSE FALSE FALSE FALSE
[3,] FALSE FALSE FALSE FALSE
[4,] FALSE TRUE TRUE TRUE
How can I apply the TRUE FALSE matrix to the 'test' matrix so that all rows
having at least one zero value will be thrown out.
So after applying the TRUE FALSE matrix the test matrix shoud look like the
following:
[,1] [,2] [,3] [,4]
[1,] 2 5 7 5
[2,] 3 6 8 6
Cheers
--
View this message in context: http://www.nabble.com/Delete-rows-from-matrix-having-at-least-one-zero-value-tp20405964p20405964.html
Sent from the R help mailing list archive at Nabble.com...
2009 Mar 02
2
Changes in specs for routes in rspec 1.1.99.x
...#39;]\)/== {:path => \1, :method =>
:put}/
/route_for.*destroy/s/== \(["''].*["'']\)/== {:path => \1, :method =>
:delete}/
and
spec/upgrade
============
for f in `find controllers -name "*routing*rb" -type f`; do sed -i -f
upgrade.sed $f; done
You shoud make this file executable and run it
I hope this helps somebody.
Juanma
--
Posted via http://www.ruby-forum.com/.
2007 Jul 30
2
HVM domain on NAS
Hi Users,
Is it possible to create an HVM domain on NAS location. Did anybody tried
this on RHEL5 ?
I create a HVM domain using a file disk "using dd with ext3 on this", but
what i want is to rooted the OS / on the NAS location directly and it shoud
be booted from that location.
Thanks in advance for any kind of suggestions.
-Trilok
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
2006 Aug 21
2
[LLVMdev] Recalculating live intervals
...ive intervals having correct weights?
>
> The linscan allocator inserts spill code with infinite weight, take a look
> at how it works.
So, as far as I understood live intervals with weight equal to HUGE_VAL are
spilled and I don't need to allocate physical registers for them, right?
Shoud hasStackSlot method of VirtRegMap return true for these intervals' reg
members?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20060821/d306aec5/attachment.html>
2005 Jul 31
2
bash file direct execution
...it by executing it with '. /test.sh' the output comes ok.
When I move it to '/root' and execute it with '/root/test.sh' then it works
perfectly.
When I move it to '/home' and execute it with '/home/test.sh' there is no
output.
Could someone tell me what I shoud do to make the script run without
sourcing it with '.' ?
This problem happens only on one CentOS 4 box I have, on the others it works
perfectly. What am I doing wrong ?
The permissions are 755 on the file itself, and I execute them logged as
root.
Thanks,
Daniel
2010 Feb 17
2
multi-argument returns
...not too good at programming, the list solution seems the better
one for me. It is also the one advocated by Kevin Murphy.
So rather than writing return(x,y,z), I should write at the end of my
function :
g=function() {
#...
result=list(x,y,z)
return(result)
}
Is that correct ?
Then shoud l use g[1] or g[[1]] ?
Thank you for you help.
Randall
[[alternative HTML version deleted]]
2005 Feb 19
2
I have a odd question...
...yback tells him: "Thank you for voting
on song number one."
And the numbers of calls on each number are presented on a webpage, or
in a textfile, easy for the showhost to see.
How do I do this the simplest way ?
I have a lot on phonenumbers that I can use, so that is not the problem.
Shoud I execute some kind of script for each caller that increases the
numbers in a textfile ? Or how should I do ?
My programmingskills aren't the best, so I would be greatful for any
help I can get.
/Regards Mike.
PS. Please answer offlist if possible..