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
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
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
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
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
Respected Sir,
I Mr Kishor Tried to get help online but wont found the solution so
writting an email.
Step1: While writting in rmarkdown all codes get executted very well till
the fuction
Confusionmatrix were written on it.
Step2: As confusionmatrix command inserted following error is on screen
> 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
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
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
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 well.
For this requirement , I am trying to use a for loop to create visuals and
panel for each set of va
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
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
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
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..
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
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
;> 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]
&
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
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
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
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
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
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
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
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
Dear All,
I am Nasim Hasan a CS Student of New Mexico State
University(NMSU). I am using R for my course work on the topics of Big-Data. My
OS is Windows Seven and I using R's windows version of 3.0.2 along with the
R-Studio of version 0.98.495.
The problem is that,
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
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)
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
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
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
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
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 0) or (0% to 100%) on one side
and grass height at t
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
Hi
I have a function
y= x^2
min =10
max=20
increment=0.1
I want to find the value of y for the value of x between min and max by step
increment.
how to get the values using apply function instead of for loop
-
Thanks in Advance
Arun
--
View this message in context:
http://r.7896
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
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.,
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., 2004. Generating Heatmaps till Fig2 is working so I t
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
Hi,
I am trying to model credit risk data using decision trees. Since the
number of defaulters is less compared to non-defaulters (defaulters around
10%), we have the class imbalance problem. Consequently, the confusion
matrix shows that the number of misclassified non-defaulters is large.
Cla
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
I'm using the CRRBinomialTreeOption function (in package "fOptions") with a
loop for pricing a large number of options. But I can't transfer the values
obtained from this function to a "numeric" matrix as the outcome of this
function is not a simple numeric.
The following is the piece of code:
#
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
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)
TenantDomain Owner Current State
1\\N ROOTadmin Running
2\\N ROOTadmi
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
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
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
Is it possible to read jpeg files into R?
If yes please guide, Thanks.. I tried to search many time but failed to do.
Thankis in advance..
with Best Regards,
Malik Shahzad
Visiting Researcher
National Institute of Informatics (NII)
Tokyo, Japan
Doctoral Student
Asian Institute of Technology
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
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
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.
__
>
> 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
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
>
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
> 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
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",
I have the raw data with 9 column and 197977 row:
> dummy
State Months Bedroom
1xxxJan 1
2xxxJan 2
3xxxJan 1
4yyyJan 1
5yyyJan 2
6yyyJan 1
7zzzJan 3
8zzzJan 1
9zzzJan 2
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.
>>
>> 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
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
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 xxxFeb 4
12 xxxFeb 2
13 yyyFeb
rom: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
> project.org] On Behalf Of Alice Johnstone
> Sent: Monday, April 12, 2010 9:41 PM
> To: r-help@R-project.org
> Subject: [R] Help required with png graphic production as text has
> shadows?
>
> I have produced a
n...@r-project.org [mailto:r-help-boun...@r-
> project.org] On Behalf Of Alice Johnstone
> Sent: Monday, April 12, 2010 9:41 PM
> To: r-help@R-project.org
> Subject: [R] Help required with png graphic production as text has
> shadows?
>
> I have produced a series of graphs with th
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
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.
I tried increasing my res to 1200 and this improved it somewhat, but the text
is still not sharp an
Hi there,
I am attempting to analyse data from a crossover study using a mixed
effect Emax model in R using nlme. I am having problems ascertaining how
to fit the model.
Subjects are randomly assigned to 1 of 4 treatments in a complete block
design. The response variable of interest is recorded
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
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/.)
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/.)
Unfortunately I am unable to install it.
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
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
Hello everyone,
I am new to R. I have data in the form of excel pivot table format and I
want to cast it into a format which can make it compatible with
computation.
Since I already have the package in pivot format; I avoid melt function
and use the cast directly.
I inspect the
dataread <- re
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
Hi Friends
I am working on a Financial Model project in R and require help in
writing code for Moving Averages. Since I am very new to R, it would be
good if any seniors in the group can guide me on a proper moving average
code.
Thanks & Best Regards,
Kushal
The information in thi
74 matches
Mail list logo