similar to: subsetting a data set

Displaying 20 results from an estimated 2000 matches similar to: "subsetting a data set"

2008 Oct 17
6
Simple Gantt like chart for numbers rather dates
I would like to produce a chart that looks like a Gantt chart (or shingle plot), but instead of tasks you have variable names and instead of start and finish dates you have an upper and lower numeric value. If that makes sense, is there an obvious way of doing this. Thanks, Graham
2005 Dec 28
2
Importing Genstat files into R
Does anyone know if there is a package or other method of reading Genstat files directly into R. Genstat isn't listed in the foreign package. Many thanks, Graham [[alternative HTML version deleted]]
2012 May 22
1
Patch to add Beta binomial distribution. Mentor needed!
Hello, I implemented the Beta binomial distribution following the patterns of the binomial distribution code and inspired by JAGS' code [1]. I have studied the code carefully but it's my first run in the R internals. Can somebody review the code and if everything it's ok commit to the repository? [1]
2007 Jun 21
1
mgcv: lowest estimated degrees of freedom
Dear list, I do apologize if these are basic questions. I am fitting some GAM models using the mgcv package and following the model selection criteria proposed by Wood and Augustin (2002, Ecol. Model. 157, p. 157-177). One criterion to decide if a term should be dropped from a model is if the estimated degrees of freedom (EDF) for the term are close to their lower limit. What would be the
2009 Jun 17
1
function to determine to which class/category a value belongs to?
Hi all, I''ve got a simple contingency table produced with table(), and the upper and lower quartiles (quantile25 and quantile75) for the same dataset. Is there a function that tells me in which category does the value of the quartile falls into? for example: tabsp <- table(fam$I[fam$I>0]) 1 3 6 6 1 1 and for the cumulative frequency distribution tabcum <- cumsum(tabsp) 1 3
2012 Jan 27
1
Bivariate Partial Dependence Plots in Random Forests
Hello, I was wondering if anyone knew of an R function/R code to plot bivariate (3 dimensional) partial dependence plots in random forests (randomForest package). It is apparently possible using the rgl package (http://esapubs.org/archive/ecol/E088/173/appendix-C.htm) or there may be a more direct function such as the pairplot() in MART (multiple additive regression trees)? Many
2009 Jun 18
1
recovering the name of a given value in a matrix
Hi all, I've got object *cumsumtab, *where the first row (1,2,3,4,5,6,8,13,14,17,40) are names (actually, categories), and the second row has numeric values. > cumsumtab 1 2 3 4 5 6 8 13 14 17 40 2 4 6 7 9 11 13 14 15 16 17 I'm trying to find a way of finding to which category ( in *names(cumsumtab) * ) belongs a given value (let's say Q1 <- 4.25). So far, I've
2012 Mar 16
1
Beta binomial and Beta negative binomial
Hi, I need Beta binomial and Beta negative binomial functions but in R there is only SuppDists package which provide this distributions using a limited parameter space of the generalized hypergeometric distribution (dghyper & Co.) which provide a limited parameter space for Beta binomial and Beta negative binomial functions (e.g. alpha + beta <1 in the Beta negative binomial). I've
2010 Sep 01
2
Rd-file error: non-ASCII input and no declared encoding
Dear list, I came across the following error for three of my newly written Rd-files: non-ASCII input and no declared encoding I can't make sense of this. Below I copied in one of the three files. Can anybody please tell me what's wrong with it? Thank you, Christian \name{tetragonula} \alias{tetragonula} \alias{tetragonula.coord} \docType{data} % \non_function{} \title{Microsatellite
2012 Jun 09
2
Help with permutation function from Turner et al. 2010 (Ecology)
Hello, I'm using R code that includes a residual permutation that was written as a supplement to the paper: Turner et al. 2010. A general hypothesis-testing framework for stable isotopes ratios in ecological studies. Ecology 91:2227-2233. The supplemental code is available at: http://www.esapubs.org/archive/ecol/E091/157/suppl-1.htm When I execute the function, no warnings are given
2013 Mar 19
2
[Announce] Samba 4.0.4 Security Release Available for Download
Release Announcements --------------------- This is a security release in order to address CVE-2013-1863 (World-writeable files may be created in additional shares on a Samba 4.0 AD DC). o CVE-2013-1863: Administrators of the Samba 4.0 Active Directory Domain Controller might unexpectedly find files created world-writeable if additional CIFS file shares are created on the AD DC.
2013 Mar 19
2
[Announce] Samba 4.0.4 Security Release Available for Download
Release Announcements --------------------- This is a security release in order to address CVE-2013-1863 (World-writeable files may be created in additional shares on a Samba 4.0 AD DC). o CVE-2013-1863: Administrators of the Samba 4.0 Active Directory Domain Controller might unexpectedly find files created world-writeable if additional CIFS file shares are created on the AD DC.
2001 Feb 24
0
Canonical Correspondence Analysis in R
I think i mentioned this in private communication a while back, but in case anyone else cares: I have a version of canonical correspondence analysis (CCA) coded up in R. I based it on Ter Braak and Prentice (1988) Adv. Ecol. Res. 18:271-317, Ter Braak (1986) Ecol. 67(5):1167-1179, and Ter Braak (1995) Section 5.9 in Jongman, Ter Braak, and van Tongeren "Data Analysis in
2009 Jul 07
3
Dump plots to powerpoint?
Hi, Is it possible to dump a series of plots directly into a powerpoint presentation (as is possible in Splus)? Thank you, Thomas [[alternative HTML version deleted]]
2013 Mar 08
1
question on package plm
 Hi R users:  I am using the plm package for linear panel data analysis but encountered the following message when I try plm function to estimate an random model with individual effect.  data.re.ind <- plm(X.RETURN. ~ IOB + IOBS,data=E,model="random",effect = "individual")  Error in swar(object, data, effect) :  the estimated variance of the individual effect is negative
2008 Dec 02
1
Suppressing tick labels?
I am trying to suppress the tick labels on the x-axis of the following: barchart(richness[Wood=="V"]~Sample[Wood=="V"]) I have tried col.axis="white" I have tried removing the axis all together with axes=FALSE I have tried xaxt="n" I have also tried labels=c"(label1", "label2") to replace the default labels, based on reading that the
2008 Jun 21
2
ubuntu repository for R
Maybe this is more a Ubuntu question,but... I am trying to get synaptic to work with R I have added http://cran.uk.r-project.org/bin/linux/ubuntu as the URL and hardy/ as the distribution. But when I reload the repositories, I get an error Failed to fetch http://cran.uk.r-project.org/bin/linux/ubuntu/hardy/Packages.gz 301 Moved Permanently Some index files failed to download, they have been
2006 Sep 06
2
deleting an arow added to a graphic
I know this has got to be simple, but I have a added an arrow to a graph with: arrows(5,8,8, predict(lmfit,data.frame(x=8)), length=0.1) but its in the wrong position, correcting it and running again adds an new arrow (which is what you would expect) so how do I a) edit the existing arrow, and b) delete it all together As so often seems to be the case, some of the simplist things seem also to
2008 Aug 17
1
before-after control-impact analysis with R
Hello everybody, In am trying to analyse a BACI experiment and I really want to do it with R (which I find really exciting). So, before moving on I though it would be a good idea to repeat some known experiments which are quite similar to my own. I tried to reproduce 2 published examples but without much success. The first one in particular is a published dataset analysed with SAS by
2009 Jun 14
2
Installing and maintaining R on Ubuntu 9.04 -, best practice
I had an exchange of ideas on this with Dirk E. a couple of months ago. He can correct this if I state it wrongly, but 1) we agreed that using apt/Synaptic structure was best, but sometimes the packages are not available 2) also that using install.packages when there is a .deb can lead to some "confusion" (the package database on the local system does not know about an R package