Displaying 20 results from an estimated 900 matches similar to: "Man page for RC3"
2017 Nov 03
0
repeat a function
Hi
Well, I am not an expert in this field so I cannot comment your approach. I wanted only to point out that building matrix your way is like scratching your left ear with right hand, especially in R. What if you want increase size of your matrix?
E.g. you use function ProbUP once for row "0" and than for rows different from jmax (if I correctly understand your code). Use of any
2017 Nov 02
2
repeat a function
Hi Petr,
Many thanks for your response.
Basically I want to create a probability matrix to be used in a trinomial tree going forward. This is the reason why I thought to build the matrix around 0 would be much more efficient. I need to loop through because the probabilities will depend on my node and is not always the same per row (e.g. if N> jmax, jmax being defined in another function)
I
2017 Nov 02
0
repeat a function
Hi Eric
I did not see any answer and frankly speaking I cannot provide you with canned help.
AFAIK if a function is defined within another function (which is your case) it cannot be called directly so it is necessary to define it in global environment.
> fff <- function(x) {
+ myf <- function(a) a+2
+ myf(x)^2}
>
> fff(5)
[1] 49
> myf(5)
Error in myf(5) : could not find
2017 Nov 01
3
repeat a function
I want to populate the matrix prb through the function HWMProb <- function (a,j,dt) that encapsulates different functions (please see code below), using j= 0:2 for each j.
It only populates prb if I specify each function independently in the global environment and then run the loop with the iF statement, as per below.
for (j in 0:2) {
if (j==0) {
prb["0","1"] <-
2006 Mar 02
7
Timing of effects before and after Ajax call
Hello,
I have a problem with the timing of effects. I do have a tag (with id:
post1). When the link is clicked, the block "post1" must BlindUp. Then the
block is updated with the new content and then the effect BlindDown is
executed.
Below is the source code of the link_to_remote I am using.
<%= link_to_remote("Ajax Edit",
:update =>
2009 Aug 01
23
Hi doubt in unit testing
def test_check_for_validity
post=County.new(:name=>"myname",:description=>"mydesc")
assert post.save
end
above is the method and when i run unit test it is saying as
1) Failure:
test_check_for_validity(CountyTest) [/test/unit/county_test.rb:10]:
<false> is not true.
what does it say i cannot under stand
please help
--
Karthik.k
Mobile -
2011 Feb 07
0
Combining the results from two simple linear regression models
Hi all. This is more of a stats question, I suppose.
Let's say I have two separate simple regressions of weight on year from two
different datasets. I want to combine the regressions so that I can come up
with a single equation for the total weight regressed on year. In reality,
there is missing data, so I can't just sum the data across datasets and come
up with a regression on the
2008 Apr 29
1
A Maze Generator
I had some fun this afternoon coding up a 'maze generator' in R. I
thought I'd pass along the fruits of my labor for everyone's amusement.
As written, every point is connected to every other point, so feel free
to 'start' and 'finish' anywhere you like.
Have fun!
--Robert
PS. Feel free to pass along suggestions or comments.
2012 Nov 19
0
expand time period
I'd like to expand the following data to perform a daily time series.
It should cover from '2012-07-01' to '2012-10-06' with the values I
actually have being the mean from one point measurement to another. Does
anyone has a clue to perform this task.
structure(list(Date.beg = structure(c(15635, 15617, 15615, 15610,
15609, 15605, 15604, 15601, 15593, 15593, 15586, 15581,
2003 Apr 18
1
MCMCpack gelman.plot and gelman.diag
Hi,
A question. When I run gelman.diag and gelman.plot
with mcmc lists obtained from MCMCregress, the results are following.
> post.R <- MCMCregress(Size~Age+Status, data = data, burnin = 5000, mcmc = 100000,
+ thin = 10, verbose = FALSE, beta.start = NA, sigma2.start = NA,
+ b0 = 0, B0 = 0, nu = 0.001, delta = 0.001)
> post1.R <- MCMCregress(Size~Age+Status, data
2020 Feb 19
2
post1
On 19/02/2020 19:36, miguel medalha via samba wrote:
>> Miguel, there is a reason (which I will not go into) for all this ;-)
> Ok, I can understand that. But besides this specific case, what do you think
> of this as a common practice?
>
>
>
It has its place. I have numerous email addresses and if I want to test
if one is sending, I will send an email to one of the others.
2010 Aug 09
1
creating pdf of wireframe
Dear R list,
I have written some code to produce several wireframe plots in a panel. They
look good, but when I try to create a pdf, many (but not all) of the details
I have specified are not reproduced. For example, the line width I have
specified is not reproduced, and neither are the font sizes for the axis
labels. I'm an R novice, so I could really use some guidance.
Here is the code I am
2004 Sep 24
1
openssh version
On Wed, 2 Jan 2002, John Hay wrote:
> Well I can accept your argument for -stable, although bigger changes has
> gone in -stable in the past, but what about -current? My -current boxes
> also still claim: "sshd version OpenSSH_2.9 FreeBSD localisations
> 20011202" And this is the problem, if we don't have -current upgraded
> we have little chance in getting wrinkles
2003 Jul 10
2
jail performance questions
I'm thinking of using jails to improve security on a server
I am setting up. Specifically, I would like to put Apache/PHP
in a jail, but I might like to set up 2-3 different jails for
different purposes.
I've found several examples showing how to set the jails up.
My questions involve system requirements. Assuming plenty of
disk space, 1GB ram and a dual processor PIII 1.13Ghz
2010 Jan 13
1
Running Asterisk & Freepbx on readonly Root (Stateless System)
Hi
I am trying to Run AsteriskNow 1.5 which uses Centos 5.3 Distribution
with Readonly Root Filesytem.
Right now if I shutdown the system abrupty or there is power failure linux
kernel
doesn't not boot "Kernel panic" and other short of issues.prb due to
corrupted files.
Thats why i want to make root filesystem as read-only and placing some
directories
/var and /etc/asterisk etc as
2009 Apr 01
1
Vector of Vectors
I have a matrix of data. I need to scan the matrix and find every
sequence from maxima to maxima across a row. I can write a loop to do
this easily. Problem is, I can't figure out how to store the results.
Each result is a vector of widely varying lengths. Ideally I'd like a
vector of these, i.e. a vector of vectors, so I can quickly iterate
through them and compute correlation
2002 Jan 10
1
Trouble building libvorbis-1.0rc3
Hi all,
I was just trying to build myself a RC3 set of Ogg/Vorbis libs and
tools, but the build of libvorbis bombs out on me while making all in
examples. I've ./configure'd with no options, which gave no warnings
or errors. After that a normal make gives the below attached output.
Can anyone tell me what I've done wrong ?
I've also tried removing the examples/ directory. After
2014 Jan 25
1
userdb maildir permission denied in 2.1.7
Dear All,
I'm using version 2.1.7 which currently ships with debian stable.
I'd like to use
userdb {
driver = passwd-file
args = username_format=%n /etc/dovecot/users
default_fields = uid=vmail gid=vmail
override_fields =
skip = never
result_failure = continue
result_internalfail = continue
result_success = return-ok
}
from [1].
The error message is:
Jan 25
2024 Oct 27
2
How to set `unicodePwd`? "it's not allowed to set the NT hash password directly"
On Sun, 27 Oct 2024 15:08:14 +0100
William Edwards <wedwards at cyberfusion.nl> wrote:
>
> > Op 27 okt 2024 om 14:50 heeft Rowland Penny via samba
> > <samba at lists.samba.org> het volgende geschreven:
> >
> > ?On Sun, 27 Oct 2024 13:58:56 +0100
> > William David Edwards via samba <samba at lists.samba.org> wrote:
> >
> >> Hi,
1999 Jul 16
0
Contractor needed for MSVC wrapper to Loess
Hi,
Our firm is looking to see if it is possible to wrap some of more advanced lib
in R like modreg.dll and specifically Loess function in there for both
regression and prediction into MSVC++. We will probably take it to either VB or
Python for implementation issues. Given that locfit has many utitlities built in
for data transformation, this would be a good thing.
If that's not