search for: steip

Displaying 20 results from an estimated 82 matches for "steip".

Did you mean: step
2017 Sep 25
1
Subset
...B. > On Sep 25, 2017, at 8:00 AM, Shane Carey <careyshan at gmail.com> wrote: > > This is super, really helpfull. Sorry, one final question, lets say I wanted to remove 0's rather than NAs , what would it be? > > Thanks > > On Mon, Sep 25, 2017 at 12:41 PM, Boris Steipe <boris.steipe at utoronto.ca> wrote: > myDF <- data.frame(a = c("<0.1", NA, 0.3, 5, "Nil"), > b = c("<0.1", 1, 0.3, 5, "Nil"), > stringsAsFactors = FALSE) > > # you can subset the b-column...
2017 Sep 25
2
Subset
...rows from the dataframe where there were NAs in the b column, what is the syntax for doing that? > > Thanks in advance > > On Fri, Sep 22, 2017 at 5:04 PM, Shane Carey <careyshan at gmail.com> wrote: > Super, > > Thanks > > On Fri, Sep 22, 2017 at 4:57 PM, Boris Steipe <boris.steipe at utoronto.ca> wrote: > > a <- c("<0.1", NA, 0.3, 5, "Nil") > > a > [1] "<0.1" NA "0.3" "5" "Nil" > > > b <- as.numeric(a) > Warning message: > NAs introduced by coer...
2017 Sep 25
0
Subset
This is super, really helpfull. Sorry, one final question, lets say I wanted to remove 0's rather than NAs , what would it be? Thanks On Mon, Sep 25, 2017 at 12:41 PM, Boris Steipe <boris.steipe at utoronto.ca> wrote: > myDF <- data.frame(a = c("<0.1", NA, 0.3, 5, "Nil"), > b = c("<0.1", 1, 0.3, 5, "Nil"), > stringsAsFactors = FALSE) > > # you can subset the b-column...
2017 Jun 28
4
Nash equilibrium and other game theory tools implemented in networks using igraph or similar
...hat packages exist because others just like them contributed something count as being uncivil? Terse, perhaps, since it bypassed the obvious suggestion to use a search engine, but not rude. > -- > Sent from my phone. Please excuse my brevity. > > On June 28, 2017 5:08:16 AM EDT, Boris Steipe <boris.steipe at utoronto.ca> wrote: >> I don't think OP asked an unreasonable question at all. >> >> Civility! >> >> >> >> >>> On Jun 27, 2017, at 2:00 PM, Suzen, Mehmet <mehmet.suzen at gmail.com> >> wrote: >>&gt...
2017 Jun 28
0
Nash equilibrium and other game theory tools implemented in networks using igraph or similar
...a big challenge for me). Also, I have been searching and not found such code, despite evidence that it has been coded (just not sure if it was in R). BTW I did write to authors of the article I cited, but no reply. Chris Buddenhagen cbuddenhagen at gmail.com On Wed, Jun 28, 2017 at 5:44 AM, Boris Steipe <boris.steipe at utoronto.ca> wrote: > I responded to the unhelpful suggestion "Why don't you implement and uplad > the package to CRAN?" No mention of a search engine. Is this what you are > commenting on Jeff? > > > > > > > On Jun 28, 2017, at...
2018 Mar 21
1
Sum of columns of a data frame equal to NA when all the elements are NA
...cumented, which it is, I don't care. 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 County" comic strip ) On Wed, Mar 21, 2018 at 10:26 AM, Boris Steipe <boris.steipe at utoronto.ca> wrote: > I see: consistency with additive identity. That makes sense. Thanks. > > B. > > > > On Mar 21, 2018, at 1:22 PM, peter dalgaard <pdalgd at gmail.com> wrote: > > > > No. The empty sum is zero. Adding it to another...
2018 Mar 21
2
Sum of columns of a data frame equal to NA when all the elements are NA
No. The empty sum is zero. Adding it to another sum should not change it. Nothing audacious about that. This is consistent; other definitions just cause trouble. -pd > On 21 Mar 2018, at 18:05 , Boris Steipe <boris.steipe at utoronto.ca> wrote: > > Surely the result of summation of non-existent values is not defined, is it not? And since the NA values have been _removed_, there's nothing left to sum over. In fact, pretending the the result in that case is zero would appear audacious,...
2017 Sep 22
3
Subset
Super, Thanks On Fri, Sep 22, 2017 at 4:57 PM, Boris Steipe <boris.steipe at utoronto.ca> wrote: > > a <- c("<0.1", NA, 0.3, 5, "Nil") > > a > [1] "<0.1" NA "0.3" "5" "Nil" > > > b <- as.numeric(a) > Warning message: > NAs introduced by coer...
2023 Jul 22
2
plotly
...\In this example, the value was 2324, the gauge displays 2320. > I'm not sure why this occurs. Changing the statement to 56, results in the gauge reading 60. I'm not sure what needs to be changed in the script or the environment to stop rounding. > On Jul 22, 2023, at 10:43, Boris Steipe <boris.steipe at utoronto.ca> wrote: > > What do you mean "Rounded"? > What do you expect, what do you get instead? > > ? > > > > > >> On Jul 22, 2023, at 10:40, Thomas Subia via R-help <r-help at r-project.org> wrote: >> >...
2017 Nov 18
3
Complicated analysis for huge databases
...ht) : non-numeric argument to binary operator I have been trying since yesterday but but until now I'm not able to identify the correct syntax. ________________________________ From: David Winsemius <dwinsemius at comcast.net> Sent: 18 November 2017 20:06:56 To: Allaisone 1 Cc: Boris Steipe; R-help Subject: Re: [R] Complicated analysis for huge databases > On Nov 18, 2017, at 1:52 AM, Allaisone 1 <allaisone1 at hotmail.com> wrote: > > Although the loop seems to be formulated correctly I wonder why > it gives me these errors : > > -object 'i' not foun...
2018 Mar 21
0
Sum of columns of a data frame equal to NA when all the elements are NA
..., at 1:22 PM, peter dalgaard <pdalgd at gmail.com> wrote: > > No. The empty sum is zero. Adding it to another sum should not change it. Nothing audacious about that. This is consistent; other definitions just cause trouble. > > -pd > >> On 21 Mar 2018, at 18:05 , Boris Steipe <boris.steipe at utoronto.ca> wrote: >> >> Surely the result of summation of non-existent values is not defined, is it not? And since the NA values have been _removed_, there's nothing left to sum over. In fact, pretending the the result in that case is zero would appear aud...
2017 Aug 03
0
find similar words in text
...or plot it. > > I am new to R and the learning curve is steep!! > > Thx! > Riaan > > > Riaan van der Walt > Tel / Phone / Mogala : 27+72+2172429 > Email / Epos / Emeile: riaan.vanderwalt at nwu.ac.za > Url: http://www.nwu.ac.za/ > > >>> Boris Steipe <boris.steipe at utoronto.ca> 31 Jul 2017 23:37 >>> > You need a stemming algorithm. See here: > https://cran.r-project.org/web/views/NaturalLanguageProcessing.html > > Myself, I've had good experience with Rstem. > > B. > > > > > > &...
2017 Nov 18
2
Complicated analysis for huge databases
...5 2 44-66 7 0.134 0.43 0.64 0.479 4 9 . . ~180 dataframes ________________________________ From: Boris Steipe <boris.steipe at utoronto.ca> Sent: 18 November 2017 00:35:16 To: Allaisone 1; R-help Subject: Re: [R] Complicated analysis for huge databases Something like the following? AllMAFs <- list() for (i in length(SeparatedGroupsofmealsCombs) { AllMAFs[[i]] <- apply(SeparatedGroupsofmea...
2017 Nov 18
0
Complicated analysis for huge databases
...7 0.134 0.43 0.64 0.479 > 4 > 9 > > . > > . > > ~180 dataframes > > > ________________________________ > From: Boris Steipe <boris.steipe at utoronto.ca> > Sent: 18 November 2017 00:35:16 > To: Allaisone 1; R-help > Subject: Re: [R] Complicated analysis for huge databases > > Something like the following? > > AllMAFs <- list() > > for (i in length(SeparatedGroupsofmealsCombs) { &g...
2017 Sep 25
0
Subset
...t want to remove the rows from the dataframe where there were NAs in the b column, what is the syntax for doing that? Thanks in advance On Fri, Sep 22, 2017 at 5:04 PM, Shane Carey <careyshan at gmail.com> wrote: > Super, > > Thanks > > On Fri, Sep 22, 2017 at 4:57 PM, Boris Steipe <boris.steipe at utoronto.ca> > wrote: > >> > a <- c("<0.1", NA, 0.3, 5, "Nil") >> > a >> [1] "<0.1" NA "0.3" "5" "Nil" >> >> > b <- as.numeric(a) >> Warning mes...
2017 Nov 18
0
Complicated analysis for huge databases
...have been trying since yesterday but but until now I'm not able to identify > the correct syntax > > > > > ________________________________ > From: David Winsemius <dwinsemius at comcast.net> > Sent: 18 November 2017 20:06:56 > To: Allaisone 1 > Cc: Boris Steipe; R-help > Subject: Re: [R] Complicated analysis for huge databases > > >> On Nov 18, 2017, at 1:52 AM, Allaisone 1 <allaisone1 at hotmail.com> wrote: >> >> Although the loop seems to be formulated correctly I wonder why >> it gives me these errors : >&gt...
2017 Nov 16
2
NEED HELP : Association in single DTM
...In that case, if I have lot of free text data (let us assume part of an Election speech) in one single TEXT document, and i want to find the association of the top 3 most frequently occurring words with the other words in the speech, what method do I adopt ? On Wed, Nov 15, 2017 at 7:08 PM, Boris Steipe <boris.steipe at utoronto.ca> wrote: > If you consider the definition of a DTM, and that findAssoc() computes > associations between words as correlations across documents(!), you will > realize that you can't what you want from a single document. Indeed, what > kind of an &...
2016 Apr 03
0
row.names(), rownames(), colnames(), names() ...?
...ause there is a performance penalty for accessing rows that is greater than the cost of accessing columns. With that in mind, thinking of data frames as lists is preferred, so names is preferred over colnames. -- Sent from my phone. Please excuse my brevity. On April 2, 2016 5:54:10 PM PDT, Boris Steipe <boris.steipe at utoronto.ca> wrote: >The help text for row+colnames {base} states: > > "For a data frame, rownames and colnames eventually call row.names > and names respectively, but the latter are preferred." > >Why are they "preferred"? >Why is...
2017 Nov 18
2
Complicated analysis for huge databases
...- maf <- apply(SeparatedGroupsofmealsCombs, 2, function(x)maf(tabulate(x+1))) an error message says : dim(X) must have a positive length . I'm not sure which length I need to specify.. any suggestions to correct this syntax ? Regards Allaisone ________________________________ From: Boris Steipe <boris.steipe at utoronto.ca> Sent: 17 November 2017 21:12:06 To: Allaisone 1 Cc: R-help Subject: Re: [R] Complicated analysis for huge databases Combine columns 1 and 2 into a column with a single ID like "33.55", "44.66" and use split() on these IDs to break up your da...
2017 Nov 19
1
Complicated analysis for huge databases
...; I have been trying since yesterday but but until now I'm not able to identify > the correct syntax > > > > > ________________________________ > From: David Winsemius <dwinsemius at comcast.net> > Sent: 18 November 2017 20:06:56 > To: Allaisone 1 > Cc: Boris Steipe; R-help > Subject: Re: [R] Complicated analysis for huge databases > > >> On Nov 18, 2017, at 1:52 AM, Allaisone 1 <allaisone1 at hotmail.com> wrote: >> >> Although the loop seems to be formulated correctly I wonder why >> it gives me these errors : >>...