similar to: Reference for R

Displaying 20 results from an estimated 1100 matches similar to: "Reference for R"

2006 Jun 16
1
R in ConTeXt
In case there are users of the TeX macro package ConTeXt on this list, they may be interested to know that it is now possible to include R code in a ConTeXt document and have the code evaluated while compiling. The inverse of Sweave, as it were. The advantage is that there is then only one file to keep track of (.tex vs .rnw and .tex), while a drawback is speed, since each code snippet is
2005 Oct 11
2
Two factor (or more) non-parametric comparison of means
Can anyone suggest a good non-parametric test, and an R implementation of the test, that allows for two or more factors? Wilcoxon signed rank allows for only one. Thanks, John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper OAIC University of Maryland School of Medicine Division of
2008 Nov 20
1
different ACF results
Dear all, I have one Model (M3) fitted using the lme package, and I have checked the correlation structure of within-group errors using plot(ACF (M3,maxLag=10),alpha=0.05) But now I am not sure how to interpret this plot for the empirical autocorrelation function. The problem is that I am used to see/interpret diagrams in which all the autocorrelation Lags, except lag-1, are inside the
2005 Oct 04
2
Problem with Matrix package
Hello All, While trying to install Matrix package following error message came out: /usr/bin/ld: cannot find -lblas-3 collect2: ld returned 1 exit status make: *** [Matrix.so] Error 1 ERROR: compilation failed for package 'Matrix' ** Removing '/usr/lib/R/library/Matrix' ** Restoring previous '/usr/lib/R/library/Matrix' It seems that someting is missing. Have anybody
2006 Nov 19
2
improving barplot output
Hello, I was hoping for some advice on improving a barplot. Below is the syntax I have used. I wanted to do two things differently How would I alter the syntax so that (a) the y-axis finishes at 25 and not 20, and (b) 'past ideation' and 'pastwk ideation' are coloured blue and 'past attempt' & 'past wk attempt' are coloured red ? I was also curious as to
2006 Feb 08
3
large lines of data
Dear All, I have to enter many lines of data in the same object. I usually use copy-paste to transfer data from an Word file to R. But, for large lines of data, R gets "confused" and gives an error message, i.e. it breaks one line somewhere, and lines get no meaning at all. Some times I solve that problem adding "enters" and making each line shorter, before I do
2005 Oct 14
3
zip package
Dear all I can not understand how to install the package lpsolve_1.1.9.zip I have read the FAQ and the help pages carefully, but it still not clear for me. I have tried the following (and obtained the respective error messages): >install.packages("c:/ProgramFiles/R/rw2011/library/lpSolve_1.1.9",destdir=" c:/ProgramFiles/R/rw2011/library/lpSolve") Mensagem de aviso:
2006 Nov 21
1
strange R GUI crash
Hi all, I know I shouldn't really expect the following to work, but it provokes a crash of the GUI on my computer (Win xp professional). --- >sessionInfo() Version 2.3.1 (2006-06-01) i386-pc-mingw32 attached base packages: [1] "methods" "stats" "graphics" "grDevices" "utils" "datasets" [7] "base"
2006 Oct 01
3
aggregate function with 'NA'
Dear r-help reader, I have some problems with the aggregate function. My datframe looks like >frame Day Time V1 V2 1 M 0 3 NA 2 M 0 4 NA 3 M 0 5 2 4 M 1 NA 4 5 M 1 10 6 6 T 0 4 45 7 T 1 4 3 8 T 1 3 2 9 T 1 6 1 I used the aggegate function to obtain the mean in V1 and V2 over the grouping variable Time and Day
2005 Nov 02
2
margins too large
Dear all, How can I explian and solve the error message: "margins too large" which appears when I do something like: KK <- alltypes(SpatData, "K") plot.fasp(KK) Hope someone can please help me on this. Regards, Sara Mouro [[alternative HTML version deleted]]
2008 Nov 15
1
how to join these two models?
Dear R users, I have this 2 models that fit to my data: M3varI <- update (M3, weights=varIdent(form= ~ 1|SITE)) M3AR1<-update(M3,correlation=corAR1()) The first one, updates my M3 so that I can account for the variance structure of random erros. The second one, updates my M3 so that I can account for the correlation structure of random errors. How can I put them toghether in one
2006 Sep 30
1
autologistic model? - what package?
Dear all, Could you pleas advise me on the following? I need to use general(ized) linear models (binomial distribution + logit link function) , to describe the preferred environment of each species (each sample is an individual in which I have measured several variables and also recorded the species it belongs to) However, must account for the spatial autrefoocorrelation between
2006 Dec 05
1
Horizontal stripplot
I have a plot similar to the following library(lattice) stripplot(1:15, rep(1:3, each=5)) In order to save space for a presentation, I would like to have horizontal strips instead of vertical. The argument 'horiz' turns the arguments around, but not the plot. The documentation for 'stripplot' ('xyplot'), 'panel.stripplot' and the FAQ do not seem to provide
2006 May 24
2
data.frame
Dear all, Does any one knows why should I get the following error message, when trying to do a simple data.frame?? DataF<-data.frame(Subject,BiomR,Spp,Capas,Litter,Herbs,LitterD,MaxCanH,DDifS p,DSSp,Slope, CanDens,NearestSp) Erro em data.frame(Subject, BiomR, Spp, Capas, Litter, Herbs, LitterD, : arguments imply differing number of rows: 202, 0 The data I am using
2007 Oct 17
1
How to compile sources?
Dear all, I have read the on-line explanations I have found about Building R from sources, and istalling Packages from sources... Also, I have installed gcc4.0 and the gfrotran-4.2.1.dmg. However, I still do not know how to use them to compile one Source (in particular packfor_0.0-7.tar.gz) so that I can use it in R (for MAC OS X). Could someone please explain it to me in an easiest way
2006 Jan 12
1
envelopes of simulations
Hello! I am writing you because I could not plot the confidence envelopes for functions Jest, Jcross, Jdot, Jmulti, and L, using the Spatstat package. I have already understood how to do that for Kest or Jest, that is: JEnv <- plot(envelope(PPPData, Jest)) Where PPPData is my ppp object. However, for Jcross I must specify the two marks I want to analyse. That is, usually I would get the
2006 Jun 27
3
R on MAC OS X
> > Dear all, > > I have been usig R for some time, but now I have a MAC instead of a > PC, am I am having problems in reading files... > > > I have tried: > Data<-read.table("Users/SaraMM/PhD/Analises-LitterBags/Dados- > Litter.txt",head=T) > > but it said: > Error in file(file, "r") : unable to open connection > In addition:
2008 Jul 23
6
par() function does not work
Dear R-nautes, I installed the 2.7.1 version of R and found it is not possible to modify graphical parameters with par(). for example; > par(mfrow=c(2,2)) Error in c(2, 2) : unused argument(s) (2) > par$mfrow NULL Does any one know what is the cause of this problem? Regards, Fabio -- Fabio Sánchez, MD, MSc, PhD Unit of Dermatology and Venereology Department of Medicine Karolinska
2008 Nov 12
0
random parameters in nlme
Dear all, I am using the nlme package to find the best model using non-linear mixed effects model. After the all the other things needed, I did > M1<- nlme(NShrubs~A*exp(-B*CED),data=DataSg,fixed=list (A~SITE,B~1), random=B~1,start=list(fixed=c (1.66,1.66,1.66,1.66,1.66,1.66,1.66,1.66,0.0038)),control=lmc) and it was ok. However, the data showed to need random parameters at both
2006 Oct 03
1
loaded or not?
Dear all, Sorry for such basic question, but. when R "says": library(Rcitrus) Loading required package: geoR Loading required package: sp ------------------------------------------------------------- Analysis of geostatistical data For an Introduction to geoR go to http://www.est.ufpr.br/geoR geoR version 1.6-8 (built on 2006/06/29) is now loaded