search for: zipfr

Displaying 13 results from an estimated 13 matches for "zipfr".

Did you mean: zipf
2006 Sep 19
1
R CMD check fails at package dependencies check on Fedora Core 5, works on other systems
...; flag is set somewhere, leading to lots of spurious messages like this request done: ld 0xa227598 msgid 1 which may be confusing R. However, R CMD check seems to fail for packages with no dependencies at the dependencies check stage. I've tried this with two packages, my own gld and also zipfR. Both fail in the same way. [Desktop]$ R CMD check zipfR_0.6-0.tar.gz * checking for working latex ... OK request done: ld 0x8dfb170 msgid 1 request done: ld 0x8dfb170 msgid 2 * using log directory '/home/rak776/Desktop/zipfR.Rcheck' * using Version 2.3.1 (2006-06-01) * checking for file...
2012 Apr 23
2
zipfR help
Hi, I have a question on generating random variables based on zipf-mandelbrot distribution. So when I execute the following lines: ZM = lnre ("zm", alpha = 2/3, B=0.1) zmsample = rlnre (ZM, n =100) zmsample It generates 100 random values based on a zipf-mandelbrot distribution as below. But how do I make sure the generated random number is within the range of 1 - 6000 only? Can I
2009 Dec 11
2
Regularized gamma function/ incomplete gamma function
...1)e^(-x))dx ; 0<r<Inf (which is eventually the ratio of the Incomplete gamma function by the gamma function), does anyone know of a package in R that would evaluate the derivative of the inverse of Reg with respect to k? I am aware that the function "Rgamma.inv" of the package "Zipfr" evaluates the inverse of Reg and I'm wondering wether there is a function that would evaluate the derivative of the inverse.. Alternatively, a good numerical integration package/ or simply a function that could evaluate the integral int_0^r (log(x) x^(k-1) e^(-x))dx; 0<r<Inf would...
2007 Aug 30
2
Incomplete Gamma function
Hello I am trying to evaluate an Incomplete gamma function in R. Library Zipfr gives the Igamma function. From Mathematica, I have: "Gamma[a, z] is the incomplete gamma function." In[16]: Gamma[9,11.1] Out[16]: 9000.5 Trying the same in R, I get > Igamma(9,11.1) [1] 31319.5 OR > Igamma(11.1,9) [1] 1300998 I know I have to understand the theory and the mat...
2008 Dec 27
1
Zipf fitting using R
Dear R-users, I am new to R and would like to use it for fitting the zipf distribution to some numeric data that I have. Here's the snippet that I use: library(VGAM) X <- read.table(file("~\\mydata.txt", encoding="latin1")) w <- as.vector(t((X[2]))) w <- w/sum(w) y <- (1:length(w)) fit = vglm (y ~ 1, zipf, tra=TRUE, weight=w) zipf(N=NULL,
2010 Oct 11
1
plotting Zipf and Zipf-Mandelbrot curves in R
Using R, I plotted a log-log plot of the frequencies in the Brown Corpus using plot(sort(file.tfl$f, decreasing=TRUE), xlab="rank", ylab="frequency", log="x,y") However, I would also like to add lines showing the curves for a Zipfian distribution and for Zipf-Mandelbrot. I have seen these in many articles that used R in creating graphs. Thank you! [[alternative HTML
2007 Jun 15
2
Problem with workspace loading after languageR use
...s" "methods" "base" other attached packages: languageR rpart MASS Design survival "0.2" "3.1-36" "7.2-34" "2.0-12" "2.31" Hmisc e1071 class cluster zipfR "3.3-2" "1.5-16" "7.2-34" "1.11.7" "0.6-0" lme4 coda Matrix lattice "0.99875-1" "0.11-2" "0.99875-2" "0.15-8" thanks for any helpful suggestions! best R?diger...
2007 Feb 27
1
Additional args to fun in integrate() not found?
...list. And when I do that, I get the right result, but still some warnings. Please, help me with these problems: 1) why is "p" not recognized? 2) what are these warning messages? PROGRAM CODE: --------------------------- #THIS LIBRARY IS NEEDED FOR THE INCOMPLETE GAMMA FUNCTION library(zipfR) #------------------------------------------------------------------------ gedCDF = function(yvec, p=2, mu=0, scale=1, numint=0) { #------------------------------------------------------------------------- #Setting k to sqrt(2) and the GED with p=2 coincides with standard normal. #Set k=1 and GE...
2007 Aug 21
0
pvals.fnc unhappy about lmer objects
...MASS Design survival Hmisc e1071 class cluster "0.2" "3.1-37" "7.2-34" "2.1-1" "2.32" "3.4-2" "1.5-16" "7.2-34" "1.11.7" zipfR coda xlsReadWrite lme4 Matrix lattice R.oo zoo "0.6-0" "0.12-1" "1.3.2" "0.99875-7" "0.999375-1" "0.15-11" "1.2.7" "1.2-2" >
2012 Mar 31
2
A introductory question about Zips law (Newbie to statistics)
Hi everyone. Newbie to statistics. I have 40 matrices of ~400 values. how may I determine whether the distribution follows zips law? response <-sample (1:20,400*4, replace= TRUE) Thank you vry much. -- View this message in context: http://r.789695.n4.nabble.com/A-introductory-question-about-Zips-law-Newbie-to-statistics-tp4521190p4521190.html Sent from the R help mailing list archive at
2010 Dec 14
1
Installing R-packages in Windows
...############## cd %windir% cd .. mkdir rPAcsTemp cd %OrdnerDIR%\%RPACPFAD% copy *.zip %SystemDrive%\rPAcsTemp cd %RPFAD% R CMD INSTALL %SystemDrive%\rPAcsTemp\car*.zip R CMD INSTALL %SystemDrive%\rPAcsTemp\dbi*.zip R CMD INSTALL %SystemDrive%\rPAcsTemp\zipfR*.zip R CMD INSTALL %SystemDrive%\rPAcsTemp\lme4*.zip R CMD INSTALL %SystemDrive%\rPAcsTemp\coda*.zip R CMD INSTALL %SystemDrive%\rPAcsTemp\languageR*.zip R CMD INSTALL %SystemDrive%\rPAcsTemp\lattice_*.zip R CMD INSTALL %SystemDrive%\rPAcsTemp\mvtnorm_*.zip R CMD INSTALL %SystemDrive%\rPAcsTemp\mul...
2012 Mar 11
1
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week New packages ------------ * EffectStars (1.0) Maintainer: Unknown Author(s): Gunther Schauberger License: GPL-2 http://crantastic.org/packages/EffectStars The package provides functions to visualize regression models with categorical response. The effects of the covariates are plotted with star plots in order to allow for an optical
2009 Jan 15
2
Interface to open source Reporting tools
...e Zipf equation to those functions, they > should give you estimates for the parameters you're interested in. > > If you're particularly interested in low-frequency data (i.e. the long > tail of the Zipf ranking) and actual probability distributions, you > could try our "zipfR" package available from CRAN. The tutorial and > background materials at > > http://zipfR.R-Forge.R-project.org/<http://zipfr.r-forge.r-project.org/> > > should help you to get started and will also explain how to calculate > the coefficients of Zipf's law f...