search for: rgm2

Displaying 20 results from an estimated 41 matches for "rgm2".

Did you mean: rgm
2011 Jun 27
3
Creating a Polar Plot with expanding points as radius increases
...ot;ws" (wind speed) and a "wd" (wind direction) column. My data is unrelated to wind speed, but I'd like to be able to get a plot that does what polarFreq's plots do; I'd like to have points that expand as their distance from the center increases. http://www.oga-lab.net/RGM2/func.php?rd_id=openair:polarFreq Without this property, my plot looks more like spokes on a wheel, or similar to the polar.plot function in the plotrix package: http://www.oga-lab.net/RGM2/func.php?rd_id=plotrix:polar.plot Is there a package or function available that allows the creation of a plo...
2010 Nov 24
2
Change the class of columns in a data frame
...stakes, but English is not a language I use very often. I have a data frame with numbers. A small part of the data frame is this: nominal ordinal 2 2 2 1 2 1 2 2 So, I want to use the gower distance function on these numbers. Here ( http://rgm2.lab.nig.ac.jp/RGM2/R_man-2.9.0/library/StatMatch/man/gower.dist.html) says that in order to use gower.dist, all nominal variables must be of class "factor" and all ordinal variables of class "ordered". By default, all the columns are of class "integer" and mode "...
2010 Aug 28
1
star models
Hi, I am traying to implement an STAR model, but I have some problems. I am following the instruction of the model, that they are in: http://bm2.genes.nig.ac.jp/RGM2/R_current/library/tsDyn/man/star.html that they are from: http://bm2.genes.nig.ac.jp/RGM2/pkg.php?p=tsDyn The model is: star(x, m=2, noRegimes, d = 1, steps = d, series, rob = FALSE, mTh, thDelay, thVar, sig=0.05, trace=TRUE, control=list(), ...) I have implemented the example: mod.star &lt...
2010 Dec 14
3
peak detection
Hi, I was wondering if anyone knows of a package that contains the ability for peak/valley detection. Here is an example of what I'm looking for, only problem is that it's written in Matlab. http://www.billauer.co.il/peakdet.html Thanks for any help in advance. -Joe
2012 Jul 22
1
Adding gamma and 3-parameter log normal distributions to L-moments ratio diagram lmrd()
...oments of the distribution or of a data sample. # Draw an L-moment ratio diagram and add a line for the # Weibull distribution lmrd() weimom <- sapply( seq(0, 0.9, by=0.01), function(tau3) lmrwei(pelwei(c(0,1,tau3)), nmom=4) ) lmrdlines(t(weimom), col='darkgreen', lwd=2) source: http://rgm2.lab.nig.ac.jp/RGM2/func.php?rd_id=lmom:lmrdpoints Thank you. -- View this message in context: http://r.789695.n4.nabble.com/Adding-gamma-and-3-parameter-log-normal-distributions-to-L-moments-ratio-diagram-lmrd-tp4637345.html Sent from the R help mailing list archive at Nabble.com.
2012 Oct 10
1
omega vs. alpha explanation
Dear all I wonder if someone can explain what is the main difference between omega and alpha reliabilities? I understand an omega reliability is based on hierarchical factor model as shown in this graph<http://rgm2.lab.nig.ac.jp/RGM_results/psych:omega.graph/omega.graph_002_big.png>, and alpha uses average inter-item correlations. 1. What I don't understand is, in what condition, omega reliability coefficient would be higher than alpha coefficient, and vice versa? 2. Can I assume if the correlation...
2012 Jul 17
1
tweaking forest plot (metafor package)
...,digits=3, ... ,alim=c(0,1),refline=.5) > text(-1.55,42,"Esp?cie [ref?]",pos=4,font=2) I'd like to subdivide the "table" by the moderator 'grupo' - i.e. create the necessary spacings in the list of studies to accommodate the moderator statistics (cf. http://rgm2.lab.nig.ac.jp/RGM2/func.php?rd_id=metafor:addpoly.default). My main issue is that I cannot really understand how the function (forest()) really uses space; specifically, how to use the parameters 'xlim', 'ylim' and 'rows' in the function? how can I change the scale fr...
2012 Jul 30
1
fractal package
Greetings of Peace! I am new in R software. I want to use the correlation dimension corrDim in computing a map. I have installed the packages(fractal) in R. Now my problem is this, when I tried your example in the following site http://rgm2.lab.nig.ac.jp/RGM2/func.php?rd_id=fractal:corrDim  > library(fractal) > png(filename="corrDim_%03d_med.png", width=480, height=480) > beam.d2 <- corrDim(beamchaos, olag=10, dim=10, res=4) Warning messages: 1: In any(diff(x)) : coercing argument of type 'double' to logi...
2011 Apr 11
1
Polar Plots
Dear List, Following the link below ( http://rgm2.lab.nig.ac.jp/RGM2/func.php?rd_id=plotrix:clock24.plot) I got an interesting polar plots which displayed my data and the time of observation. Thank you very much for providing such details. However, I have two set of data which I wish to display in the same polar plot. I tried using points to add...
2008 Mar 13
1
how to generate bar charts with the standard deviation
Hi, I have the two vectors mean and sd of individual columns, but I am unsure how to generate bar charts with the standard deviation, even after looking the help of barplot and barplot.2. [[alternative HTML version deleted]]
2012 Sep 26
3
Broken Links on http://www.r-project.org
I was not sure who I should contact about this, so I am posting this here. There are a few broken links on the R website. 1) http://www.r-project.org/search.html -> link to the Nabble R Forum. I belive the correct/new URL should be: http://r.789695.n4.nabble.com/ 2) http://www.r-project.org/other-docs.html -> link to "Auswertung ?kologischer Daten". Not sure if there is a new
2009 Dec 05
1
Forest Plot
...st Plot" as it is on the following link, but my data would be having only two columns (one for "Estimate" and other for "Std. Dev"). Can anyone suggest some function() {Package} which can take such file as an input and give following forest plot: http://bm2.genes.nig.ac.jp/RGM2/R_current/library/metafor/man/images/big_plot.rma.uni_001.png Thanks, Xin [[alternative HTML version deleted]]
2009 Mar 18
2
Three Parameter FRECHET Distribution
Dear R Helpers Which package is available for estimatine the parameters of three parameter FRECHET distribution. Also, how to generate the random numbers for Frechet using these three estimated parameters. Thanking in advance Maithili
2012 Jan 30
1
Reg : Hello all.. help needed regarding heatmaps
...ues as their score for every month . I tried to generate a heatmap with this data and got some good results. Can some one help me on how to generate the legend next to heatmap please... can some one send me a sample code ..? Some of the useful link that i found on web : http://www.oga-lab.net/RGM2/func.php?rd_id=gplots:heatmap.2 Thanks in advance. [[alternative HTML version deleted]]
2012 May 29
1
Help needed in wavelet transforming
Hello I am currently working on forecasting hourly electricity prices where I am required to do wavelet transformation. First I need to calculate decomposition coefficients of the wavelet transform, then I need to select wavelet function using multiresolution technique. I would be really grateful if I can find any help in this matter. Thanking You with regards, -- Name : Tarun Trivedi Senior
2012 Feb 11
1
AMOVA error: 'bin' must be numeric or a factor
Hi! I am trying to analyse my data using amova (http://www.oga-lab.net/RGM2/func.php?rd_id=pegas:amova): My input to R is a DNA sequence file, format=fasta dna<- read.dna("XX.fasta", format="fasta") #left other options as default d<- dist.dna(dna, model="raw") g<- read.table("XXX.design") Load necessary libraries...
2012 Aug 14
2
What package to use to calculate odds ratio and the confidence interval?
Hi list, I am trying to calculate the sensitivity, specificity, and odds ratio(and confidence interval). Say, my data looks like this 42.53, 37.56, 40.51, 32.67, 38.19, 81.74, 41.55, 68.94, 59, 63, 54.13, 48.85, 50.46, 51.78 Is there any packages in R that does this? Espeically the odds ratio confidence interval. Mike [[alternative HTML version deleted]]
2012 Jul 11
0
declaring negative log likelihood of a distribution
...e,n,imax) { term<-0 for (i in 0:imax) { term=term+(((-1)**i)*(choose(b-1,i))*(beta(x+a+a*i,n-x+1))) } dens=a*b*choose(n,x)*term KBLL2<-sum(fre*log(dens)) return(-KBLL2) } * #Now to estimate the parameters, I used http://rgm2.lab.nig.ac.jp/RGM2/func.php?rd_id=bbmle:mle2 mle2(from the package bbmle) , which is a wrapper around the optim function *>estimates1=mle2(Loglik.newdis1, start=list(a=1,b=1), data=list(x=values,fre=frequency, n=7, imax=2000)) * Error in optim(par = c(1, 1), fn = function (p) : non-finite...
2011 Dec 02
1
Willkommen bei der "R-help" Mailingliste
Hello everbody, I am new to this mailing list and hope to find some help. I'm trying to get into the spatstat package and encountered two problems. First a graphical one: There is an example dataset called "finpines" which has several marks (http://www.oga-lab.net/RGM2/func.php?rd_id=spatstat:finpines) When I pass the given code from the website to R data(finpines) plot(unmark(finpines), main="Finnish pines: locations") plot(finpines, which.marks="height", main="heights") plot(finpines, which.marks="diameter&qu...
2012 Jul 20
3
function for inverse normal transformation
Hi, What is the function for inverse normal transformation? Thanks, Carol [[alternative HTML version deleted]]