Displaying 20 results from an estimated 2000 matches similar to: "Random data"
2011 Feb 20
8
Generating uniformly distributed correlated data.
I wish to generate a vector of uniformly distributed data with a
defined correlation to another vector
The only function I have been able to find doing something similar is
corgen from the library ecodist.
The following code generates data with the desired correlation to the
vector x but the resulting vector y is normal and not uniform
distributed
library(ecodist)
x <- runif(10^5)
y
2007 Oct 17
1
correlated data
Hi!!
I am trying to generate data with specific correlation using corgen method from the ecodist package. It does not seem to generate the data properly. I am listing the code below. Secondly, when I put the code given below all in one file and source it, it is unable to complete the task. But when I execute it one at a time it is able to complete it. Can someone point out any mistake that I may
2009 Dec 15
2
Diagonal Labels on "Beside" Bars in Barplot
My question is based on an example provided in the following:
Referencing:
Statistics with R
Vincent Zoonekynd
<zoonek at math.jussieu.fr>
6th January 2007
URL:
http://zoonek2.free.fr/UNIX/48_R/all.html
data(HairEyeColor)
a <- as.table( apply(HairEyeColor, c(1,2), sum) )
# Provided Example
barplot(a, beside = TRUE,
legend.text = attr(a, "dimnames")$Hair)
# I
2008 Aug 11
4
A comprehensive manual on "How to plot" (a lot of graphical examples welcome)
Hi,
I'm looking for a manual (we based or pdf) which would explain in detail
with graphical examples what all the option can do in plot and par. Does
anybody now anything like this? A couple of manuals to R I went through do
have plot parameters mentioned, but sometimes it is hard to understand or
imagine what the parameter can do (the same with the related help page)
e.g. I met "From
2004 Mar 04
10
"Statistiques avec R"
Dear R users,
I want to share my joy with you. Please see the following
excellent introduction to R "Statistiques avec R " by
Vincent Zoonekynd
http://zoonek2.free.fr/UNIX/48_R/all.html
In paticular, you can see a lot of fascinating graphics
examples of R from which you can get many hints.
Soryy if this is already well-known, but the CRAN search
did not show nothing with the keyword
2007 Jun 12
4
Generating artificial datasets with a specific correlation coefficient.
I need to create artificial datasets with specific correlation
coefficients (i.e. a dataset that returns r = 0.30, etc.) as examples
for a lab I am teaching this summer. Is there a way to do that in R?
Thanks.
Jim Milks
Graduate Student
Environmental Sciences Ph.D. Program
136 Biological Sciences
Wright State University
3640 Colonel Glenn Hwy
Dayton, OH 45435
[[alternative HTML version
2004 May 27
1
Statistics Avec R (Vincente Zoonekynd): portuguese translation
Dears friends,
I have been translating and extended, with educational porposes only, the available material in the www
(http://zoonek2.free.fr/UNIX/48_R/all.html) "Statistcs avec R" for the Portuguese of Brazil.
I consider the material very good and would like to share this work with anothers users R.
Already I translated and I extended two chapters: Introduction to the R and analysis
2010 Jan 13
1
Recommended visualization for hierarchical data
Let's say I have data in the following schema that describes the number of
purchases a company has received from each County in the US:
State | County | Purchases
---------------------------------------
NJ | Mercer | 550
CA | Orange | 23
....
I would like to visualize what states contribute the most to the overall
total, and furthermore within those states, what Counties contribute the
most.
2008 Jul 06
1
Backgrounds in Multiple Plots made with "fig"
The following code was adapted from an example Vincent Zoonekynd gave on his
web site http://zoonek2.free.fr/UNIX/48_R/03.html:
n <- 1000
x <- rnorm(n)
qqnorm(x)
qqline(x, col="red")
op <- par(fig=c(.02,.5,.5,.98), new=TRUE)
hist(x, probability=T,
col="light blue", xlab="", ylab="", main="", axes=F)
lines(density(x),
2009 Feb 04
5
Target Plot?
I've done a little snooping around the R Gallery Site (http://addictedtor.free.fr/graphiques/) and the "Statistics with R" site (http://zoonek2.free.fr/UNIX/48_R/all.html), but I can't seem to find what I'm looking for.
Here is the type of plot I would like to draw:
(1) 2-D three axis plot where each axis is separated by 120-degrees (would be great if the number of axis
2013 Mar 05
3
Simulate binary correlated data
Dear R experts,
I am trying to simulate correlated binary data and have stumbled upon the
following problem:
With the help of "binarySimCLF" or "mvpBinaryEp" I have been able to
simulate correlating binary vectors given certain mean values and a desired
correlation. My problem is that these procedures do not allow you to specify
the exact vector for which you want to generate
2012 Mar 15
6
Generation of correlated variables
Hi everyone.
Based on a dependent variable (y), I'm trying to generate some independent
variables with a specified correlation. For this there's no problems.
However, I would like that have all my "regressors" to be orthogonal (i.e.
no correlation among them.
For example,
y = x1 + x2 + x3 where the correlation between y x1 = 0.7, x2 = 0.4 and x3 =
0.8. However, x1, x2 and x3
2006 Jan 10
0
StatsRus and wiki
Hi Jack:
Based on what you wrote in your mail about your hypothesis, I recommend you "StatsRus" website by Prof Paul Johnson. It's an excellent collection of R code snippets, and a veritable online oyster containing pearls of his wisdom :). Here is the link:
www.ku.edu/~pauljohn/R/Rtips.html
This set of "R solutions" is focused on performances (action oriented
2004 Oct 21
2
an introduction to R in french
Hello wizaRds !
I am looking for a french and recent version of "An introduction to R".
Does anybody know where i could find on of these.
Thanks.
--
Romain Fran??ois
25, avenue Guy Moquet
94 400 Vitry sur seine
FRANCE
_______________________
_______________________
francoisromain at free.fr
01 46 80 65 60
06 18 39 14 69
2013 May 12
2
Data mining
Hola, ¿cómo están?
Soy estudiante de Ing. en Sistemas de Información y estoy cursando
la materia Tecnologías para la Explotación de Datos. Me he decidido a usar
R para hacer DM. Estoy recién comenzando con ambos.
El asunto es que no he encontrado la implementación en R de uno de
los algoritmos que dimos para árboles de decisión, ID3. Ya revisé varios de
los paquetes para DM
2013 May 18
2
Intervalos de confianza en una autocorreloción
Hola:
¿Existe alguna forma de obtener el valor numérico de los intervalos de
confianza en una autocorrelación?
O, por el contrario, ¿tengo que calcularlos «a mano»?
(Llevo ya un rato buscando y nada.)
Gracias por adelantado.
Salud y Revolución.
Lobo.
--
Libertad es poder elegir en cualquier momento. Ahora yo elijo GNU/Linux,
para no atar mis manos con las cadenas del soft propietario.
2006 Jan 23
8
Image Processing packages
Hi,
I've been looking for Image Processing packages. Thresholding, Edge
Filters, Dct, Segmentation, Restoration. I'm aware, that Octave, Matlab
etc. would be a good address but then I'm missing the "statistical
power" of R. Does anybody know of packages, projects etc. Comments on
wether the use of R for such matters is useful are welcome.
Greetings
Thomas Kaliwe
2011 Dec 03
1
partial mantel tests in ecodist with intential NA values.
I would like to perform partial mantel tests on only within group values, with "between group" values assigned to NA.
This is possible in package ncf partial.mantel.test, however this sues a different permutation to that used in ecodist.ecodist will not accept data with NA values, returning a "matrix is not square error.
is it possible to perform this test in ecodist?
many thanks
2006 Jun 07
2
multiple data sets on one plot
Hello,
I am learning how to use R, and I cannot figure out how to plot more
than one data set on a single plot. Can you help me out?
Cheers,
Mark
--
Mark Sessing
CIMMS Research Fellow Meteorologist
NWS Warning Decision Training Branch
3200 Marshall Ave Ste. 202
Norman, OK 73072
Phone: 405-573-3332
Fax: 405-573-3462
Mark.L.Sessing at noaa.gov
2004 Nov 05
2
graphics site
About six months ago there was a reference to a site (in french) that
did a spectacular job of demonstrating R's graphical capabilities.
My bookmarks were recently wiped and I cannot find this site despite my
best googling.
Anyone have the address which I have done a miserable job describing?
Thanks.
Michaell