Displaying 5 results from an estimated 5 matches for "elev1".
Did you mean:
elev
2012 Apr 05
2
count() function
...means and st dev of my data, with this code:
ddply(NZ_Conifers,.(ElevCat, DataSource, SizeClass), summarise,
avgDensity=mean(Density), sdDensity=sd(Density), n=sum(Density))
and that gives me results that look like this:
ElevCat DataSource SizeClass avgDensity sdDensity n
1 Elev1 FIA Class1 38.67768 46.6673478 734.87598
2 Elev1 FIA Class2 27.34096 23.3232470 820.22879
3 Elev1 FIA Class3 15.38758 0.7088432 76.93790
4 Elev1 VTM Class1 66.37897 70.2050817 24958.49284
5 Elev1 VTM Class2 39.4...
2017 Dec 13
3
inefficient for loop, is there a better way?
...ignificant time savings.
The example below is setting up a data.frame for an ensuing regression
analysis. The purpose of the script below is to appends columns to 'examp'
that contain values corresponding to the total number of days in the
previous 7 ('per') above some stage ('elev1' or 'elev2'). Is there a
faster method that leverages existing R functionality? I feel like the
hack below is pretty clunky and can be sped up on the true dataset. I
would like to run a more efficient script many times adjusting the value of
'per'.
ts <- 1:1000
examp <...
2012 Aug 07
5
summing and combining rows
...,
Chris Dolanc
--
Christopher R. Dolanc
Post-doctoral Researcher
University of Montana and UC-Davis
-------------- next part --------------
Data Plot Lat LatCat Elevation ElevCat Type SizeClass Stems Area Density
5171 VTM 39C16 39.76282 Lat6 1500 Elev1 Conifer Class3 0 751.5347 0.00000
5172 VTM 39C16 39.76282 Lat6 1500 Elev1 Conifer Class4 1 751.5347 13.30611
5771 VTM 39F11 39.57721 Lat6 500 Elev1 Conifer Class3 0 751.5347 0.00000
5772 VTM 39F11 39.57721 Lat6 50...
2004 Dec 12
1
Followed John's book, frustrating smbldap-problem
...H. Terpstra's excellent "Samba 3 by
example". This book is also availible from samba.org, and chapter I'm
referencing is this:
http://us1.samba.org/samba/docs/man/Samba-Guide/happy.html
I followed the book character by character, and it seemed to work.
I added two test-users, elev1 and elev2 by doing 'smbldap-useradd -m -a
elev1; smbldap-passwd elev1; smbpasswd -a elev1'. Everything worked
fine. I put elev1 in the 'Domain Admins' group to allow him to add
computers to the domain. Worked fine. I tried adding more users, but now
something is very wrong. I ma...
2012 Mar 25
2
avoiding for loops
I have data that looks like this:
> df1
group id
1 red A
2 red B
3 red C
4 blue D
5 blue E
6 blue F
I want a list of the groups containing vectors with the ids. I am
avoiding subset(), as it is
only recommended for interactive use. Here's what I have so far:
df1 <- data.frame(group=c("red", "red", "red", "blue",