similar to: subsetting data set dimenion problem

Displaying 20 results from an estimated 100 matches similar to: "subsetting data set dimenion problem"

2005 Feb 28
0
Re: R-help Digest, Vol 24, Issue 28
You've omitted a comma. races2000 is a data frame, which for purposes of extracting rows behaves like a 2-dimenional object. The following works fine: hills2000 <- races2000[races2000$type == 'hill', ] Additionally, you might like to ponder > type <- races2000[names(races2000)=="type"] > type[1:4] Error in "[.data.frame"(type, 1:4) :
2011 Nov 14
1
Subset of a subset?
Hi All- I have created a subset of my original csv for the times I am interested in (9, 12, 3). I have a subset for all of those times then each individually. I would like to have specific case studies to analyze individually for those times. For example, I want to look at 2009/06/01-2009/06/10. Is the easiest way to created a subset of ss? I haven't been able to figure out the easiest way
2007 May 21
1
can I get same results using lme and gls?
Hi All I was wondering how to get the same results with gls and lme. In my lme, the design matrix for the random effects is (should be) a identity matrix and therefore G should add up with R to produce the R matrix that gls would report (V=ZGZ'+R). Added complexity is that I have 3 levels, so I have R, G and say H (V=WHW'+ZGZ'+R). The lme is giving me the correct results, I am
2007 Jun 01
2
how to specify starting values in varIdent() of lme()
I was reading the help but just did not get how to specify starting values for varIdent() of the lme() function, although I managed to do it for corSymm(). Do I specify the values just as they are printed out in an output, like c(1, 1.3473, 1.0195). Or do I need to take the residual and multiply it with these like c(0.2235, 0.2235*1.3473, 0.2235*1.0195) or any other form that I dont know of?
2007 Apr 12
0
LME: incompatible formulas for groups
Dear R-Users, I am currently working with LME to analyse repeated measures data. I encounter a problem when including both a random effect and a correlation structure with different grouping levels into the LME model. The error message is: Error in lme.formula(diameter ~ flowers*timef + competition*timef + population*timef, : Incompatible formulas for groups in "random" and
2013 Feb 15
0
CVlim
Can anyone help explain to me why the two codes below have different result? I thought I can use log(time)~. to replace log(time)~dist+climb+timef.I am using CVlm from DAAG package. I think nihills is preloaded with the package. Thanks in advance. > CVlm(df=nihills, form.lm=formula(log(time)~.),plotit="Observed",m=2)Analysis of Variance Table Response: log(time) Df Sum Sq
2005 Mar 02
2
.ps and .pdf page size differences in FC vs. Debian
R version: 2.0.0 OS: Fedora Core 1 When I'm using Fedora Core 1, Rplots.ps (and subsequent Rplots.pdf created after using ps2pdf Rplots.ps) which are created from the command line execution of R are too large to fit on a US Letter sized page when printed. The same code will produce a US letter sized page when I'm on my Debian Sid box. Both boxes are connected to the same shared
2010 Feb 25
1
binding multidimension array
I don't find rbind, cbind or other bind that bind in other dimesions for multidimension array while keeping the result of the same dimension. For example, say, dim(x)=c(2,3,4), dim(y)=c(3,3,4). I want to have the result z, where dim(z)=c(2+3,3,4), when I bind x and y in the first dimenion. The bind can also be in the 2nd and 3rd dimesion. Could somebody let me know if this family of
2005 Jul 17
0
R source issue "sarge" or "stable"
Clint, Sorry for the delayed reply, but I was away from my computers for several days. On 6 July 2005 at 11:24, Clint Harshaw wrote: | Hi Dirk and Douglas: | | I am a user of Debian and R. My system is a Debian Sarge system, and I | want to add the ibiblio mirror to keep my R installation up to date. | However, I'm running into some trouble when trying to follow the | instructions in the
2006 Feb 16
8
Ubuntu and R
I've recently installed Ubuntu 5.10 on a desktop and need R installed, however, even after uncommenting the repos associated with universe, backports and multiverse, the packages available for Ubuntu are somewhat out of date: clint at simba:~$ apt-cache policy r-base r-base-core r-base: Installed: (none) Candidate: 2.1.1-1 Version table: 2.1.1-1 0 500
2006 Feb 16
8
Ubuntu and R
I've recently installed Ubuntu 5.10 on a desktop and need R installed, however, even after uncommenting the repos associated with universe, backports and multiverse, the packages available for Ubuntu are somewhat out of date: clint at simba:~$ apt-cache policy r-base r-base-core r-base: Installed: (none) Candidate: 2.1.1-1 Version table: 2.1.1-1 0 500
2006 Feb 19
2
changing names of vectors in list or data.frame
When I combine separate vectors into one list, there are new names created. I'd like to change them to something more meaningful. Here are two examples using data(zelazo) from library(ISwR): > library(ISwR) > data(zelazo) > attach(zelazo) > zelazo $active [1] 9.00 9.50 9.75 10.00 13.00 9.50 $passive [1] 11.00 10.00 10.00 11.75 10.50 15.00 $none [1] 11.50 12.00 9.00
2013 Nov 08
1
Rsync hanging, even with timeout and contimeout specified
Here's the details and some debugging I did for starters, but I have no idea where to proceed from here. Help please? Command to reproduce should be in the strace output below. -Dan P.S. Sorry for sending this a few times; I think only one will make it through to the list since I wasn't subscribed initially. $ rsync --version rsync version 3.1.0 protocol version 31 Copyright (C)
2001 May 09
0
Coplot
When I use the hills data in Maindonald's text (below) and apply coplot(time ~ distance | climb, data=hills, overlap=0.0, number=3) the graphs do not appear to line up with the conditional axis climb. Is this a bug or am I missing something as an R newbie? Thanks, Bob Abugov distance climb time Greenmantle 2.5 650 16.083 Carnethy 6.0 2500
2011 May 05
6
Averaging uneven measurements by time with uneven numbers of measurements
I have a new device that takes measurements anywhere from every second, to every 15 minutes (depending on changes). The matrix has a date, time and Y column (Y is the measurement). For three days it is 25,000 rows. How do I average the measurements by every 30 minutes so my matrix is 48 rows per day? I have been working on this and cannot figure out a simple method. Any ideas? Thank you. ----- In
2006 Mar 01
2
Update R 2.1.1-1 -> 2.2.1 on UBUNTU
I've installed Ubuntu 5.10 Breezy on my Mac. When using MacOSX, I used to work with R 2.2.1, but now, with Ubuntu, I can't download it with synaptic. I can only download R 2.1.1-1, and I really need 2.2.1. I've tried to edit the sources.list file, typing deb http://cran.R-projet.org/bin/linux/debian stable/ R/r, using a different mirror,... but when I run synaptic, it says: W:
2008 Jan 20
4
read.table: wrong error message? (PR#10592)
--Apple-Mail-44--797532055 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit I believe read.table may report misleading errors. In this example, where a header line in a file has an incorrect number of row names (28 instead of 29), I get the error message "duplicate row.names are not allowed". However, I cannot not find any
2015 Feb 11
2
Problems in SAMBA 3.3 to 4.0 migration
Hi, Rowland, and thanks for the reply. The PDC OS is Slackware 13. The BDC OS is Slackware 14. The choice to use Samba 4.0 was merely due to its inclusion on the Slackware 14 distro. I'll worry about upgrading that once I have the migration complete. I will post the two machine's respective smb.conf's later today. -- View this message in context:
2015 Feb 12
0
Problems in SAMBA 3.3 to 4.0 migration
As promised, I'm posting the smb.conf files for the two servers in question. One minor correction I should offer is that the new SAMBA server will be version 4.1, not 4.0. Following is SMB.CONF for the current PDC, which is Samba 3.3.4 on Slackware 13. I've omitted all share definitions to allow focus more on the configuration side. Actual server/domain names have been omitted.
2015 Feb 12
2
Problems in SAMBA 3.3 to 4.0 migration
On 12/02/15 02:43, soonerdave wrote: > As promised, I'm posting the smb.conf files for the two servers in question. > > One minor correction I should offer is that the new SAMBA server will be > version 4.1, not 4.0. > > Following is SMB.CONF for the current PDC, which is Samba 3.3.4 on Slackware > 13. > I've omitted all share definitions to allow focus more on the