Displaying 20 results from an estimated 4000 matches similar to: "Vary an equation using values from a sequence"
2018 Mar 15
0
Vary an equation using values from a sequence
I thnk what you want is ?outer. e.g.:
outer(Data -min(Data),value,FUN = "+")
Whether this works for your real task, however, may depend on details and
complexities that you have omitted.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom
2018 Mar 15
2
Vary an equation using values from a sequence
Hi All,
I have a vector of data on which I am operating. The equation with which I want to operate on the vector has a value k. I want to run the equation and output a new vector, each time replacing k with each value from the sequence I defined. I have thought about using for loops and such, but this seems like overkill. I am wondering if there is a simple solution that would allow me to
2005 Jun 07
1
Specifying medoids in PAM?
I am using the PAM algorithm in the CLUSTER library.
When I allow PAM to seed the medoids using the default __build__
algorithm things work
well:
> pam(stats.table, metric="euclidean", stand=TRUE, k=5)
But I have some clusters from a Hierarchical analysis that I would
like to use as seeds for the PAM algorithm. I can't figure what the
mediod argument wants. When I put in the
2020 Jun 15
0
Streams dropping out after 8-12 seconds in Edge, IE
No problem with the Adelaide one (https://tls1.wcrdev.com/coast-mp3) in
VLC or in Chrome. But the other one only connects for about a second
tops in VLC.
On 15/06/2020 4:02 pm, jake at jakebriggs.com wrote:
> For what it's worth, it's working in NZ/vodafone/android firefox for me
>
>
> -------- Original message --------
> From: Gavin Stephens <gavin at
2018 Sep 28
1
multiple mounts each varying bitrates
Hi,
Thanks, that helps a lot. I'm trying to get ices2 now to do the
multiple clients and sources, I'll post what I get later today.
Thanks.
Dave.
On 9/28/18, jake <jake at jakebriggs.com> wrote:
> I just realised my previous email didn't go to the list for some reason.
> Here it is again:
>
> Currently, I have three liquadsoap ".liq" files, and they all
1998 Sep 30
1
Windows NT in portuguese
Hi,
Probably my problem can be helped by very specific people. Anyway...
I am debuting with Windows NT (portuguese language version) and Samba and
experiencing problems because I unsucceed to map Samba to Windows with the
message "the account is not authorized to login from this workstation"
(this is my translation from portuguese). The TCPIP connection sound good
as long as I can
2000 Apr 17
0
changing password with smbpasswd
I'm using user-level security. Root can change passwords on the
server. Normal users, however, either with swat or using smbpasswd
directly, get the following error:
machine 127.0.0.1 rejected the tconX on the IPC$ share. Error was :
ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect
or Session Setup are invalid.).
Failed to change password for smith
I do have the
2005 May 04
1
Calculate median from counts and values
I am tangled with a syntax question. I want to calculate basic statistics
for a large dataset provided in weights and values and I can't figure out
an elegant way to expand the data.
For example here are the counts:
> counts
n4 n3 n2 n1 p0 p1 p2 p3 p4
1 0 0 0 1 1 3 16 55 24
2 0 0 0 0 2 8 28 47 15
3 1 17 17 13 4 5 12 24 8
...
and the values:
> values
2018 Sep 28
0
multiple mounts each varying bitrates
I just realised my previous email didn't go to the list for some reason.
Here it is again:
Currently, I have three liquadsoap ".liq" files, and they all look very
similar to this:
-------- 8< --------
jake at beastie:/etc/liquidsoap$ cat jake.liq
#!/usr/bin/liquidsoap
#set("log.file.path","/tmp/basic-radio.log")
def my_request_function() =
# Get the
2001 May 09
1
Buffer overrun using W2k.
We recently upgraded our NT4 Domain to Win2k.
We use Samba 2.0.7 running on Solaris 2.6 servers.
We are getting buffer overuns in the log files when running
'domain_client_validate' which appears to be due to extensive group
membership (SID History is not being used).
Are there any patches/fixes available to get round this problem?
Thankyou in anticipation.
Regards,
Rich Sprigg
2010 Feb 01
0
[JOBS] Entry-to-mid level Rails developer wanted in Adelaide or Sydney, Australia!
Hi,
My name is Sebastian von Conrad and I''m not a recruiter; I''m a
software developer with e-channel search, an industry leading search
engine marketing agency with offices in Adelaide and Sydney. We''ve
been in business for over 10 years and was recently named as one of
Deloitte Technology Fast 50 Australia for 2009, which means that we''re
one of the 50 fastest
2002 Jan 19
1
correlated random effects in GLMMGibbs ?
Dear R-users,
I wondered if anyone has extended GLMMGibbs to include correlated
random effects, and if so, whether they would be willing to let me
use their code?
Jonathan Myles has no plans to extend glmm in this manner within the
foreseeable future.
With thanks,
Patty
--
--------------------------------------------------------------------------------
Assoc Prof Patty Solomon
2023 Nov 03
1
I need to create new variables based on two numeric variables and one dichotomize conditional category variables.
Hello Everyone,
I have three variables: Waist circumference (WC), serum triglyceride (TG)
level and gender. Waist circumference and serum triglyceride is numeric and
gender (male and female) is categorical. From these three variables, I want
to calculate the "Lipid Accumulation Product (LAP) Index". The equation to
calculate LAP is different for male and females. I am giving both
2020 Feb 19
2
How to index the occasions in a vector repeatedly under condition 1? if not, it will give a new index.
Dear all,
Could you please help me how to get the output as I described in the following example?
x<-c(543, 543, 543, 543, 551 , 551 ,1128 ,1197, 1197)
diff<-x-lag(x)
diff
[1] NA 0 0 0 8 0 577 69 0
How to index the occasions in x repeatedly if the diff<15? if diff>=15, it will give a new index.
I want the output be like y.
y<-c(1,1,1,1,1,1,2,3,3)
Thank you so
2020 Feb 19
2
How to index the occasions in a vector repeatedly under condition 1? if not, it will give a new index.
Dear all,
Could you please help me how to get the output as I described in the following example?
x<-c(543, 543, 543, 543, 551 , 551 ,1128 ,1197, 1197)
diff<-x-lag(x)
diff
[1] NA 0 0 0 8 0 577 69 0
How to index the occasions in x repeatedly if the diff<15? if diff>=15, it will give a new index.
I want the output be like y.
y<-c(1,1,1,1,1,1,2,3,3)
Thank you so
2023 Nov 03
1
I need to create new variables based on two numeric variables and one dichotomize conditional category variables.
Well, something like:
LAP <- ifelse(gender =='male', (WC-65)*TG, (WC-58)*TG)
The exact code depends on whether your variables are in a data frame or
list or whatever, which you failed to specify. If so, ?with may be useful.
Cheers,
Bert
On Fri, Nov 3, 2023 at 3:43?AM Md. Kamruzzaman <mkzaman.m at gmail.com> wrote:
> Hello Everyone,
> I have three variables: Waist
2024 Jan 17
1
Is there any design based two proportions z test?
Hello Everyone,
I was analysing big survey data using survey packages on RStudio. Survey
package allows survey data analysis with the design effect.The survey
package included functions for all other statistical analysis except
two-proportion z tests.
I was trying to calculate the difference in prevalence of Diabetes and
Prediabetes between the year 2011 and 2017 (with 95%CI). I was able to
2023 Nov 03
1
I need to create new variables based on two numeric variables and one dichotomize conditional category variables.
df$LAP <- with(df, ifelse(G=='male', (WC-65)*TG, (WC-58)*TG))
That will do both calculations and merge the two vectors appropriately. It will use extra memory, but it should be much faster than a 'for' loop.
Regards,
Jorgen Harmse.
------------------------------
Message: 8
Date: Fri, 3 Nov 2023 11:10:49 +1030
From: "Md. Kamruzzaman" <mkzaman.m at gmail.com>
2024 Jan 17
1
Is there any design based two proportions z test?
Dear Md Kamruzzaman,
To answer your second question first, you could just use the svychisq()
function. The difference-of-proportion test is equivalent to a chisquare
test for the 2-by-2 table.
You don't say how you computed the confidence intervals for the two
separate proportions, but if you have their standard errors (and if not,
you should be able to infer them from the confidence
2012 Oct 24
1
equation solver
Hi,
I'm Pina and I'm a student in geology. I'm working with spectral profile of
sand and I have to find the similarity between one spectral profile selected
by hyperspectral image anche one that I created to mix different percentage
of 4 mineral component. I have to find the best mix of percentage of this 4
mineral in order to have the best likeness with the spectral profile chose
by