similar to: means, SD's and tapply

Displaying 20 results from an estimated 110 matches similar to: "means, SD's and tapply"

2012 Aug 07
5
summing and combining rows
Hello, I have a data set that needs to be combined so that rows are summed by a group based on a certain variable. I'm pretty sure rowsum() or rowsums() can do this but it's difficult for me to figure out how it will work for my data based on the examples I've read. My data are structured like this: Plot SizeClass Stems 12 Class3 1 12 Class4
2003 Jul 22
1
Making a group membership matrix
Hi Helpers: I have a factor object that has 314k entries of 39 land cover types. (This object can be coerced to characters neatly should that be easier to work with.) > length(foo) [1] 314482 > foo[1:10] [1] Montane Chaparral Barren Red Fir Red Fir [5] Red Fir Red Fir Red Fir Red Fir [9] Red Fir Red Fir 39 Levels:
2011 Feb 08
1
Grouping by factors in R
I'm having a hard time figuring out how to group results by certain factors in R. I have data with the following headings: [1] "Time" "Plot" "LatCat" "Elevation" "ElevCat" "Aspect" "AspCat" "Slope" [9] "SlopeCat" "Species" "SizeClass" "Stems" and
2012 Apr 05
2
count() function
I keep expecting R to have something analogous to the =count function in Excel, but I can't find anything. I simply want to count the data for a given category. I've been using the ddply() function in the plyr package to summarize means and st dev of my data, with this code: ddply(NZ_Conifers,.(ElevCat, DataSource, SizeClass), summarise, avgDensity=mean(Density),
2008 Aug 08
2
Tick marks that correspond with bars on barplot
Hello all, I have created a barplot that shows change in hardwood/softwood density from 1965 to 2005 in 5 year periods (1965,1970, etc). I would like to have an X-axis where the labels for the years line up after every two bars in the plot (there is one bar for hardwood, and another for softwood). Below is my script: density<-read.table("F:\\Megan\\Vtest.csv", header=TRUE,
2010 Jul 23
6
Hardwood Solitaire and Wine 1.2-rc7
I'm a Linux newbie. I have Hardwood Solitaire installed with Ubuntu 10.4 and wine 1.2-rc7. The file is a .exe and it starts to open and stops saying it has a serious error and needs to close. The file is OK in windows and I need help to find out why it wont work here. Please remember I'm a newbie and any help needs to be basic. Thanks. The file is hwsoliii.exe Bob Also,
2008 Jul 28
4
RODBC to query an Oracle table
Hello all, I am having trouble running a count function in R using RODBC to query a table I created in Oracle. It may very well be that my SQL coding is incorrect; I just started learning it. But if someone could point me in the right direction or tell me if I am going about this the correct way that would be greatly appreciated! The script I have right now is: >require(RODBC)
2004 Jun 14
0
If IAX client is not logged in/registered, Dial plan executes BUSY vs UNAVAILABLE
If I have an IAX client (Firefly softphone in this example), and the client is not registered at the moment because they are not connected to the network and someone dial that extension, they get the user's "I'm on the phone at the moment" message vs. the "I'm unavailable" message. Is this by design? Here's the extension in question's dialplan:
2006 Sep 20
1
problem coercing truncated character vector to levels
Dear R wizes, I have a data.frame of species abundances with column names consisting of 4 letter codes then an underscore and a number like this: abco_1, abco_2, abco_3, psm_1, psme_2, psme_3, etc. I would like to get an identifier for all the abco, and psme and other species etc. I used spec.fact<-substring(names(spec.count),1,4) To make a vector of the first 4 letters of
2008 May 06
10
Best way to implement?
So I''m new to all this Rails stuff and this is probably a database design-related question to, but here it is... Just for learning I''m trying to build a little real estate listings application. Of course there is the listings model which will store basic information like name, price, description, and all that jazz. I''m to the point where I want to figure out how to
2012 Jan 06
2
R CMD check WARNING \usage question
I'm trying to update a package and would like to crush a WARNING message for a clean build. I've been struggling with this question and haven't gotten any traction on the web either. I've got a document file (Rd) that contains the following \usage statement: \name{sample.data} \alias{sample.data} \title{CONIFERS forest growth model sample data} \description{ A list object of
2017 Dec 07
2
parallel computing with foreach()
I have used foreach() for parallel computing but in the current problem, it is not working. Given the volume and type of the data involved in the analysis, I will try to give below the complete code without reproducible example. In short, each R environment will draw a set of separate files, perform the analysis and dump in separate folders. splist <- c("juoc", "juos",
2017 Dec 07
0
parallel computing with foreach()
Your code generates an error that has nothing to do with dopar. I have no idea what your function stack is supposed to do; you may be inadvertently calling utils::stack which would produce this kind of error: > stack(1:25, RAT = FALSE) Error in data.frame(values = unlist(unname(x)), ind, stringsAsFactors = FALSE) : arguments imply differing number of rows: 25, 0 HTH, Peter On Wed, Dec 6,
2010 Jul 28
2
Deleting .wine as root
Bob <benjie1 at cox.net> wrote: >Sent: Jul 28, 2010 4:32 PM >To: James Mckenzie <jjmckenzie51 at earthlink.net> >Subject: Deleting .wine as root > >Hi James. Not sure how to delete .wine as root. I have to cd to >/home/benjie1 and the .wine is there. > >Can I delete it using yum in fedora? > No, yum is a package manager. You would delete the Wine
2002 Jun 13
2
Output of clustering packages
Dear all, I am sorry because my question is perhaps trivial and is certainly a detail. It's related to the output of some clustering package as mclust and e1071. The output is as follows : [1] 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 [38] 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 [75] 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
2010 Sep 15
1
Format Data Issue??
R Users, I am new to R and have tried to figure out how to automate this process instead of using excel. I have read in this dataframe into r with read.table. I need to reshape the data from the first table into the format of the second table. TractID StandID Species CruiseDate DBHClass TreesPerAcre Carbon Stand 1 Loblolly Pine 5/20/2010 10 1.2 Carbon Stand 1 Loblolly Pine
2005 May 09
1
can't build packages anymore...
R developers, I've been happily building packages, under windows, for some time now and upgraded to R 2.1.0 and now when I attempt to build a package, I get the following errors... C:\conifers>rcmd build Rconifers * checking for file 'Rconifers/DESCRIPTION' ... OK * preparing 'Rconifers': * checking DESCRIPTION meta-information ... OK * cleaning src * checking whether
2005 Dec 25
1
cygwin and tar -- still?
I've upgraded laptops and have put a new version of R on the new machine as well as the tools for building packages. I know R has required a "non-broken" version of tar for some time now and was hoping to not have to install any cygwin tools. Since building packages requires the use of MinGW and MSYS, why can't we simply use the tar that's part of msys? After looking at
2009 Jul 16
1
axis label config mgp
I have long axis labels (8units) on the x axis and 2 unit number labels on the y axis. I need to move the x axis title without moving the y axis title. I have used mgp=c(title, label and line), but mgp moves both the x and y titles. The following puts the y axis title way way out to the left. Anyone know how to move just the x axis. X11() conif<-c("Control", "Switched
2010 Jul 28
0
Fw: Re: Hardwood Solitaire and Wine 1.2-rc7
To the list.... -----Forwarded Message----- >From: James Mckenzie <jjmckenzie51 at earthlink.net> >Sent: Jul 28, 2010 11:43 AM >To: Bob <benjie1 at cox.net> >Subject: Re: [Wine] Hardwood Solitaire and Wine 1.2-rc7 >-----Original Message----- >>From: Bob <benjie1 at cox.net> >>Sent: Jul 28, 2010 1:43 PM >>To: James Mckenzie <jjmckenzie51 at