First, I am using “Windows Live Mail”, and not able to reply with usual format.
Sorry for that.
I am a bit confused, since you can email to the list. It seems that you have
subscribed here.
In general, you can go to the official website https://www.r-project.org/.
There you follow the menu
Hello All:
I posted one question in the past and another today and hope to get the
same excellent help that I got last time.
My question is this: is there any way to subcribe to the forum so that I
can see the questions and answers posted to r-help?
Thanks,
--
Satish Vadlamani
[[alter
Hello,
I have multiple text files with the format shown below (see the two files
that I pasted below). Each file is a log of multiple steps that the system
has processed and for each step, it has shown the start time of the process
step. For example, in the data below, the filter started at
|06/16/
Thanks for the comment. It resolved now. I have edited my namespace file.
-V
On Thu, Jun 16, 2016 at 3:20 PM, Uwe Ligges wrote:
>
>
> On 16.06.2016 20:17, Kodalore Vijayan, Vineetha W wrote:
>
>> Hi,
>>
>> Its running in R separately using dyn.load(). Thanks!
>>
>> But my original issue is sti
You might want to ask about this on R-sig-geo.
I use readOGR() from the rgdal package to read shapefiles, and it is
currently working for me in R 3.3.0.
-Don
--
Don MacQueen
Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
925-423-1062
On 6/16/16, 12:34 PM,
Hello,
I have some R code that uses readShapeSpatial in the maptools package to read a
shapefile from ArcGIS. This code worked as recently as May 2016, when I was
using R version 3.2.3. Then, R was updated to version 3.3.0. Now, when I run
the same code that worked three weeks ago, I get an e
Hello David,
Your revisions to the earlier code have given me desired results.
library("gtools")
mydata[ mixedorder(mydata$prevalence_c, decreasing=TRUE), c("indicator",
"prevalence_c") ]
Thanks,
Pradip
Pradip K. Muhuri, AHRQ/CFACT
5600 Fishers Lane # 7N142A, Rockville, MD 20857
Tel: 301-
Thank you Don. I did send an email to R-sig-mac.
-Vineetha
On Thu, Jun 16, 2016 at 10:36 AM, MacQueen, Don wrote:
> You might want to take this question to R-sig-mac.
>
> --
> Don MacQueen
>
> Lawrence Livermore National Laboratory
> 7000 East Ave., L-627
> Livermore, CA 94550
> 925-423-1062
>
Thanks for the suggestion Berend. I just tried with numeric(n) and its
working for x and y.
But my issue is different and its not resolved yet.
-Vineetha
On Thu, Jun 16, 2016 at 1:19 PM, Berend Hasselman wrote:
>
> > On 16 Jun 2016, at 21:04, Eduardo M. A. M.Mendes
> wrote:
> >
> >
> >> On J
> On 16 Jun 2016, at 21:04, Eduardo M. A. M.Mendes wrote:
>
>
>> On Jun 16, 2016, at 3:50 PM, Berend Hasselman wrote:
>>
>>
>>> On 16 Jun 2016, at 20:02, Eduardo M. A. M.Mendes
>>> wrote:
>>>
>>> Thanks Bill for pointing this out. I haven’t noticed it.
>>>
>>> Vineetha, try as.double(r
> On Jun 16, 2016, at 3:50 PM, Berend Hasselman wrote:
>
>
>> On 16 Jun 2016, at 20:02, Eduardo M. A. M.Mendes
>> wrote:
>>
>> Thanks Bill for pointing this out. I haven’t noticed it.
>>
>> Vineetha, try as.double(rep(0,n)) or as.matrix(rep(0,n)),
>>
>
> Why not simply numeric(n)?
>
>
> On 16 Jun 2016, at 20:02, Eduardo M. A. M.Mendes wrote:
>
> Thanks Bill for pointing this out. I haven’t noticed it.
>
> Vineetha, try as.double(rep(0,n)) or as.matrix(rep(0,n)),
>
Why not simply numeric(n)?
Berend Hasselman
__
R-help@r-projec
Hi,
Its running in R separately using dyn.load(). Thanks!
But my original issue is still there. I still can not build my package. My
source code file name in SRC folder is "randomepi.f95" , the package name
is "NEpidemic". and the wrapper function in the R folder is "randomepi.r".
Not sure if I
Hi,
@Eduardo: I do have statements like, double preciosion :: y(n) in my
fortran code. Will change the code and run again.
@ William : Yes I was initializing X ,Y,and tau, each have a vector of
length "n".
Thanks,
Vineetha
On Thu, Jun 16, 2016 at 11:54 AM, William Dunlap wrote:
> > 1: .Fo
Thanks Bill for pointing this out. I haven’t noticed it.
Vineetha, try as.double(rep(0,n)) or as.matrix(rep(0,n)),
Ed
> On Jun 16, 2016, at 2:54 PM, William Dunlap wrote:
>
> > 1: .Fortran("dataxy", n = as.integer(n), tmax = as.integer(tmax),
> > alpha = as.double(alpha), beta = as.dou
> 1: .Fortran("dataxy", n = as.integer(n), tmax = as.integer(tmax),
alpha = as.double(alpha), beta = as.double(beta), x = as.double(0,
length = n), y = as.double(0, length = n), tau = as.integer(0,
length = n))
Are you expecting that
as.integer(0, length=n)
and
as.double(0, length = n)
> On 16 Jun 2016, at 17:07 , William Dunlap via R-help
> wrote:
>
> help(ar) should tell you how to get the coefficients. If, like me, you
> don't
> read help files, you can use str() to look at the structure of ar's output.
Also notice that the output of rollapply is not an ar object. More l
That function, expand.dft is in the vcdExtra package
On 6/15/2016 12:42 PM, Marc Schwartz wrote:
There is a function called expand.dft(), which I posted some years ago, which
is a modification of a prior version, posted a few years before that.
The updated version is here:
https://stat.et
Hi Vineetha
It seems that there are some problems in the Fortran code as far as allocating
memory is concerned. If you have statements such as double preciosion :: y(n)
you will need to allocate memory for the vector within the Fortran code or in
the R wrapper-function. It is hard to pinpoi
Hi Eduardo,
Thanks for your comments. I haven't tried the way you told me. Now when I
tried, got the following error:
*** caught segfault ***
address 0x0, cause 'memory not mapped'
Traceback:
1: .Fortran("dataxy", n = as.integer(n), tmax = as.integer(tmax),
alpha = as.double(alpha), beta = as.
> On Jun 16, 2016, at 6:12 AM, Muhuri, Pradip (AHRQ/CFACT)
> wrote:
>
> Hello,
>
> I got 3 solutions to my earlier code. Thanks to the contributors. May I
> bring your attention to a new question below (with respect to David's
> solution)?
>
> 1) Thanks to Daniel Nordlund for the tips -
You might want to take this question to R-sig-mac.
--
Don MacQueen
Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
925-423-1062
On 6/15/16, 1:20 PM, "R-help on behalf of Kodalore Vijayan, Vineetha W"
wrote:
>Hi,
>
>I'm trying to write an R package that cal
Hi everyone
why this code is not running ?
here is it;
library(MplusAutomation)
res <- mplusModeler(
mplusObject(
MODEL = "mpg ON wt hp; wt WITH hp;", rdata = mtcars),
"mtcars.dat", run = 1L)
summary(res)
note that mtcars is the data in r
The out put;
"No R variables to use specified.
S
Hello,
I got 3 solutions to my earlier code. Thanks to the contributors. May I bring
your attention to a new question below (with respect to David's solution)?
1) Thanks to Daniel Nordlund for the tips - replacing leading space with a 0
in the data.
2) Thanks to David Winsemius for his
help(ar) should tell you how to get the coefficients. If, like me, you
don't
read help files, you can use str() to look at the structure of ar's output.
> str(a <- ar(sin(1:30), aic=TRUE))
List of 14
$ order : int 2
$ ar : num [1:2] 1.011 -0.918
$ var.pred: num 0.0654
$ x.m
> On Jun 15, 2016, at 6:44 PM, Marie-Pierre Sylvestre
> wrote:
>
> Dear list,
>
> I am using the lrm function from the rms package to estimate a logistic
> model with weights. The c-statistic (or area under the curve) is part of
> the lrm output.
>
> To understand how the weights enter the co
Hi Kimmo,
Thanks for your reply, Here is a part of my df:
'data.frame': 562 obs. of 128 variables
$ TE :int 37 37 35 34 37 37 35 33 32 ...
$ TR :int 11 11 8 13 11 8 15 12 8 .
$ BW :int 150 191 128 145 200 191
$speed :int 4 4 3
Does this do what you want?
as.numeric(with(ds_example,paste(1,year2013,year2014,year2015,sep='')))
On Thu, Jun 16, 2016 at 8:57 AM, wrote:
> Hi All,
>
> I need to build a binary vector made of a set of dichotomous variables.
>
> What I have so far is:
>
> -- cut --
>
> ds_example <-
> struct
Hi
Did you test my suggestions? If not, why not? If yes, in what respect they did
not work?
sel <- map$POS >= ref$POS_start[1] & map$POS < ref$POS_end[1]
result1 <- sum( map$post_prob[sel] )
result2 <- length( map$post_prob[sel] )
result3 <- min( map$p[sel] )
should give you desired values. It
The problem is not with `caret. Your output says:
> installation of package ‘minqa’ had non-zero exit status
`caret` has a dependency that has a dependency on `minqa`. The same is true
for `RcppEigen` and the others.
What code did you use to do the install? What OS and version or R etc?
On Th
Hi All,
I need to build a binary vector made of a set of dichotomous variables.
What I have so far is:
-- cut --
ds_example <-
structure(
list(
year2013 = c(0, 0, 0, 1, 1, 1, 1, 0),
year2014 = c(0,
0, 1, 1, 0, 0, 1, 1),
year2015 = c(0, 1, 1, 1, 0, 1, 0
Hi!
Some sample data could help us to help you...
But have you read '?xyf' in order to ensure that your 'Y' is what 'xyf'
expects it to be?
What kind of error messages do you get?
Regards,
Kimmo
16.06.2016, 15:13, ch.elahe via R-help wrote:
Is there any answer?
Hi all, I have a df and I
Is there any answer?
Hi all,
I have a df and I want to use supervised Self Organizing Map to do
classification. I should use Kohonen library and xyf function from it. As you
know the xyf function looks like this and I have problem defining my Y:
xyf(data,Y,grid=somgrid(),rlen=100,alpha=c
Hi everybody,
I am trying to run an AR1 model using the ar() function as shown below.
> rollingarma<-rollapply(data,width=36,function(data) ar(data,aic=TRUE))
> head(rollingarma,50)
order arvar.pred x.mean aicn.used order.max partialacf
resid methodseries
[1
We would like to announce the following statistics course:
Course: Introduction to Linear Mixed Effects Models and GLMM with R.
Frequentist and Bayesian approaches.
Where: UNSW, Sydney, Australia
When: 18-22 July 2016
Course website: http://www.highstat.com/statscourse.htm
Course flyer:
http
Thank you all,
David's solution is the one that matches my taste the most.
Patrizio
On Wed, Jun 15, 2016 at 8:04 PM, David L Carlson wrote:
> After converting the table to a data frame, replicate each row by the
> number of observations:
>
> > ddd.df <- as.data.frame(ddd) # as.data.frame.table
I am trying to install the package but am I keep getting this error messages
installation of
package ��minqa�� had non-zero exit status
2: In install.packages("caret", repos =
"http://cran.stat.ucla.edu/";) :
installation of
package ��RcppEigen�� had non-zero exit status
3: In install.pac
Hi
From posted ref and map you cannot obtain final file need, they have nothing in
common.
answers see in line
> -Original Message-
> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of greg holly
> Sent: Wednesday, June 15, 2016 5:21 PM
> To: r-help@r-project.org
> Subject:
38 matches
Mail list logo