Hi DM,
I'm currently dealing with very similar issues. To date I've been exporting
regression outputs in mass quantities (updated every 5 days) to excel, and
manually linking to data to get my predictions.
I've been doing a ton of research on forecast, caret, and SEM packages and
am still empty
Hi All,
I was unable to find help in search history.
I have all my regression outputs in my environment tab, and wish to "run"
them against my data, so that instead of having to export regression outputs
to excel, and manually connect data-regression.
I have predictive regressions that forecast
On Mar 28, 2014, at 1:52 PM, Noah Marconi wrote:
> Is this what you're going for?
>
> factor(values, levels=mylevels[[1]], labels=mylevels[[2]])
>
> [1] a b e e j
> Levels: a b c d e f g h i j
That is certainly what looks like the right (or at least obvious) answer to me.
The OP should note t
On 03/29/2014 04:09 AM, KIRA wrote:
Hi R,
I am a new Chinese user of R, I like this language very much.In the
recent months,I spend over 4 hours every day leanring R,but during the learning
I come across some problems I can not understand.For R is still not very
popular in China,I ask
On Mar 29, 2014, at 1:18 PM, el_alisio wrote:
> Hi Stefano,
>
> first of all, it would be really helpful, if you provided a reproducible
> example. That way we could better help you!! Second of all, please have a
> look at ?gamm before posting a question:
Yes, that would certainly have been hel
On 29.03.2014 20:47, Josef Dustin Tracy wrote:
Hi,
I'm trying use R CMD build, and cannot for the life of me get it work. The
OS is Windows 7, and I just upgraded R to 3.0.3. Depending on what I try, I
get "Error: unexpected symbol" or "Error: unexpected input". I have no idea
where I am g
Hi Stefano,
first of all, it would be really helpful, if you provided a reproducible
example. That way we could better help you!! Second of all, please have a
look at ?gamm before posting a question:
Returns a list with two items:
gam
an object of class gam, less information relating to GCV
If you rename two or more levels with the same string, R collapses them.
Using gsub like you suggest works well. If there are more than the two
characters causing problems you may need to expand the pattern that's
being matched. With the example you sent, this works:
df <- structure(c(6L, 4L,
Hi,
Try:
vec1 <- setNames(c(0.1,0.2, 0.5, 0.1,0.8, 0.4, 0.9), 1:7)
vec2 <- sort(vec1,decreasing=TRUE)
names(vec2[seq(ceiling(length(vec2)*0.3))])
#[1] "7" "5" "3"
A.K.
Hi, I need your help again. I have some data like this:
1 23 4 56 7 ...
0.1 0.2 0.5
Hi,
Try:
#dat is the dataset:
library(plyr)
dcast(dat,ID~Group,value.var="value",fill="")
#or
dcast(dat,ID~Group,value.var="value",fill=0)
A.K.
On Friday, March 28, 2014 4:54 AM, Mat wrote:
Hello togehter,
i have a litte problem. I have an output data.frame which look like this
one:
ID
Hi,
I'm trying use R CMD build, and cannot for the life of me get it work. The
OS is Windows 7, and I just upgraded R to 3.0.3. Depending on what I try, I
get "Error: unexpected symbol" or "Error: unexpected input". I have no idea
where I am going wrong. I think I am supposed to type this R a
Hi,
a reproducible example would help us to help you. In any case, you might
want to consider a for-loop in combination with par(mfrow = c(?, ?)). The
lattice or ggplot2 package might also provide a solution to your problem.
Cheers,
Jannes
--
View this message in context:
http://r.789695.n4.
Hi,
one way to include a random effect would be:
require("lme4")
mymodel <- lmer(counts ~ Season + Rainfall + (1 | Year), family =
quasipoisson, data = mydata)
Nevertheless, there are other ways to include a random effect using R.
In any case, you need to provide justification why you are us
Hi,
Try:
dat<- data.frame(id=1:3,abcmor=2:4,relmor=c(5,4,3), neomor=c(6,3,1),
Column5=c(4,8,1) )
colnames(dat)[grep("mor",colnames(dat))] <-
gsub("mor$","",colnames(dat)[grep("mor",colnames(dat))])
dat
A.K.
I have several columns which all end with "mor". How can I remove the suffix
mor for
The argument to tapply is FUN, not fun. R is case sensitive.
-- Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
H. Gilbert Welch
On Sat, Mar 29, 2014 at 6:51 AM, Massimiliano T
Dear All,
I have a vector x (as a factor, see below) for which I'd like to know
frequencies for each
level of the factor itself. I generally use "tapply function" for that but it
gave to me
an unespected result as you can see and according my knowledge of R language
and if my memory did not fa
This is a question about statistics theory, not about R, so it is off topic
here... you might try discussing this at the CrossValidated forum. In general,
the amount of lag that is relevant depends on how you intend to use the data.
This is not unlike the application of linear models to nonlinea
Hello!
I'm going to use the RExcel. My OS - Windows 7, 32 bit. I'm using R 3.0.3
and Excel 2007. I've never worked with RExcel before.I try to do this (see
the pic. 1) - this is the photo from the book 'R through Excel'. In this
book it's said, that we have to select Rcommander ->with Excel menus (
On 29/03/2014 09:28, peter dalgaard wrote:
On 28 Mar 2014, at 17:39 , T Bal wrote:
Hi,
After loading my data in R I get the error:
Error in .jcall("com/github/egonw/rrdf/RJenaHelper",
"Lcom/hp/hpl/jena/rdf/model/Model;", :
java.lang.OutOfMemoryError: GC overhead limit exceeded
How can I
On 28 Mar 2014, at 18:09 , KIRA <396884...@qq.com> wrote:
> Hi R,
> I am a new Chinese user of R, I like this language very much.In the
> recent months,I spend over 4 hours every day leanring R,but during the
> learning I come across some problems I can not understand.For R is still not
>
On 28 Mar 2014, at 17:39 , T Bal wrote:
> Hi,
> After loading my data in R I get the error:
>
> Error in .jcall("com/github/egonw/rrdf/RJenaHelper",
> "Lcom/hp/hpl/jena/rdf/model/Model;", :
> java.lang.OutOfMemoryError: GC overhead limit exceeded
>
> How can I solve it?
For problems within
and your hunch was correct, thank you!
cheers
Luca
2014-03-29 10:02 GMT+01:00 Luca Braglia :
> 2014-03-28 19:09 GMT+01:00 Dirk Eddelbuettel :
>> Luca Braglia gmail.com> writes:
>>> g++ -shared -o pROC.so RcppExports.o delong.o perfsAll.o >
>>> Rcpp:::LdFlags() > > -L/usr/lib/R/lib -lR
>>> g++:
2014-03-28 19:09 GMT+01:00 Dirk Eddelbuettel :
> Luca Braglia gmail.com> writes:
>> g++ -shared -o pROC.so RcppExports.o delong.o perfsAll.o >
>> Rcpp:::LdFlags() > > -L/usr/lib/R/lib -lR
>> g++: error: >: File o directory non esistente
>
> This can happen when you have a ~/.Rprofile that messes u
Hi there,
Is there a function in R that can draw vector density plot? The vector
density plot example can be found here:
http://reference.wolfram.com/mathematica/ref/VectorDensityPlot.html
As for the vector field plot, I found a function that has been posted in
this mailing list:
https://sta
24 matches
Mail list logo