similar to: Vary an equation using values from a sequence

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 21
0
Vary an equation using values from a sequence
It depends a bit on what you plan to do with the results. A loop would be easy and straightforward: > k <- 1:5 > for(k in 1:5) print(Data - min(Data) + k) [1] 1 2 3 4 5 6 7 8 9 10 [1] 2 3 4 5 6 7 8 9 10 11 [1] 3 4 5 6 7 8 9 10 11 12 [1] 4 5 6 7 8 9 10 11 12 13 [1] 5 6 7 8 9 10 11 12 13 14 Or you can use sapply() to hide the loop: > sapply(1:5,
2020 Jun 15
2
Streams dropping out after 8-12 seconds in Edge, IE
<div dir="auto">For what it's worth, it's working in NZ/vodafone/android firefox for me<br></div><div style="line-height:1.5"><br><br>-------- Original message --------<br>From: Gavin Stephens <gavin@stephens.net.nz><br>Date: Mon, 15 Jun 2020, 15:59<br>To: icecast@xiph.org<br>Subject: Re: [Icecast]
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.
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
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>
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
2018 Sep 28
4
multiple mounts each varying bitrates
Hello, If anyone is running an Icecast server that serves at least 3 separate streams each with it's own bitrate can I get a look at your config? Thanks. Dave.
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
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
2023 Nov 03
2
I need to create new variables based on two numeric variables and one dichotomize conditional category variables.
Just a minor point in the suggested solution: df$LAP <- with(df, ifelse(G=='male', (WC-65)*TG, (WC-58)*TG)) since WC and TG are not conditional, would this be a slight improvement? df$LAP <- with(df, TG*(WC - ifelse(G=='male', 65, 58))) -----Original Message----- From: R-help <r-help-bounces at r-project.org> On Behalf Of Jorgen Harmse via R-help Sent: Friday,
2014 Feb 26
2
Introduction mail
Thanks for replying i was thinking of working on PHP binding improvement project i thnk it fits my skills. how should i start help.. On Wed, Feb 26, 2014 at 5:11 PM, Olly Betts <olly at survex.com> wrote: > On Tue, Feb 25, 2014 at 08:12:40PM +0530, Avinandan Bhattacharjee wrote: > > Hi my name is Abhinandan Bhattacharjee i am student of Computer Science > > stream of netaji
2006 Nov 29
2
Quota's with Thunderbird
Hi, Does anyone know how to get Thunderbird to correctly report the mailbox quota's? I know Dovecot is correctly enforcing the quotas on the mailbox when using Thunderbird, but Thunderbird reports that the "server does not support quota's" when trying to view the usage? Is Thunderbird expecting something different? Viewing the mailbox through Squirelmail, the quota's are
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
2003 May 09
1
PXE Issue
I recompiled my kernel to link in ltsp with open mosix. Now wen the client machine boots I keep geting the message: Can not load a ramdisk with an old kernel image Can you tell me why
2023 Nov 03
1
[EXTERNAL] RE: I need to create new variables based on two numeric variables and one dichotomize conditional category variables.
Yes, that will halve the number of multiplications. If you?re looking for such optimisations then you can also consider ifelse(G=='male', 65L, 58L). That will definitely use less time & memory if WC is integer, but the trade-offs are more complicated if WC is floating point. Regards, Jorgen Harmse. From: avi.e.gross at gmail.com <avi.e.gross at gmail.com> Date: Friday,
2005 May 16
3
CLI and DNIS presented to Analog extension
My company is based in Australia and we have a need to be able to present CLI (ANI) and DNIS to an analog extension. Currently our PABX vendor is saying they can only deliver CLI between the first and second cadence. The system will collect calls via an aggregate of ISDN PRI services from the PSTN and then direct them to the analog extensions in a hunt group configuration. It is important that