Displaying 17 results from an estimated 17 matches for "bindata".
Did you mean:
bigdata
2000 Jul 28
2
Loop removal?
Dear all,
I've got a quite large dataframe (stor) with rows subject and rt (reaction
time). I would like to split the reaction times per subject into 6 bins of
equal size. Right now, I'm using the following code:
bindata <- function(rt) {
bindata <- rep(-1,length(rt))
binwidth <- length(rt)/6
bindata[order(rt)[(0*binwidth)+1:(1*binwidth)]] <- 1
bindata[order(rt)[(1*binwidth)+1:(2*binwidth)]] <- 2
bindata[order(rt)[(2*binwidth)+1:(3*binwidth)]] <- 3
bindata[order(rt)[(3*binwidth)+1:(4...
2002 Sep 03
1
Bindata package problems
Dear list
I am having a couple of problems with the package 'bindata'.
Having installed it using install.packages("bindata"), I am finding that
when I load it up as a library I get the following errors:
> library(bindata)
Loading required package: e1071
Loading required package: mvtnorm
Warning messages:
1: There is no package called `e1071'...
1998 Jun 16
0
R-beta: New Package bindata at CRAN
I have put the new package bindata to CRAN, which provides a method
for creating binary (i.e., 0-1-valued) random variables with
correlation structures by converting multivariate random variables to
binary variables.
The package includes a postscript file of a technical report
describing the method, here's the abstract:
******...
1998 Jun 16
0
R-beta: New Package bindata at CRAN
I have put the new package bindata to CRAN, which provides a method
for creating binary (i.e., 0-1-valued) random variables with
correlation structures by converting multivariate random variables to
binary variables.
The package includes a postscript file of a technical report
describing the method, here's the abstract:
******...
2007 Feb 07
3
generate Binomial (not Binary) data
Dear All,
I am looking for an R function or any other reference to generate a series of correlated Binomial (not a Bernoulli) data. The "bindata" library can do this for the binary not the binomial case.
Thank you,
Bernard
---------------------------------
[[alternative HTML version deleted]]
2012 Jul 04
2
How to generate a correlated binary data set?
Hi.
I am trying to generate a correlated binary data set.
I've tried to use mvtBinaryEP, binarySimCLF, and bindata packages but none
of them works in R version 2.15.1.
Do you know any package to generate correlated binary covariates and work
in R version 2.15.1, or how to generate it?
Thanks,
[[alternative HTML version deleted]]
2001 Oct 11
2
Where's MVA?
...ww.r-project.org
Index of Contents (Text)
Reference Manual (PDF)
Package Sources
AnalyzeFMRI CoCoAn Devore5 EMV GLMMGibbs GenKern GeneSOM KernSmooth Matrix NISTnls Oarray PHYLOGR PTAk RArcInfo RMySQL RODBC RPgSQL RandomFields RmSQL Rstreams Rwave SASmixed SuppDists VR XML acepack adapt akima ash bindata blighty boot bootstrap bqtl car cclust cfa chron cluster cmprsk coda conf.design cramer date diamonds dse e1071 ellipse event.chart exactRankTests fastICA fdim fields foreign fracdiff gafit gee geoR gld gregmisc gss ineq leaps lgtdl lmtest locfit logspline lokern lpridge maptree maxstat mclust mda...
2009 Oct 29
1
correlated binary data and overall probability
Dear All,
I try to simulate correlated binary data for a clinical research project.
Unfortunately, I do not come to grips with bindata().
Consider
corr<-data.frame(ID=as.factor(rep(c(1:10), each=5)),
task=as.factor(rep(c(1:5),10)))
[this format might be more appropriate:]
corr2<-data.frame(ID=as.factor(rep(c(1:10),5)),
tablet=as.factor(rep(c(1:5),each=10)))
Now, I want to add one column 'outcome' f...
2011 Dec 20
1
Help Transforming sums into observations
I need to measure kurtosis, skew, and maybe dip test on some
distributions I have. Currently my data is in the form of 2 vectors x
and y. Where x is 10 bins and y is the number of observations found in
that bin. It seems that the measures I want to run require the actual
observations laid out rather than already summed like I have them. Any
suggestions on how to transform the data automatically? I
2007 Jul 03
3
generating correlated Bernoulli random variables
Hi all,
I was wondering how to generate samples for two RVs X1 and X2.
X1 ~ Bernoulli (p1)
X2 ~ Bernoulli (p2)
Also, X1 and X2 are correlated with correlation \rho.
Regards,
Vineet
[[alternative HTML version deleted]]
2003 Oct 28
1
stacking histograms
...the bin, the second column
the upper value for the bin and the last column is the frequency for
that bin
When I call the hist() function I get
> depv <- scan('depv.txt') # a vector of observed values
>
> # the bin boundaries described above
> breakvals <- read.table('bindata.txt')
>
> hist(depvt, breaks=breakvals$V1)
>
Error in hist.default(depvt, breaks = br$V1) :
some `x' not counted; maybe `breaks' do not span range of `x'
I get the same error when I specify breakvals$V2.
Some of my observed values lie beyond the lower boundary o...
2002 Apr 12
1
correlated binary random numbers
Dear all,
does any of you know a source for R code for
the generation of correlated binary random numbers?
Thanks a lot
Peter Schlattmann
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not
2002 Jun 03
0
R 1.5.0 packages for SuSE i386
...age Matrix ...failed!
checking for package rpvm ...failed!
checking for package tree ...failed!
checking for package RmSQL ...failed!
checking for package VR ...failed!
checking for package wle ...failed!
checking for package e1071 ...failed!
checking for package mda ...failed!
checking for package bindata ...failed!
checking for package nlme ...failed!
You can download them from:
ftp://www.alex.wh.tu-darmstadt.de/pub/R-1.5.0_20020803/linux/SuSE/7.3
If there is intresst I can try to fix the missing packages.
Greetings J?rgen
- --
Juergen Henge-Ernst // Hauptstrasse 37 // 67591 M?lsheim // German...
2003 Sep 14
2
Convert decimal to binary data
Hi,
I would like to convert a decimal into a binary number, for instance :
2->(1,0)
Any one knows how to do that ?
Thanks a lot
paul
---
[[alternative HTML version deleted]]
2009 Apr 27
0
is there a way generate correlated binomial data in R?
Dear R Helpers,
Is there a way to generate multivariate correlated binomial data in R, similar to how the rmvbin procedure in package bindata can generate multivariate correlated binary data?
Thanks for your help,
Jonathan Williams
2007 Mar 26
1
Problem in loading all packages all at once
...uot;,"aster","asypow","aws","base","bayesm","bayesmix","bayesSurv","BayesTree","BayesValidate","betareg","Bhat","BHH2","bicreduc","biglm","bim","bindata","Biodem","biopara","bitops","bivpois","blighty","blockrand","BMA","boa","Bolstad","boolean","boost","boot","bootstrap","bqtl","BradleyTerry",&q...
2009 Sep 27
3
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week
New packages
------------
* bdoc (1.0)
Michael Anderson
http://crantastic.org/packages/bdoc
This package contains a function that will classify DNA barcodes as
well as a few test and reference data sets.
* bdsmatrix (1.0)
Terry Therneau
http://crantastic.org/packages/bdsmatrix
This is a special case of sparse matrices, used by coxme and