Displaying 20 results from an estimated 90000 matches similar to: "function to normalize vectors?"
2017 Aug 26
1
Fwd: Find maxima of a function
Hi,
Thanks for your mail, and time
It is not working for some arguments, when mean value is like >6.
case
mc0 <- c(0.08844446,0.1744455,0.1379778,0.1209769,0.1573065,0.
1134463,0.2074027)
rv <-UnivarMixingDistribution(Norm(486.4255, 53.24133),
Norm(664.0713, 3.674773),
Norm(669.0484, 4.101381),
2017 Oct 15
0
Bootstrapped Regression
Hello,
Much clearer now, thanks.
It's a matter of changing the function boot calls to return the
predicted values at the point of interess, education = 50, income = 75.
I have changed the way the function uses the indices a bit, the result
is the same, it's just the way I usually do it.
pred.duncan.function <- function(data, indices) {
mod <- lm(prestige ~ education +
2015 Jan 29
0
[Q] Get formal arguments of my implemented S4 method
At this point I would just due:
formals(body(method)[[2L]])
At some point we need to figure out what to do with this .local() confusion.
On Wed, Jan 28, 2015 at 10:07 AM, Roebuck,Paul L <PLRoebuck at mdanderson.org>
wrote:
> I'm attempting to reflect the information for use with corresponding
> fields in GUI (in a different package), to provide default values,
> argname
2017 Aug 27
2
Fwd: Find maxima of a function
---------- Forwarded message ----------
From: niharika singhal <niharikasinghal1990 at gmail.com>
Date: Sun, Aug 27, 2017 at 11:57 AM
Subject: Re: Find maxima of a function
To: "David Winsemius [via R]" <ml+s789695n4745009h56 at n4.nabble.com>,
"Ismail SEZEN [via R]" <ml+s789695n4744993h60 at n4.nabble.com>, Ulrik Stervbo
<ulrik.stervbo at gmail.com>
2015 Jan 28
2
[Q] Get formal arguments of my implemented S4 method
I'm attempting to reflect the information for use with corresponding
fields in GUI (in a different package), to provide default values,
argname as key for UI label lookups, etc.
So I want something much more like the formals of the implementation:
{
"object",
"method": c("median", "vs", "tukey"),
2017 Aug 26
0
Find maxima of a function
Please keep the list in cc.
Sorry, it didn't work as expected. Maybe someone else have an appropriate
solution.
Best,
Ulrik
On Sa., 26. Aug. 2017, 12:57 niharika singhal <niharikasinghal1990 at gmail.com>
wrote:
> Hi
>
> Thanks for you mail,
> I really appreciate your time on my problem
>
> I have posted this problem on
>
>
>
2010 Apr 09
2
Line breaks in mathematical formulae in Rd files
Hello,
I would like to implement the feature request described here:
https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13287. I think
this is a very worthwhile feature.
However, I need just a little push in the right direction. When I
added either a new command or change the old one to use eqnarray as
proposed, the "\\" newline characters were not properly passed to
latex - even
2007 Jan 25
1
Minor fixed point scaling problem
First, let me say that I think the speex code is incredible in the way it
supports floating and fixed point code from one set of code. The same is
true for supporting multiple processors, etc... I've used speex with the
PC, TI 64xx and 55xx. Please view the following comments not as an attack
on speex (which I think is incredible!) but as my contribution to an open
source project.
I know
2017 Jun 12
0
plspm package error in data frame
Hello,
Please allways cc the list, don't answer just to me.
Now I'm getting a different error. I had noticed that you have no
reference to 'TPBDATA' before the call to plspm but I forgot to mention
it in my first e-mail.
TPB_pls1 = plspm(TPBDATA, TPB_path, TPB_blocks, modes = TPB_modes)
Error in is_tabular(x) : object 'TPBDATA' not found
So we need to know what
2015 May 14
0
Icecast install under Windows
On 14 May 2015, at 20:56, that Jack Elliott wrote:
> Hi Marvin,
>
> I followed the wiki instructions and they went w/o any issues until
>
> C:\Users\username> nssm start Icecast
> Can't open service!
> OpenService(): Access is denied!
>
> Probably a good idea to mention that the command window needs to be
> Run as administrator. Then it works.
Thanks for
2015 May 22
0
Icecast install under Windows
I'm glad it worked.
About Windows, I just think, and this is personal, that open source works
better on linux. I also have some windows installation, but with virtual
linux server installed. This gives me more flexibility.
Good luck!
Albert
-----Original Message-----
From: icecast-bounces at xiph.org [mailto:icecast-bounces at xiph.org] On Behalf
Of Donald E Limbaugh
Sent: Thursday, May 21,
2017 Aug 26
0
Find maxima of a function
> On 26 Aug 2017, at 16:39, niharika singhal <niharikasinghal1990 at gmail.com> wrote:
>
> Hi,
>
> Thanks for your mail, and time
>
> It is not working for some arguments, when mean value is like >6.
>
>
> case
>
> mc0 <- c(0.08844446,0.1744455,0.1379778,0.1209769,0.1573065,0.
> 1134463,0.2074027)
>
> rv
2015 Jan 29
3
[Q] Get formal arguments of my implemented S4 method
On Jan 28, 2015, at 6:37 PM, Michael Lawrence <lawrence.michael at gene.com> wrote:
> At this point I would just due:
>
> formals(body(method)[[2L]])
>
> At some point we need to figure out what to do with this .local() confusion.
Agreed, definitely. The current hack is to avoid re-matching arguments on method dispatch, so a fix would need to be fairly deep in the
2015 May 14
0
Icecast install under Windows
On 14 May 2015, at 18:36, Jack Elliott 541 848 7021 wrote:
> Oh dear.
>
> Okay, can anyone suggest how to install Icecast under Windows as a
> service, and to be able to bring up some kind of console to start/stop
> it?
I just wrote a Wiki page detailing how to install Icecast as service
using NSSM, you can
find it here http://wiki.xiph.org/Icecast_Server/Setup_Windows_Service
2008 Sep 27
0
compute posterior mean by numerical integration
Dear R useRs,
i try to compute the posterior mean for the parameters omega and beta
for the following
posterior density. I have simulated data where i know that the true
values of omega=12
and beta=0.01. With the function postMeanOmega and postMeanBeta i wanted
to compute
the mean values of omega and beta by numerical integration, but instead
of omega=12
and beta=0.01 i get omega=11.49574 and
2015 May 21
0
Icecast install under Windows
The ip 127.0.0.1 will work; that's the default ip of any server. You can
either use localhost, 127.0.0.1, the external IP, or your example.com domain
name. they are all the same thing and will all work.
For the file permissions, that's limitation of windows servers;
Hope I've helped
Albert
-----Original Message-----
From: icecast-bounces at xiph.org [mailto:icecast-bounces at
2015 Jan 28
0
[Q] Get formal arguments of my implemented S4 method
Would you please clarify your exact use case?
Thanks,
Michael
On Wed, Jan 28, 2015 at 9:02 AM, Roebuck,Paul L <PLRoebuck at mdanderson.org>
wrote:
> Interrogating some (of my own) code in another package.
>
> >norm.meth <- getMethod("normalize", "MatrixLike")
> >message("str(norm.meth)")
> >str(norm.meth)
>
>
2006 Feb 02
0
How do I normalize a PSD?
Dear Tom,
Short answer, if your using spec.pgram(), use the smoothing kernel to get a
better estimate at the frequency centered in the bandwidth. If your
frequency bin of interest is wider than the bandwidth of the kernel, average
across frequencies (I think). The estimate appears to be normalized already.
If you are calculating your PSD independently, then oversample (e.g. 2,
perhaps 4 or more
2005 Feb 15
0
matlab norm(h) command in R: sqrt(sum(h^2)) - use in an e xpression
> From: Christoph Lehmann
>
> Hi
>
> in matlab I defined a function (double gamma, parameters at
> the end of
> this mail) as
> h(i)=((t/d1)^a1)*exp(-(t-d1)/b1)-c*((t/d2)^a2)*exp(-(t-d2)/b2);
> h=h/norm(h);
>
> I do know that norm() in matlab is equal to:
>
> sqrt(sum(x^2))
> in R
> so in R I do it like:
>
> #function (double
2010 Dec 02
2
make check from R2.12.0.exe installation
Hi,
I typically install new versions of R on windows using the downloadable executable file rather than the full tar.
I need to now document the success of the installation in addition to my preferred procedure of running an old dataset against the new build.
I found quickly that this is all available to me but the tests directory I have does not contain the scripts that the tar file does.
How