Re: [R] Help Required for R Markdown function.

2021-03-01 Thread Jeff Newmiller
y advice. It may be something trivial such as >kit not knowing where to place a library so it puts it into a temp >area? > >Avi > >-Original Message- >From: R-help On Behalf Of John Kane >Sent: Saturday, February 27, 2021 3:07 PM >To: Kishor raut >Cc: R. Help Mai

Re: [R] Help Required for R Markdown function.

2021-03-01 Thread Avi Gross via R-help
made a new empty markdown but as it asks for nothing, it has no problems 😉 From: CALUM POLWART Sent: Monday, March 1, 2021 2:31 AM To: Avi Gross Cc: 'R. Help Mailing List' Subject: Re: [R] Help Required for R Markdown function. Sounds like you have an install.packages("t

Re: [R] Help Required for R Markdown function.

2021-02-28 Thread Avi Gross via R-help
library so it puts it into a temp area? Avi -Original Message- From: R-help On Behalf Of John Kane Sent: Saturday, February 27, 2021 3:07 PM To: Kishor raut Cc: R. Help Mailing List Subject: Re: [R] Help Required for R Markdown function. The "confusionMatrix" function appears to

Re: [R] Help Required for R Markdown function.

2021-02-28 Thread Kishor raut
Thanks, I'll check it out. On Sun, 28 Feb, 2021, 1:37 AM John Kane, wrote: > The "confusionMatrix" function appears to be from the 'caret' package. > Have you loaded 'caret' with the library(caret) command? > > On Sat, 27 Feb 2021 at 14:20, Kishor raut wrote: > >> Respected Sir, >> >> I Mr Kish

Re: [R] Help Required for R Markdown function.

2021-02-27 Thread John Kane
The "confusionMatrix" function appears to be from the 'caret' package. Have you loaded 'caret' with the library(caret) command? On Sat, 27 Feb 2021 at 14:20, Kishor raut wrote: > Respected Sir, > > I Mr Kishor Tried to get help online but wont found the solution so > writting an email. > > Step1

Re: [R] Help Required in looping visuals

2017-08-21 Thread Ismail SEZEN
> On 21 Aug 2017, at 09:30, Venkateswara Reddy Marella (Infosys Ltd) via R-help > wrote: > > Hi Team , > > I have a requirement of building set of panels in which each panel has > multiple visuals based on single set of dataset values and this thing is > repeated for other set of values as w

Re: [R] Help Required in looping visuals

2017-08-21 Thread Ulrik Stervbo
Hi Venkat, I must admit I don't understand what you are looking for, but maybe just store the visuals in a named lIst? Also, I have started to use nested data.frames to keep plots together with identifiers of the data sets. The nest and unnest functions are in the tidyr package. It keeps me from

Re: [R] Help Required in looping visuals

2017-08-21 Thread John Kane via R-help
I think we need a lot more information on the problem.  read  the posting guidelines at the bottom of the email & have a look at these links. http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example Reproducibility · Advanced R. | | | | Reproducibility · Advanced

Re: [R] Help required for Rcmdr

2016-02-22 Thread Fox, John
Ontario Canada L8S 4M4 web: socserv.mcmaster.ca/jfox From: R-help [r-help-boun...@r-project.org] on behalf of Sekhar Venkatesan [venkatesansek...@gmail.com] Sent: February 21, 2016 7:49 AM To: R-help@r-project.org Subject: Re: [R] Help required for R

Re: [R] Help required for Rcmdr

2016-02-21 Thread Jeff Newmiller
ansek...@gmail.com] >> > Sent: February 10, 2016 11:37 AM >> > To: Fox, John >> > Subject: RE: [R] Help required for Rcmdr >> > >> > Tks and sorry for inadvertently sending to u alone >> >> And you apparently just did that again, so again I

Re: [R] Help required for Rcmdr

2016-02-21 Thread Sekhar Venkatesan
ilto:venkatesansek...@gmail.com] > > Sent: February 10, 2016 11:37 AM > > To: Fox, John > > Subject: RE: [R] Help required for Rcmdr > > > > Tks and sorry for inadvertently sending to u alone > > And you apparently just did that again, so again I'm cc'in

Re: [R] Help required for Rcmdr

2016-02-10 Thread Fox, John
to me, not to r-help. That not a good idea for several reasons, not least of which is that people who have other suggestions won't see your message. I'm cc'ing this response to r-help. Best, John > -Original Message- > From: Sekhar Venkatesan [mailto:venkatesansek..

Re: [R] Help required for Rcmdr

2016-02-10 Thread Fox, John
Dear Sekhar, > -Original Message- > From: Sekhar Venkatesan [mailto:venkatesansek...@gmail.com] > Sent: February 10, 2016 11:37 AM > To: Fox, John > Subject: RE: [R] Help required for Rcmdr > > Tks and sorry for inadvertently sending to u alone And you apparentl

Re: [R] Help required for Rcmdr

2016-02-09 Thread Fox, John
Hi Rich, > -Original Message- > From: Richard M. Heiberger [mailto:r...@temple.edu] > Sent: February 9, 2016 4:57 PM > To: Vito M. R. Muggeo > Cc: Fox, John ; Sekhar Venkatesan > ; Duncan Murdoch > ; R-help@r-project.org; R-windows@r- > project.org > Subject

Re: [R] Help required for Rcmdr

2016-02-09 Thread Richard M. Heiberger
;> McMaster University >> Hamilton, Ontario >> Canada L8S 4M4 >> web: socserv.mcmaster.ca/jfox >> >> >> >> From: R-help [r-help-boun...@r-project.org] on behalf of Vito M. R. Muggeo >> [vito.mug...@unipa.it] &

Re: [R] Help required for Rcmdr

2016-02-09 Thread Vito M. R. Muggeo
an Murdoch; R-help@r-project.org Cc: r-wind...@r-project.org Subject: Re: [R] Help required for Rcmdr dear all, I don't know if that problem is related to the Rcmdr package itself.. (Sekhar try to install any other packages..) I am experiencing the same problem, in that when typing > ins

Re: [R] Help required for Rcmdr

2016-02-09 Thread Fox, John
an Murdoch; R-help@r-project.org Cc: r-wind...@r-project.org Subject: Re: [R] Help required for Rcmdr dear all, I don't know if that problem is related to the Rcmdr package itself.. (Sekhar try to install any other packages..) I am experiencing the same problem, in that when typing > ins

Re: [R] Help required for Rcmdr

2016-02-09 Thread Fox, John
p-boun...@r-project.org] on behalf of Sekhar Venkatesan [venkatesansek...@gmail.com] Sent: February 9, 2016 6:44 AM To: Duncan Murdoch; R-help@r-project.org Cc: r-wind...@r-project.org Subject: Re: [R] Help required for Rcmdr Dear Mr. Murdoch, I am extremely sorry to have sent the mail to you instea

Re: [R] Help required for Rcmdr

2016-02-09 Thread Vito M. R. Muggeo
dear all, I don't know if that problem is related to the Rcmdr package itself.. (Sekhar try to install any other packages..) I am experiencing the same problem, in that when typing > install.packages("_ANY_PACKAGE_") I get the message Warning message: package ‘_ANY_PACKAGE_’ is not available (f

Re: [R] Help required for Rcmdr

2016-02-09 Thread Sekhar Venkatesan
Dear Mr. Murdoch, I am extremely sorry to have sent the mail to you instead of R-help. Thanks for directing me. I have downloaded R 3.2.3 version. After that i asked for install.packages("Rcmdr") . It says that Rcmdr is not available with version 3.2.3. On looking at the pdf file for getting starte

Re: [R] Help required for using the prettyTree() to plot a regression tree graphically.......!!!!!!

2014-02-09 Thread Prof Brian Ripley
On 09/02/2014 15:52, Ista Zahn wrote: On Sun, Feb 9, 2014 at 7:20 AM, Prof Brian Ripley wrote: You seem to be under the impression that prettyTree() is something to do with package rpart: it is not. You need to ask the person who told you about prettyTree() where to find it. OR: install.pac

Re: [R] Help required for using the prettyTree() to plot a regression tree graphically.......!!!!!!

2014-02-09 Thread Ista Zahn
On Sun, Feb 9, 2014 at 7:20 AM, Prof Brian Ripley wrote: > You seem to be under the impression that prettyTree() is something to do > with package rpart: it is not. > > You need to ask the person who told you about prettyTree() where to find it. OR: install.packages("sos") library(sos) findFn("p

Re: [R] Help required for using the prettyTree() to plot a regression tree graphically.......!!!!!!

2014-02-09 Thread Prof Brian Ripley
You seem to be under the impression that prettyTree() is something to do with package rpart: it is not. You need to ask the person who told you about prettyTree() where to find it. On 09/02/2014 07:49, Nasim Hasan wrote: Dear All, I am Nasim Hasan a CS Student of New Mexico Stat

Re: [R] Help required graphing factors with predicted model settings

2013-10-11 Thread Michael Friendly
On 10/10/2013 11:33 PM, Rebecca Stirnemann wrote: > Hi Michael, > Thanks! That worked. Which is so brilliant! > A couple of questions. In regards to display. > Do you know how to add labels on to the graph? The code below doesn't > work. Not surprising, since your data, mao1, is not in the lme4 pa

Re: [R] Help required graphing factors with predicted model settings

2013-10-10 Thread Michael Friendly
Perhaps you are looking for the effects package, which can plot effects (predicted values) for terms in mer objects from lme4? library(effects) ?effect library(lme4) data(cake, package="lme4") fm1 <- lmer(angle ~ recipe * temperature + (1|recipe:replicate), cake, REML = FALSE)

Re: [R] Help required graphing factors with predicted model settings

2013-10-09 Thread Jim Lemon
On 10/10/2013 03:52 PM, Rebecca Stirnemann wrote: Thanks Jim for helping, Your sample data actually looks like my dataset. The one I put up looks strange for some reason so please ignore that. I have three landusenumb variables 1 2 and 3. is rep (1,2,3) correct? When I run the following code I

Re: [R] Help required graphing factors with predicted model settings

2013-10-09 Thread Rebecca Stirnemann
But with three lines for the three habitat types and grass length at the bottom On Thu, Oct 10, 2013 at 5:52 PM, Rebecca Stirnemann wrote: > Thanks Jim for helping, > > Your sample data actually looks like my dataset. The one I put up looks > strange for some reason so please ignore that. > I

Re: [R] Help required graphing factors with predicted model settings

2013-10-09 Thread Rebecca Stirnemann
Thanks Jim for helping, Your sample data actually looks like my dataset. The one I put up looks strange for some reason so please ignore that. I have three landusenumb variables 1 2 and 3. is rep (1,2,3) correct? When I run the following code I am getting: > mod1 <- glmer(frat ~ flandusenumb + g

Re: [R] Help required graphing factors with predicted model settings

2013-10-09 Thread Jim Lemon
On 10/10/2013 08:35 AM, Rebecca Stirnemann wrote: Dear R wizards, Though I hate to do it after weeks of my code not working I need some help since I cant find an example which seems to work. I am trying to create a graph which show the probability of predation of a nest on one side (either 1 to

Re: [R] Help required in using apply instead of for loop

2012-01-31 Thread Carlos Ortega
Hi, You can do that even without apply(): v.v<-seq(10,20, by=0.1) y<-v.v^2 But if you want it with apply... apply(as.matrix(v.v), 1, function(x) x^2) Regards, Carlos Ortega www.qualityexcellence.es 2012/1/31 arunkumar > Hi > > I have a function > > y= x^2 > > min =10 > max=20 > in

Re: [R] help required for GO Annotation problem

2011-06-28 Thread James W. MacDonald
Hi Suman, On 6/28/2011 10:02 AM, David Winsemius wrote: On Jun 28, 2011, at 5:34 AM, suman pal wrote: Hello, I basically want to use R-help, and post some problems which I am facing. The Ref is a well known Genome Biology paper "Bioconductor: open software development for computational biolog

Re: [R] help required for GO Annotation problem

2011-06-28 Thread David Winsemius
On Jun 28, 2011, at 5:34 AM, suman pal wrote: Hello, I basically want to use R-help, and post some problems which I am facing. The Ref is a well known Genome Biology paper "Bioconductor: open software development for computational biology and bioinformatics" by Robert C Gentleman et al.,

Re: [R] Help required

2011-04-12 Thread Steve Lianoglou
Hi Sadaf, Out of curiosity, what sorts of things have you tried to fix this? For example, after playing around with this a bit, if I remove your "eps" parameter from your `ranges` list, it works. Perhaps you should try tweaking the values you pick for your parameters. You don't even have to put

Re: [R] Help required: binomial option pricing using package

2010-12-25 Thread Tal Galili
Hi Sonal, The example you gave is not reproducible since we don't have "data" as you do. However, here is an example of how to access the object you are after: tmp <- CRRBinomialTreeOption(TypeFlag = "pa", S = 50, X = 50, Time = 5/12, r = 0.1, b = 0.1, sigma = 0.4, n = 5) t...@price Cheers

Re: [R] Help required to remove \\N

2010-11-06 Thread Henrique Dallazuanna
Try this: gsub("N", "BlankSpace", rawdata$Tenant) On Sat, Nov 6, 2010 at 8:15 AM, Mohan L wrote: > Dear All, > > I have .csv file it looks like this : > rawdata <- read.csv(file='/home/Mohan/Rworks/tmp/VMList_User.txt',sep='\t' > , header=FALSE) > > > head(rawdata,n=5) > TenantDoma

Re: [R] Help required

2010-09-26 Thread Renaud Lancelot
In a context of spatial analysis, see also readGDAL in package rgdal: library(rgdal) logo <- system.file("pictures/logo.jpg", package="rgdal")[1] x <- readGDAL(logo) image(x) Renaud 2010/9/25 Prof Brian Ripley : > On Sat, 25 Sep 2010, Malik Shahzad wrote: > >> >> Is it possible to read jpeg fil

Re: [R] Help required

2010-09-25 Thread Prof Brian Ripley
On Sat, 25 Sep 2010, Malik Shahzad wrote: Is it possible to read jpeg files into R? If yes please guide, Thanks.. I tried to search many time but failed to do. On my system ??jpeg gave ReadImages::read.jpeg Read JPEG file biOps::readJpeg Read jpeg file rimage::read.jpeg Read

Re: [R] Help required

2010-09-25 Thread Ben Bolker
Malik Shahzad live.com> writes: > > > Is it possible to read jpeg files into R? > > If yes please guide, Thanks.. I tried to search many time but failed to do. > install.packages("sos") library("sos") findFn("read jpeg") (I initially tried findFn("import jpeg") and didn't get any hits, then

Re: [R] help required to melt a data frame

2010-05-25 Thread Mohan L
On Tue, May 25, 2010 at 9:35 PM, Wu Gong wrote: > > Do you mean count frequency of One Bedroom? > > table(dummy[dummy$Bedroom==1,][,1:2]) > Dear learner, Thanks for you time. Yes, that is what I am trying to archive using melt and cost. any way it works for me . Thanks for your help. Thank

Re: [R] help required to melt a data frame

2010-05-25 Thread Wu Gong
Hope it helps this time:) ### Package reshape, function melt and cast ### Read table dummy <- read.table(textConnection("State Months Bedroom 1xxxJan 1 2xxxJan 2 3xxxJan 1 4yyyJan 1 5yyyJan 2 6yyyJan 1 7zzz

Re: [R] help required to melt a data frame

2010-05-25 Thread Wu Gong
Do you mean count frequency of One Bedroom? table(dummy[dummy$Bedroom==1,][,1:2]) - A R learner. -- View this message in context: http://r.789695.n4.nabble.com/help-required-to-melt-a-data-frame-tp2229633p2230260.html Sent from the R help mailing list archive at Nabble.com. __

Re: [R] help required to melt a data frame

2010-05-25 Thread Mohan L
> > In that case, you probably want: > > subsets.melt <- melt(subsets.dummy,id.vars=c("State","Bedroom", "Months")) > cast(subsets.melt, State ~ Months, fill = 0, fun = length) > > Hadley > Dear Hadley, > subsets.melt <- melt(subsets.dummy,id.vars=c("State","Bedroom", "Months")) > subsets.melt

Re: [R] help required to melt a data frame

2010-05-25 Thread Hadley Wickham
On Tue, May 25, 2010 at 8:39 AM, Mohan L wrote: > > > On Tue, May 25, 2010 at 6:59 PM, Hadley Wickham wrote: >> >> > I trying to get a new data frame for 1 bedroom using cast. But I am not >> > able >> > to get the below data for 1 Bedroom using cost. >> > >> > State  Jan Feb >> >  xxx   2    0 >

Re: [R] help required to melt a data frame

2010-05-25 Thread Mohan L
On Tue, May 25, 2010 at 6:59 PM, Hadley Wickham wrote: > > I trying to get a new data frame for 1 bedroom using cast. But I am not > able > > to get the below data for 1 Bedroom using cost. > > > > State Jan Feb > > xxx 20 > > yyy 22 > > zzz 10 > > What do those numbers repr

Re: [R] help required to melt a data frame

2010-05-25 Thread Hadley Wickham
> I trying to get a new data frame for 1 bedroom using cast. But I am not able > to get the below data for 1 Bedroom using cost. > > State  Jan Feb >  xxx   2    0 >  yyy   2    2 >  zzz   1    0 What do those numbers represent? Hadley -- Assistant Professor / Dobelman Family Junior Chair Depar

Re: [R] help required state wise count

2010-05-25 Thread Jim Lemon
On 05/24/2010 10:21 PM, Mohan L wrote: ... in this case the state column becomes the row index. I want the state name as the first column. There may be a way to do it. Hi Mohan, You can do it with this awful kludge, but there must be a better way: dummy<-data.frame( State=sample(c("NSW","NT",

Re: [R] help required state wise count

2010-05-24 Thread David Winsemius
On May 24, 2010, at 8:21 AM, Mohan L wrote: Hi Mohan, Try this: table(dummy$State,dummy$Months) Jim Thanks for your time. table(dummy$State,dummy$Months) in this case the state column becomes the row index. I want the state name as the first column. There may be a way to do it. ?as.

Re: [R] help required state wise count

2010-05-24 Thread Mohan L
>> >> Hi Mohan, > Try this: > > table(dummy$State,dummy$Months) > > Jim > > Thanks for your time. table(dummy$State,dummy$Months) in this case the state column becomes the row index. I want the state name as the first column. There may be a way to do it. Thanks & Rg Mohan L [[alternativ

Re: [R] help required state wise count

2010-05-24 Thread Jim Lemon
On 05/24/2010 07:44 PM, Mohan L wrote: I have the data like this: dummy State Months No 1xxxJan 1 2xxxJan 2 3xxxJan 1 4yyyJan 1 5yyyJan 2 6yyyJan 1 7zzzJan 3 8zzzJan 1 9zzzJan 2 10 xxxFeb 3 11 xxx

Re: [R] Help required with png graphic production as text has shadows?

2010-04-13 Thread Alice Johnstone
Hi Greg Thank you, the wmf version looks much better in Word and prints out lovely. The file size is very large for the volcano plots, but the other graphs are smaller than the png ones. I wasn't resizing the png's but I think word was definitely changing them. I only have six volcano plots s

Re: [R] Help required with png graphic production as text has shadows?

2010-04-13 Thread Greg Snow
Are you resizing the graphs at all? This can cause the shadows/blur, it is best to create the graphs at the exact size that you will end up using them so that there is no resizing (though I would not trust word to not resize even if you tell it not to). You may also want to try producing wmf f

Re: [R] Help required with png graphic production as text has shadows?

2010-04-12 Thread Karl Ove Hufthammer
Alice Johnstone wrote: > I have produced a series of graphs with the png command, however when I > have finally printed these out the black text appears to have a colour > shadow with blue or red on either side of the letter. What you’re seeing is likely subpixel antialiasing. How to ‘fix’ this

Re: [R] Help required to install package from a website

2008-12-14 Thread Eamonn O'Brien
Thanks Ben Successfully installed. On Sun, Dec 14, 2008 at 2:59 PM, Ben Bolker wrote: > > > > Eamonn O'Brien wrote: >> >> Hi, >> I am new to R and I'm looking to perform some method comparison >> analysis and would be grateful for some help regarding package >> installation. >> There is a package

Re: [R] Help required to install package from a website

2008-12-14 Thread Ben Bolker
Eamonn O'Brien wrote: > > Hi, > I am new to R and I'm looking to perform some method comparison > analysis and would be grateful for some help regarding package > installation. > There is a package 'MethComp' that I want to use > (http://staff.pubhealth.ku.dk/~bxc/MethComp/Courses/Sthm.2007/.)

Re: [R] Help Required in using cast (reshape package) function

2007-11-21 Thread hadley wickham
On 11/21/07, Punit Anand <[EMAIL PROTECTED]> wrote: > Hello everyone, > > Since the fields in variables column are unique with respect to ID and > fiscal year; any function like > sum,min,max,mean etc will lead to the desired result You should probably check that, as the warning only occurs when a

Re: [R] Help Required in using cast (reshape package) function

2007-11-21 Thread Punit Anand
Hello everyone, Since the fields in variables column are unique with respect to ID and fiscal year; any function like sum,min,max,mean etc will lead to the desired result Therefore cast(dataread, ID + Period ~ variable,sum) Will lead to the desired result in my case; Thanks, Punit -Ori

Re: [R] Help Required

2007-11-21 Thread jim holtman
There is code for moving averages already in R. There is some information in the 'zoo' package. ?filter What specifically are you looking for? On Nov 20, 2007 11:53 PM, Kushal M Shah <[EMAIL PROTECTED]> wrote: > Hi Friends > > > > I am working on a Financial Model project in R and require help i