Dear Sir/Madam,
I am working on a statistical evaluation with R at the Erasmus University and
have a problem with one coding sentense. Who can help me with that?
Thank you.
Kind regards,
Olga Pervushina
[[alternative HTML version deleted
Hi,
I am Olga Viedma. I am running a Zero-inflated negative binomial (ZINB)
multi-level model using MCMCglmm package. I have a doubt. Can I use the "Liab"
outputs as fitted data, instead of the predicted values from "predict"? The
liab outputs fit very well with the ob
Hello!
I need some help. I'd like to make a button in Excel which performes
functions wrote in R. Is there is any macros to do this? I don't want to
use RExcel.
Thank you very much!
Sincerely yours,
Olga
[[alternative HTML versi
Rcommander ->with Excel menus (see
the pic.2)
But in my work book there are no such an item (see the pic.3), but I've
made a connection between R and Excel
Please, help me to make visible Rcommander
Thank you!
Sincerely yours,
Olga
__
R
I'm new to R plotting, so please be gentle.
I want to make a large association plot, showing whether each combination
of variables averages more or less than the whole for proportion in a
certain category.
So, for example:
Dependent Variable: eye color (30% green, 45% brown, 25% blue on average)
.115/NA.
> So when it tries to interpolate the p-value, the variable 'interpol' is
> equal to NaN and the if test fails.
>
> With a standard error like NA, maybe you don't have enough data points to
> run the tests. (Only 3 residuals, all zero, like seen above.)
>
>
;
> Em 23-06-2013 21:44, Rui Barradas escreveu:
>
> Hello,
>>
>> See if the following does what you want.
>>
>> lapply(seq_len(obsv), function(i) adf.test(df[df$ID == i, 3]))
>>
>>
>> Hope this helps,
>>
>> Rui Barradas
>>
>
Short question: Is it possible to use statistical tests, like the Augmented
Dickey-Fuller test, in functions with for-loops? If not, are there any
alternative ways to scale measures?
Detailed explanation: I am working with time-series, and I want to flag
curves that are not stationary and which di
ng the maximum number of permutations
that R can handle?
Cheers,
Olga
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, m
On 12/20/2012 02:13 PM, arun wrote:
> library(gtools)
> permutations(2,10,0:1,repeats.allowed=TRUE)
Thanks, this is exactly what I need.
Regards,
Olga
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE d
perator not defined for this S4 class
Thanks in advance, and my best regards,
Olga
Olga Viedma Sillero
Profesora Ordenacion del Territorio
Departamento Ciencias Ambientales
Facultad Ciencias del Medio Ambiente
Avd/ Carlos III, s/n 45071 Toledo (Spain)
email: olga.vie...@uclm.es
Tel: 925-26
file
"base" in ...\R-2.12.2\src\main\startup.c.
(
FILE *R_OpenLibraryFile(const char *file)
{
char buf[259];
FILE *fp;
snprintf(buf, 259, "%s/library/base/R/%s",
"C:/Rcpp_and_RInside/R/R-2.12.2",
file);
fp = R_fopen(buf, "r");
return fp
Thanks Ista,
Very instructive and works like a charm!
Cheers!
Olga
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented
61.0465 340.9567 346.0219
Mandelbrot 100.52 -2.31224.084 4.2271 286.1372 293.7350
Many thanks,
Olga
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.o
Dear all,
I have a question about the output of linear mixed model fitted in R
using nlme package. In particular, what are the t-values that are given
in an output, how are they calculated and based on what test? I guess it
cannot be a simple Student t-test, otherwise how can the simple Student
Dear all,
I have a question about the output of linear mixed model fitted in R
using nlme package. In particular, what are the t-values that are given
in an output, how are they calculated and based on what test? I guess it
cannot be a simple Student t-test, otherwise how can the simple Student
t-
st(cor(mydata)),digits=3))
Error in UseMethod("xtable") :
no applicable method for 'xtable' applied to an object of class "dist"
Jorge's solution with upper.tri works fine!
Thanks everyone for your prompt response.
Cheers
Olga
___
ion matrix? Using 'dist' doesn't seem to be useful as it doesnt
allow to convert this table with xtable.
print(xtable(cor(mydata),digits=3))
Any ideas?
Cheers,
Olga
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinf
good time to reference Burns', The R Inferno, which
> has an entry for sweep (p 57) as well tips regarding the drop=FALSE
> maneuver (p 54) that I tried first for this problem but it "didn't
> work".
Thanks for the references! Your solution with scale() is nice and neat
Thanks! It is exactly what I was looking for!
Cheers
Olga
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal
een trying to
use subscripts but did not succeed so far.
Any tips?
Many thanks,
Olga
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and prov
Thanks Dimitris,
It works nicely!
Regards,
Olga
On Thu, 2010-08-26 at 11:55 +0200, Dimitris Rizopoulos wrote:
> one way is the following:
>
> mylist <- list(x1 = c("A","A","A","B","C","Z","Y"),
> x2 = c
t;
$x3
[1] "A" "A" "A" "B" "Y" "Z"
I also have another list, that contains some specific elements.
newlist<-c("A","B","C","D","E","F")
newlist
[1] "A" "B" &
the middle). Where
can I get info on how to adjust the tree display and text size display?
Please help.
Thank you!
Olga
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE
I figured it out myself, here it is: control=rpart.control(cp=.001))
Thank you!
On Fri, Aug 13, 2010 at 12:58 PM, Olga Shaganova wrote:
> My decision tree grows only with one split and based on what I see in
> E-Miner it should split on more variables. How can I adjust splitting
> cr
nfo_G=0"
instead of "2) Info_G<0.5".
Thank you in advance!
And thanks for Eric who helped with my previous question about starting
"rpart".
Olga
> fit <- rpart(Retention ~
Info_G+AOPD+Mail+Xref_Umbr+Ins_Age+Discount+Xref_A + Con6 +
+ Con5 +Con4
Hi,
I am a brand new user and may be my question is too simple. I have R on
our (not Unix) server. I am trying to build a decision tree and the error
message says "couldn't find function rpart". Does it mean I have to ask our
server guy to install an additional package?
Wu Gong wrote:
> So, try() inside loop should work. Like
>
> for () {
> if (class(try(...,silent=T))=="try-error") result[[i]] <- NA
> ...
> }
Thanks a lot, it worked for me!
Cheers
Olga
__
R-help@r
On Thu, 2010-08-05 at 10:59 +0100, Liviu Andronic wrote:
> On Thu, 05 Aug 2010 11:13:00 +0200
> Olga Lyashevska wrote:
> > I do not have any desktop environment (running R on a server), can I
> > still try xfce?
> >
> I am not very sure. If you are running gnome-te
this case missing 5 rows were omitted.
Any suggestions?
Thanks,
Olga
result<-list()
for(i in 1:1000)try({
hclass<-mydata2$tclass[mydata2$tspecies%in%com[[i]][[5]][[1]]]
horder<-mydata2$torder[mydata2$tspecies%in%com[[i]][[5]][[1]]]
hfamily<-mydata2$tfamily[mydata2$t
Thanks Liviu,
On Thu, 2010-08-05 at 09:51 +0100, Liviu Andronic wrote:
> On Thu, 05 Aug 2010 08:56:30 +0200
> Olga Lyashevska wrote:
> > I am using gnome-terminal to run R, and I noticed that standard
> > PageUp/Down do not work but they do work for other programs within the
hanks
Olga
--
R version 2.11.1 (2010-05-31)
2010 x86_64 GNU/Linux
Ubuntu 10.04.1 LTS
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide
to manage massive matrices with shared memory and memory-mapped files.
Now I will try to see how it can be implemented in my code.
Many thanks
Olga
On Wed, 2010-08-04 at 13:51 +0100, david.jes...@ubs.com wrote:
> Olga
>
> There was a presentation at the London R user group about doing
reaching its limits quite often resulting in
shutdown, so I wanted to split one task into pieces which indeed similar
to cluster computing. I will check documentation on this topic.
Kind regards,
Olga
On Tue, 2010-08-03 at 13:04 -0700, Steven McKinney wrote:
> Dear Olga
> An R session is con
tried to save.image(), q() and then restart both sessions, but it
does not help.
Any suggestions?
Many thanks
Olga
R version 2.11.1 (2010-05-31)
2010 x86_64 GNU/Linux
Ubuntu 10.04.1 LTS
Intel(R) Xeon(R) CPU X3220 @ 2.40GHz
MemTotal: 4050180 kB
__
R-h
generalize it? Would jtest be appropriate
technique if I want to find out whether change in R2 across models is
significant?
Many thanks
Olga
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting
Hi
I need to calculate the indicator U de Theil from my forecasts, so I want
to know if there is a specific command or function that provides me the
indicator U de Theil
Thanks..
Olga Maria Formigoni C. Walter
E-mail: <mailto:olgaformig...@gmail.com> olgaformig...@gmail.com
ist(...), .makeNamesTs(...), dframe = dframe, union = TRUE)
:
non-time series not of the correct length
Does it exists the code how to plot it together with historical data or how to
include the additional variable in the first ARIMA model?
Thank you in advance,
Olga
Series:
Year HCPI
1993
suitable tool to use.
However, it also means that I cannot plot probability density curve
using this type of data because I would need to have a histogram
instead. Did I get it right?
Many thanks,
Olga
On 03/15/2010 08:32 AM, Olga Lyashevska wrote:
Dear all,
I am making a barplot as
o trying to add a probability density curve, however using
lines(density(c(1,2,3,5,2,3,1))) does not give a desired result.
Any tips?
Thanks
Olga
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the post
explore function syntax I end up
installing loads of packages I am never going to use.
I have also tried to use package 'sos' which does provide a good
facility to find relevant information, but it seems it does not give
any info on function body.
Th
going to sample from to only those elements that correspond to col1
That
is, I want to take a sample from f, g, h, i. Elements corresponding
to
level a need to be dropped.
col1col2
3 b f
4 b g
5 c h
6 c i
s <- sample(col1,2,replace=T)
co
Thanks Thierry!
On 04.02.2010, at 13:22, ONKELINX, Thierry wrote:
selection <- subset(somedf, col1 != "a")
sample(selection$col2, 2, replace = TRUE)
I simplified it, but in fact it is not only 'a' to be eliminated, but
thousands of rows.
Can I use:
col1sample<-sample(col1,2,replace=T)
Hello,
I have a dataframe consisting of two columns.
> col1<-factor(c("a","a","b","b","c","c"))
> col2<-factor(c("a","b","c","d","e","f"))
> somedf<-data.frame(col1,col2)
> somedf
col1 col2
1 a d
2 a e
3 b f
4 b g
5 c h
6 c i
> s
hout
any leaves. How to get rid of those branches?
And after all I want to repeat this procedure lets say 1000 times,
each time obtaining different number of elements at each taxonomic
level.
Sorry for this long-winded post, I hope it is clear what I am trying
to do.
I would appreci
Yes, checking it now, I see you are absolutely right. Sorry for this
confusion.
Cheers,
Olga
On 27.01.2010, at 12:45, Orvalho Augusto wrote:
RMySQL is for MySQL. MySQL is not MSSQL.
There is not RMSSQL. So the best you have something to conneto
MSSQL... RODBC or you may connect.
Or as
Hi David,
> I have a client running Microsoft SQL Server. I am interested in
> ways of accessing data from this server using R.
>
Why don't you try RMySQL package? It works fine for me.
[[alternative HTML version deleted]]
__
R-help@r-project
bit how you entity-relationship diagram looks
like?
Cheers,
Olga
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
derstood well, this is because anova()
calculate type 1 sum of square. Thus, I would like to calculate type II, and I
tried Anova() within car package:
library(car)
Anova( lm(leafsize~month+condition*(species/variety),data=exple))
I get the following error :
âOne or more terms aliased in modelâ
em is solved.
Cheers,
Olga
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
, from this machine I establish ssh with a
Linux machine. I run R on Linux, while all my data files are stored on
Mac. So in this case although physically I am using Mac, it is in fact
remote. I hope it answers your question.
Thanks again,
Olga
Dear all,
I am trying to import data with read.csv and my file is on remote
machine.
I believe that I need to open a connection, not sure about syntax
though.
I would appreciate any suggestions,
Thanks!
Olga
__
R-help@r-project.org mailing list
and then include the
file?
Thanks All :)
Olga
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
53 matches
Mail list logo