Hi Jeff
> -Original Message-
> From: Jeff Newmiller [mailto:jdnew...@dcn.davis.ca.us]
> Sent: Friday, February 13, 2015 3:56 PM
> To: PIKAL Petr; r-help@r-project.org
> Cc: Richard M. Heiberger
> Subject: RE: [R] problems with packages installation
>
> I agree that the PG muddies the water
On Feb 15, 2015, at 4:36 PM, Bingzhang Chen wrote:
> Hi R users,
>
> I have a problem on how to pass an extra argument to do. call:
>
> The example codes are:
>
> #
> require(ggplot2)
> plots = lapply(1:5, function(.x) qplot(1:10,rnorm(10), main=past
Hi all,
When using the match command from the matching package, the output reports
the treatment effect, standard error, t-statistic and a p-value. Which test
is used to generate this p-value, or how us it generated?
Thanks,
Rob.
--
View this message in context:
http://r.789695.n4.nabble.com
Hi,
I'm the administrator of HPC cluster and one of the user reported that their
R job is vary slow. Below is the code that the user provided to me. May I
request your suggestion why the code is so slow and utilizing 100% memory?
I have installed R version 3.1.2 and RJags_3-14.
## data ##
set.s
Hi R users,
I have a problem on how to pass an extra argument to do. call:
The example codes are:
#
require(ggplot2)
plots = lapply(1:5, function(.x) qplot(1:10,rnorm(10), main=paste("plot",.x)))
require(gridExtra)
do.call(grid.arrange, plots)
#--
Hi,
I have used this function before successfully. I could help you if you could
provide your code.
Thanks & Regards,Arnab
From: hms Dreams
To: "r-help@r-project.org"
Sent: Saturday, February 14, 2015 6:27 AM
Subject: [R] help please >>metro_hastings function
Hi :)anybody can h
On 15/02/2015 12:16 PM, Raja Dey wrote:
> Dear Sir/Madam,I am currently a student of an online course on R Programming
> offered by JHU. I finished Week assignment. Peer assessment method is not
> very clear to me. My questions are as follows:
> 1. Is it compulsory?2. When it will start and what
That's exactly what I was thinking. Thanks tons.
Sent from Yahoo Mail on Android
From:"arun"
Date:Sun, Feb 15, 2015 at 2:47 AM
Subject:Re: Difference in dates for unique ID
HI Farnoosh,
Not sure I understand the expected output.� The difference between the first 2
days is "136 days"
May be
Dear Sir/Madam,I am currently a student of an online course on R Programming
offered by JHU. I finished Week assignment. Peer assessment method is not very
clear to me. My questions are as follows:
1. Is it compulsory?2. When it will start and what is the due date for peer
assessment for each as
Is there a way to have the LDA function give me the best 3 (or 4) predictor
variables. When I put in all the variables, LDA uses all the variables, but I
would like to know what would be the 3 (or 4) best to use out all the available
variables and the coefficients for those.
Here is the co
I guess my C background has messed me up a bit for R. Well, recovering from
APL was worse. I lost all sense of hierarchy of operations.
On Feb 15, 2015 2:19 PM, "Duncan Murdoch" wrote:
> On 15/02/2015 11:20 AM, John McKown wrote:
> > On Sun, Feb 15, 2015 at 9:54 AM, Duncan Murdoch
> > mailto:murd
On 15/02/2015 11:20 AM, John McKown wrote:
> On Sun, Feb 15, 2015 at 9:54 AM, Duncan Murdoch
> mailto:murdoch.dun...@gmail.com>>wrote:
>
> On 15/02/2015 10:08 AM, Sun Shine wrote:
> > Thanks John: understanding it as a line return makes sense!
>
> But it's not right. This is one stat
Hello
I am going to estimate the parameters of generalized Poisson model of Consul.
I need to use the function: generalized -poisson-likelihood(y).
can anybody make me sure what the vector y is?
If the amounts of variable is: (0,1,2,3) , and the vect
Hello
I am going to estimate the parameters of generalized Poisson model of Consul.
I need to use the function: generalized -poisson-likelihood(y).
can anybody make me sure what the vector y is?
If the amounts of variable is: (0,1,2,3) , and the vector of observed values
is: (1,4,7,3).
Whi
Hi again :)
I wrote my code here:
library("MHadaptive")baysianlog=function (param,data)
{ alpha=param[1]
gam=param[2]
delta=param[3]
x=data
n =length(x)
logl=n*log(alpha)+n*log(gam)+n*log(1/delta)+(alpha-1)*sum(log(x))-su
Thanks so much, John and Dennis (who did not respond in the mailing list
for some reason). I feel quite obliged to keep you thinking about this.
I do agree that not using the bar chart with error bars is a better option.
And since *condition* is an important ordinal factor for me, it would be
much
I was thinking about this last night and decided to try more facetingi in the
scatterplot. (No data incuded as it is in your post below.)
I have deleted the rest of our converstions as the mailer is refusing to mail
this; the error message makes no sence; and so my best guess is that we have
Mea culpa, mea culpa
John Kane
Kingston ON Canada
-Original Message-
From: john.archie.mck...@gmail.com
Sent: Sun, 15 Feb 2015 10:20:39 -0600
To: murdoch.dun...@gmail.com
Subject: Re: [R] Noob question re: writing while loops on one line
On Sun, Feb 15, 2015 at 9:54 AM, Duncan Murdoch
Best not to be pedantic, John, unless you are going to be right. Please read
section 10.3.5 in the R Language Definition document. This is R, not C.
---
Jeff NewmillerThe . . Go Live
On Sun, Feb 15, 2015 at 9:54 AM, Duncan Murdoch
wrote:
> On 15/02/2015 10:08 AM, Sun Shine wrote:
> > Thanks John: understanding it as a line return makes sense!
>
> But it's not right. This is one statement, and it returns the value 3:
>
> 1 +
> 2
>
> This is an error:
>
> 1 + ; 2
>
> The semic
On 15/02/2015 10:08 AM, Sun Shine wrote:
> Thanks John: understanding it as a line return makes sense!
But it's not right. This is one statement, and it returns the value 3:
1 +
2
This is an error:
1 + ; 2
The semicolon is a statement separator, not a line return.
Duncan Murdoch
>
> Cheers
this is an exemple:
library(plotGoogleMaps)
data(meuse)
coordinates(meuse)<-~x+y # convert to SPDF
proj4string(meuse) <- CRS('+init=epsg:28992')
# Adding Coordinate Referent Sys.
# Create web map of Point data
m<-plotGoogleMaps(meuse,filename='myMap1.htm')
__
No sign of your code Saral.
Probably the best way to send it is a .txt file. That usually gets through.
R-help is very fussy about what types of files it lets through
John Kane
Kingston ON Canada
> -Original Message-
> From: cute_loo...@hotmail.com
> Sent: Sat, 14 Feb 2015 20:52:22 +03
Thanks John: understanding it as a line return makes sense!
Cheers
Sun
On 15/02/15 14:59, John Kane wrote:
Hi Sun,
Can you check the code in the one line command in RStudio?
I tied it and got the expected error. Or to put it another way, it should not
have run for you :)
The semi-colon is
Hi Sun,
Can you check the code in the one line command in RStudio?
I tied it and got the expected error. Or to put it another way, it should not
have run for you :)
The semi-colon is funtioning as a line return
John Kane
Kingston ON Canada
> -Original Message-
> From: phaedr...@gma
ttps://github.com/hadley/devtools/wiki/Reproducibility
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
John Kane
Kingston ON Canada
> -Original Message-
> From: jjanu...@tv3.cat
> Sent: Sun, 15 Feb 2015 11:40:39 +
> To: r-help@r-project.org
> S
Thank you so much Uwe. It seems working.
Thanks & Regards,
Arnab
Arnab Kumar Maity
Graduate Teaching Assistant
Division of Statistics
Northern Illinois University
DeKalb, IL 60115
Email: ma...@math.niu.edu
Ph: 779-777-3428
On Thu, Feb 12, 2015 at 4:02 PM, Uwe Ligges-3 [via R] <
ml-node+s78
Hi All
I'm trying to use R to create a temporary table in Teradata and then add
rows from data frame into the temporary volatile table in R
Based on the code below (I have changed the SQL slightly), I am able to
create the temporary table in my spool space but when I try add the data
frame myd
HI Farnoosh,
Not sure I understand the expected output. The difference between the first 2
days is "136 days"
May be this helps
library(data.table)
dcast.data.table(setDT(df)[, list(Visit=.N, Diff=
as.numeric(abs(diff(as.Date(Date, format='%d-%b-%y') ,
by = ID], ID+Vi
Anyone Knows why doesn't refresh the data InfoBox (infowindow) from map
markers googlempas? There is always the first selection info data.
That's happen since last Friday 13th wiht googlempas from plotGoogleMaps.
There is any solution please?
[[alternative HTML version deleted]]
___
Brilliant Jim - that does the trick!!
I guess then that the semi-colon rule works for any program or function
that is being written on one line?
Any reason why when writing this out in the RStudio source editor no
semi-colon is required, but it is when written in the interactive console?
Th
Hi Sun,
Try including a semicolon.
while(count < 10) { print(count); count<-count+1 }
Jim
On Sun, Feb 15, 2015 at 9:20 PM, Sun Shine wrote:
> Hi list
>
> I'm working through some exercises and did a while loop which raised an
> issue for me:
>
> I can write out the while loop so:
>
>> count <-
Hi list
I'm working through some exercises and did a while loop which raised an
issue for me:
I can write out the while loop so:
> count <- 0
while(count < 10) {
print(count)
count <- count + 1
}
And this works fine.
Trying to do the same thing all on one line however gives this
33 matches
Mail list logo