Displaying 20 results from an estimated 300 matches similar to: "plotting Zipf and Zipf-Mandelbrot curves in R"
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
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,
2011 Feb 04
2
vegan and sweave using xtable
Dear all,
Using:
library(vegan)
data(BCI)
mod <- radfit(BCI[1,])
mod
RAD models, family poisson
No. of species 93, total abundance 448
par1 par2 par3 Deviance AIC BIC
Null 39.5261 315.4362 315.4362
Preemption 0.042797 21.8939 299.8041 302.3367
Lognormal 1.0687 1.0186 25.1528 305.0629 310.1281
2005 Oct 04
6
Animation of Mandelbrot Set
Hi,
I was playing with Mandelbrot sets and come up with the following code, I
thought I would share:
library(fields) # for tim.colors
library(caTools) # for write.gif
m = 400 # grid size
C = complex( real=rep(seq(-1.8,0.6, length.out=m), each=m ),
imag=rep(seq(-1.2,1.2, length.out=m), m ) )
C = matrix(C,m,m)
Z = 0
X = array(0, c(m,m,20))
for (k in 1:20) {
Z =
2007 Feb 08
1
Zeta and Zipf distribution
Dear R user,
I want to estimate the parameter of ZETA or/and ZIPF distributions
using R, given a series of integer values. Do you know a package
(similar to MASS) or a function (similar to fitdistr) I can use to
estimate the parameter of these distributions using MLE method?
Otherwise do you know a function (which use MLE method to estimate
distribution parameters) that allow me to specify a
2010 Sep 24
2
why I could not reproduce the Mandelbrot plot demonstrated on R wiki
I am trying to reproduce the nice looking of Mandelbrot demonstrated by R
wiki page by the following code:
library(caTools) # external package providing write.gif function
jet.colors = colorRampPalette(c("#00007F", "blue", "#007FFF", "cyan",
"#7FFF7F",
"yellow", "#FF7F00",
2005 Jan 25
1
Zipf random number generation
Hi,
Is there a Zipf-like distribution RNG in R?
Thanks,
Weiguang
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
2003 Oct 02
0
R] Re: Mandelbrot set and C code --
You need to install the tools needed to build packages from source. You can
read about it in Q3.1 of R for Windows FAQ.
Andy
> -----Original Message-----
> From: Rex Bryan Dell1700 [mailto:rexbryan1 at comcast.net]
> Sent: Thursday, October 02, 2003 12:15 PM
> To: r-help at stat.math.ethz.ch
> Subject: [R] R] Re: Mandelbrot set and C code --
>
>
> Wizards...
>
2003 Oct 02
0
R] Re: Mandelbrot set and C code --
Wizards...
With regards to Mario's Mandelbrot.c programming -- would
some kind wizard show how to compile and run his code on
a Win installation. I'm looking for a simple "cookbook" example in
the same manner that Mario show for Linux.
I have Win2000 on this machine.
REX
--------------- Original Message ---------------------
Date: Wed, 01 Oct 2003 14:09:36 +0100
From: ucgamdo
2003 Sep 17
3
Fractals in R and having fun! (and more persp and color)
Well, I started playing with fractals in R, and wrote a function to
generate de Mandelbrot set, which might
be of interest to some people
###########################################################################
# Mandelbrot set
###########################################################################
mandelbrot <- function(x = c(-3.0, 1.0), # x coordinates
y =
2008 Aug 05
4
Buggy bios, boot of dos image hangs with syslinux, but not with isolinux
Hi
We have a couple of FSC Computers here which seem to have a very strange
bios. I am trying to boot a MS-DOS disk to flash an Scsi Raid
controller.
Since the computer doesn't have a floppy anymore I tried syslinux from
an usb stick. The menu loads fine but I cannot boot disc images with
memdisk on this computer. It works fine on others, of course.
But now comes the weird part, if I use the
2017 Nov 03
2
fractales
Mira el conjunto de mandelbrot en r cómo mola
https://www.google.es/amp/s/www.r-bloggers.com/the-mandelbrot-set-in-r/amp/
El 3 nov. 2017 4:20 PM, "eric" <ericconchamunoz en gmail.com> escribió:
> hola luis, podrias explicarte un poco mas ? que quieres decir con "obtener
> fractales de una imagen" ?
>
> Puedes construir una imagen con fractales, pero
2017 Nov 03
3
fractales
Hola
Quisiera saber si podrían informar como puedo hacer para obtener fractales de una imagen con R. Hay algún paquete? o tutorial que me guíe?
Desde ya muchas gracias.
Atentamente, Luis
2002 Aug 10
2
fractals
Dear R People:
Does anyone have any code for Fractals, chaos,
or anything like that, please?
This is strictly for demo purposes...decorative only.
This is R version 1.5.1 for Windows.
Thank you in advance!
Have a great weekend!
Sincerely,
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
1 Main Street
Houston, TX 77002
2009 Aug 03
2
fitting a truncated power law
Dear all,
How can I fit a truncated power law to a vector? I can't find a function to do that. If the function provides an AIC, even better.
John
2017 Sep 29
2
Trouble when suppressing a portion of fast-math-transformations
Hi all,
In a mailing-list post last November:
http://lists.llvm.org/pipermail/llvm-dev/2016-November/107104.html
I raised some concerns that having the IR-level fast-math-flag 'fast' act as an
"umbrella" to implicitly turn on all the lower-level fast-math-flags, causes
some fundamental problems. Those fundamental problems are related to
situations where a user wants to
2008 Apr 18
2
plockstat: failed to add to aggregate: Abort due to drop
when check java process lock statistics, plockstat failed, please see below:
# prstat -mLp 21162
PID USERNAME USR SYS TRP TFL DFL LCK SLP LAT VCX ICX SCL SIG PROCESS/LWPID
21162 7677 0.9 0.1 0.0 0.0 0.0 99 0.0 0.3 83 89 215 0 java/81
21162 7677 0.3 0.1 0.0 0.0 0.0 0.0 99 0.2 106 33 305 0 java/35
21162 7677 0.1 0.0 0.0 0.0 0.0 100 0.0 0.1 79 6 85 0 java/59
2013 Oct 12
3
[LLVMdev] [RFC] CodeGen Context
Hi all,
This is my proposal for how to solve the problem we have with function attributes that affect code generation changing between functions. (This is mostly a problem for LTO.)
Please take a look at this proposal, and let me know if you have any questions or comments.
Cheers!
-bw
CodeGen Context
===============
The back-end's
2006 Sep 19
1
R CMD check fails at package dependencies check on Fedora Core 5, works on other systems
I'm testing a FC5 machine for use in a student lab. R 2.3.1 is installed and
seems to work fine. There is one peculiarity - the logins are authenticating
to a server, and a "verbose" 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