similar to: Time complexity of functions in R

Displaying 20 results from an estimated 3000 matches similar to: "Time complexity of functions in R"

2018 May 02
0
using apply
Hi Neha, Perhaps merge() from base or join from dplyr is what you are looking for. data. table could also be interesting. Hth Ulrik On Wed, 2 May 2018, 21:28 Neha Aggarwal, <aggarwalneha2000 at gmail.com> wrote: > Hi > > I have 3 dataframes, a,b,c with 0/1 values...i have to check a condition > for dataframe a and b and then input the rows ids to datframe c . In the if >
2018 May 02
2
using apply
Hi I have 3 dataframes, a,b,c with 0/1 values...i have to check a condition for dataframe a and b and then input the rows ids to datframe c . In the if condition, I AND the 2 rows of from a and b and then see if the result is equal to one of them. I have done this using a for loop, however, it takes a long time to execute with larger dataset..Can you help me do it using apply function so that i
2018 Mar 20
2
Elements of Sets as dataframe column names
Hello all, I have a set B and a dataframe df. I want to name the columns of the dataframe after the elements of the set B. For example, for set B with elements {{"P1"}, {"P2"}, {"P3", "P4"}} I want to create a new dataframe with 3 columns named {"P1"} and {"P2"} and {"P3","P4"}. I tried colnames(df)<-(B). But it
2018 Apr 21
2
Check if row of dataframe is superset of any row in another dataframe.
Hi, I am looking for a way in which I can check if rows in 1 dataframe are present in another data frame in a unique way. A row in dataframe should be super set of any row in another dataframe. I can write a for loop for it, however, that will be inefficient. So, I am looking for an efficient way to do this in R. I have explained it with an example below: I want to check if a row in dataframe
2018 Mar 12
0
subsetting comparison problem
> On Mar 11, 2018, at 3:32 PM, Neha Aggarwal <aggarwalneha2000 at gmail.com> wrote: > > Hello All, > I am facing a unique problem and am unable to find any help in R help pages > or online. I will appreciate your help for the following problem: > I have 2 data-frames, samples below and there is an expected output > > R Dataframe1: > C1 C2
2018 Mar 11
4
subsetting comparison problem
Hello All, I am facing a unique problem and am unable to find any help in R help pages or online. I will appreciate your help for the following problem: I have 2 data-frames, samples below and there is an expected output R Dataframe1: C1 C2 C3 C4...... CN R1 0 1 0 1 R2 1 0 1 1 R3
2005 Dec 16
1
Bug in acepack (PR#2352)
This ancient bug was tracked to the acepack library, line 556 in line src/avas.f The troublesome line is: if (x(n).gt.x(1)) go to 30 Since the input arguments are empty, referencing x(1) and x(n) cause a Segmentation fault, and cause R to crash. Acepack author and maintainer Rob Tibshirani <tibs at utstat.toronto.edu> has been contacted with this information. This is not a
2018 Mar 18
1
How to take difference of sets when there is an empty subset involved
Hello, Problem I am facing is as follows: Set A is made of 2 sets x and y x<-{"P1", "P2", "P3", "P4"} y<-{} A<-set(x,y) #A={{}, {"P1", "P2", "P3", "P4"}} i need to use A in a recursive loop where i need to take set difference of A and it 's elements. Example: for (i in A){ print(i)
2014 Oct 09
1
help!!
Thanx a lot. I ll try now :) On Oct 9, 2014 5:57 PM, "Scott Winterstein" <0turn1 at gmail.com> wrote: > Yes. You need a server and a programming to the list that users might be > able to pick songs. Like this... > > <link rel="stylesheet" type="text/css" href=" > http://server6.reliastream.com/theme/widget_ondemand.css" /> >
2014 Oct 09
2
help!!
Yeah i meant that only. But MPD is not working well in Windows. Can you elaborate other types for creating database ?? Can we fetch songs from that database on user demand? On Oct 9, 2014 5:27 PM, "Scott Winterstein" <0turn1 at gmail.com> wrote: > I have a database of the music in a autodj type of playlist playing the > music files right from the database... there are many
2018 Mar 18
1
Set Difference Problem
Hello All, I am facing a problem and am unable to find much help online as sets package in R is relatively new. My problem is as follows: Set R is made of 2 sets x and y x<-{"P1", "P2", "P3", "P4"} y<-{} R<-set(x,y) #R={{}, {"P1", "P2", "P3", "P4"}} i need to use R in a recursive loop where i need to take
2014 Oct 09
3
help!!
@Scott: Did u use MPD for storing your database?? On Oct 9, 2014 5:12 PM, "Scott Winterstein" <0turn1 at gmail.com> wrote: > I can help and have alot of exp in Icecast, but not sure about your > Android need. If you want to use the phone as the server and streaming I > dont think that would be possible. I have setup many servers tho. > www.dlradio.org is my private
2014 Oct 09
2
help!!
I got some other code on stackoverflow and it works. It also uses libshout library. Now my main concern is on that MPD part !! On Thu, Oct 9, 2014 at 4:32 PM, Neha Arora <neha1451 at iiitd.ac.in> wrote: > Actually we people have decided to make a WiFi radio app as our android > project in college. So we are using icecast for that purpose.. we will be > implementing icecast in
2004 Sep 22
2
Facing problems with C code compilation - Please help.
Hello, I started using R a month ago - so I am a novice in this area. I am stuck with a problem and need some help urgently. I am using windows version of R 1.9.1. I am trying to compile C code in it. I have my C code - "hello.c" is lying in C:\Program Files\R\rw1091 This code is - #include <R.h> void hello(int *n) { int i; for(i=0;i< *n; i++) {
2014 Oct 09
2
help!!
He most likely refer to libshout... http://droidtools.sourceforge.net/content/libogglibvorbis-and-libshout-libraries-android On Thu, Oct 9, 2014 at 1:13 PM, Scott Winterstein <0turn1 at gmail.com> wrote: > You want to run a server on Android? > > Mit freundlichen Gr??en > Scott Winterstein > > EMAIL: 0turn1 at gmail dot com > > On Thu, Oct 9, 2014 at 11:06 AM, Neha
2012 Jul 12
1
[ovs-discuss] OpenVswitch with KVM virtual machines
I am running NOX controller with a python script that prints out the destination mac and the source mac for each packet arriving at the now controller and then floods it out. So here's what happening: With em1 connected, all the packets that arrive at em1 are coming to the controller and printing out the details. However, without em1 connected to the OVS, when I have the following setup:
2010 Feb 18
2
Product offerings from DIDforSale
*Our Product offerings: *We sell DIDs all over US in 2600+ rate center. For the list of all the available ratecenters please visit us at http://www.didforsale.com/moreinfo.php?help=ratecenter. We have inbound DIDs in 2 different configurations. 1) DID with unmetered inbound and 20 channels ($8.99 per DID per month + $5 Activation per DID) Additional channels can be purchased at $1 per
2023 Nov 27
1
Rtools error
?s 05:07 de 27/11/2023, Neha gupta escreveu: > Hello, I want to download a package and it gives me the error: > > WARNING: Rtools is required to build R packages, but no version of > Rtools compatible with R 4.2.0 was found. (Only the following > incompatible version(s) of Rtools were found: 4.3.5550) > > Please download and install Rtools 4.2 from >
2014 Oct 09
0
help!!
Yes. You need a server and a programming to the list that users might be able to pick songs. Like this... <link rel="stylesheet" type="text/css" href=" http://server6.reliastream.com/theme/widget_ondemand.css" /> <div id="cc_on_demand_content">Loading...</div> Mit freundlichen Gr??en Scott Winterstein EMAIL: 0turn1 at gmail dot com On
2012 Jul 09
1
OpenVswitch with KVM virtual machines
Hey, I have KVM installed on my Fedora 17 box. I added the network interfaces of the virtual machines to the openvswitch bridge as follows: ____ ____ / VM1\______br0_______/ em1\ \____/ | \____/ | _|_ /VM2\ \____/ virbr0 is the virtual network switch VM1 and VM2 are on the same subnet having tap interfaces vnet0 and vnet1 respectively. em1 is the default