search for: chalabi

Displaying 20 results from an estimated 60 matches for "chalabi".

2008 May 27
2
sort - Windows and Linux
...t sort(c(" 1", " 2", "10")) do not give the same result on Windows and Linux. This is actually not surprising because white spaces are not handle in the same manner on these two platforms. But I was wondering if this behavior is also desired in R. regards, Yohan Chalabi
2017 Jun 12
3
count number of stop words in R
...simir, PhD Health Analytics, Data Science, Big Data Expert & Independent Consultant C: 954.614.1178 ________________________________ From: R-help <r-help-bounces at r-project.org> on behalf of Bert Gunter <bgunter.4567 at gmail.com> Sent: Monday, June 12, 2017 10:12:33 AM To: Elahe chalabi Cc: R-help Mailing List Subject: Re: [R] count number of stop words in R You can use regular expressions. ?regex and/or the stringr package are good places to start. Of course, you have to define "stop words." Cheers, Bert Bert Gunter "The trouble with having an open mind is...
2017 Jun 12
3
count number of stop words in R
...it . And it there it's a picture of a kitchen window . And the curtains are very uh distinct . But the water is still flowing." Patrick Casimir, PhD Health Analytics, Data Science, Big Data Expert & Independent Consultant C: 954.614.1178 ________________________________ From: Elahe chalabi <chalabi.elahe at yahoo.de> Sent: Monday, June 12, 2017 11:23:42 AM To: Patrick Casimir; Bert Gunter Cc: R-help Mailing List Subject: Re: [R] count number of stop words in R Thanks for your reply. I know the command data <- tm_map(data, removeWords, stopwords("english")) removes...
2017 Jun 12
0
count number of stop words in R
...imir, PhD Health Analytics, Data Science, Big Data Expert & Independent Consultant C: 954.614.1178 ________________________________ From: R-help <r-help-bounces at r-project.org> on behalf of Bert Gunter <bgunter.4567 at gmail.com> Sent: Monday, June 12, 2017 10:12:33 AM To: Elahe chalabi Cc: R-help Mailing List Subject: Re: [R] count number of stop words in R You can use regular expressions. ?regex and/or the stringr package are good places to start. Of course, you have to define "stop words." Cheers, Bert Bert Gunter "The trouble with having an open mind i...
2017 Jun 12
0
count number of stop words in R
...imir, PhD Health Analytics, Data Science, Big Data Expert & Independent Consultant C: 954.614.1178 ________________________________ From: R-help <r-help-bounces at r-project.org> on behalf of Bert Gunter <bgunter.4567 at gmail.com> Sent: Monday, June 12, 2017 10:12:33 AM To: Elahe chalabi Cc: R-help Mailing List Subject: Re: [R] count number of stop words in R You can use regular expressions. ?regex and/or the stringr package are good places to start. Of course, you have to define "stop words." Cheers, Bert Bert Gunter "The trouble with having an open mind i...
2017 Jun 12
0
count number of stop words in R
...u have to define "stop words." 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 Mon, Jun 12, 2017 at 5:40 AM, Elahe chalabi via R-help <r-help at r-project.org> wrote: > Hi all, > > Is there a way in R to count the number of stop words (English) of a string using tm package? > > str="Mhm . Alright . There's um a young boy that's getting a cookie jar . And it he's uh in bad shape bec...
2017 Jun 12
3
count number of stop words in R
Hi all, Is there a way in R to count the number of stop words (English) of a string using tm package? str="Mhm . Alright . There's um a young boy that's getting a cookie jar . And it he's uh in bad shape because uh the thing is falling over . And in the picture the mother is washing dishes and doesn't see it . And so is the the water is overflowing in the sink . And the
2017 Nov 01
1
Correct subsetting in R
...rvations. I want something that returns the ID for training data frame On Wednesday, November 1, 2017 10:18 AM, Eric Berger <ericjberger at gmail.com> wrote: matches <- merge(training,data,by=intersect(names(training),names(data))) HTH, Eric On Wed, Nov 1, 2017 at 6:13 PM, Elahe chalabi via R-help <r-help at r-project.org> wrote: Hi all, >I have two data frames that one of them does not have the column ID: > > > str(data) > 'data.frame': 499 obs. of 608 variables: > $ ID : int 1 2 3 4 5 6 7 8 9 10 ... > $ alright...
2008 May 07
2
Windows binary packages & R-Forge
Hi room, There seems to be a problem with the Windows building machines of R-Forge. All our packages with Fortran source code cannot be compiled for Windows. The error in the log file is make[3]: gfortran: Command not found It seems that gfortran is not installed. Is there any plan to fix this or am I doing something wrong on R-Forge? thanks in advance for your advises. regards, Yohan --
2017 Aug 23
0
cross validation in random forest using rfcv functin
Any responds?! On Wednesday, August 23, 2017 5:50 AM, Elahe chalabi via R-help <r-help at r-project.org> wrote: Hi all, I would like to do cross validation in random forest using rfcv function. As the documentation for this package says: rfcv(trainx, trainy, cv.fold=5, scale="log", step=0.5, mtry=function(p) max(1, floor(sqrt(p))), recursive=...
2017 Nov 01
1
Correct subsetting in R
But they row.names() cannot give me the IDs On Wednesday, November 1, 2017 9:45 AM, David Wolfskill <r at catwhisker.org> wrote: On Wed, Nov 01, 2017 at 04:13:42PM +0000, Elahe chalabi via R-help wrote: > Hi all, > I have two data frames that one of them does not have the column ID: > > > str(data) > 'data.frame': 499 obs. of 608 variables: > $ ID : int 1 2 3 4 5 6 7 8 9 10 ... > $ alright : int 1 0 0 0 0 0 0...
2017 Aug 23
1
cross validation in random forest using rfcv functin
Hi all, I would like to do cross validation in random forest using rfcv function. As the documentation for this package says: rfcv(trainx, trainy, cv.fold=5, scale="log", step=0.5, mtry=function(p) max(1, floor(sqrt(p))), recursive=FALSE, ...) however I don't know how to build trianx and trainy for my data set, and I could not understand the way trainx is built in the package
2017 Nov 02
2
"prob" package alternative
...sianOptions > Version: 3010.79 > Revision: 5522 > Date: 2013-06-23 > Title: EBM and Asian Option Valuation > Author: Diethelm Wuertz and many others, see the SOURCE file > Depends: R (>= 2.4.0), timeDate, timeSeries, fBasics, fOptions > Suggests: RUnit > Maintainer: Yohan Chalabi <yohan.chalabi at rmetrics.org> > Description: Environment for teaching "Financial Engineering and > Computational Finance" > Note: Several parts are still preliminary and may be changed in the > future. this > typically includes function and argument names,...
2016 Apr 24
1
assign color to subsets
...subset that has both, use df_both <- subset(df, grepl("t1", Command) & grepl("t2", Command)) Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. On Sun, Apr 24, 2016 at 2:36 PM, <chalabi.elahe at yahoo.de> wrote: > Thanks Jim, > > my problem is that in Command I have 2229 levels and I want to do subsets > based on the names I have in Command. for example if the name has t1 or t2 > in it or if it has both of them.and then I need to plot in a way that > colors a...
2017 Nov 02
0
"prob" package alternative
...n("fAsianOptions") Package: fAsianOptions Version: 3010.79 Revision: 5522 Date: 2013-06-23 Title: EBM and Asian Option Valuation Author: Diethelm Wuertz and many others, see the SOURCE file Depends: R (>= 2.4.0), timeDate, timeSeries, fBasics, fOptions Suggests: RUnit Maintainer: Yohan Chalabi <yohan.chalabi at rmetrics.org> Description: Environment for teaching "Financial Engineering and Computational Finance" Note: Several parts are still preliminary and may be changed in the future. this typically includes function and argument names, as well as defaults for...
2017 Jul 26
2
fill out a PDF form in R
Hi all, I would like to get ideas about how to fill out a PDF form in R and to know if it's possible or not. I could not find something helpful in Internet. Does anyone know a good link for that or have experience in this? Thanks for any help! Elahe
2017 Jul 26
0
fill out a PDF form in R
Hi Elahe, I have no clue, but maybe you can dump the data fields using pdftk, and work with those in R. HTH Ulrik On Wed, 26 Jul 2017 at 13:50 Elahe chalabi via R-help <r-help at r-project.org> wrote: > Hi all, > > I would like to get ideas about how to fill out a PDF form in R and to > know if it's possible or not. I could not find something helpful in > Internet. > > Does anyone know a good link for that or have experi...
2016 Apr 24
0
assign color to subsets
...ubset that has both, use df_both <- subset(df, grepl("t1", Command) & grepl("t2", Command)) Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. On Sun, Apr 24, 2016 at 2:36 PM, <chalabi.elahe at yahoo.de> wrote: Thanks Jim, > >my problem is that in Command I have 2229 levels and I want to do subsets based on the names I have in Command. for example if the name has t1 or t2 in it or if it has both of them.and then I need to plot in a way that colors are names with t1,name...
2017 Nov 02
2
"prob" package alternative
...gt; > Revision: 5522 > > Date: 2013-06-23 > > Title: EBM and Asian Option Valuation > > Author: Diethelm Wuertz and many others, see the SOURCE file > > Depends: R (>= 2.4.0), timeDate, timeSeries, fBasics, fOptions > > Suggests: RUnit > > Maintainer: Yohan Chalabi <yohan.chalabi at rmetrics.org> > > Description: Environment for teaching "Financial Engineering and > Computational Finance" > > Note: Several parts are still preliminary and may be changed in the > future. this > > typically includes function and...
2017 Nov 02
0
"prob" package alternative
...sianOptions > Version: 3010.79 > Revision: 5522 > Date: 2013-06-23 > Title: EBM and Asian Option Valuation > Author: Diethelm Wuertz and many others, see the SOURCE file > Depends: R (>= 2.4.0), timeDate, timeSeries, fBasics, fOptions > Suggests: RUnit > Maintainer: Yohan Chalabi <yohan.chalabi at rmetrics.org> > Description: Environment for teaching "Financial Engineering and Computational Finance" > Note: Several parts are still preliminary and may be changed in the future. this > typically includes function and argument names, as well a...