Displaying 11 results from an estimated 11 matches for "spec2".
Did you mean:
spec
2008 May 02
3
data transformation
...occurrences into a presence-only table (3 columns) with the names of the
species (1st column), the lat information of the sites (2nd column) and
the lon information of the sites (3rd column), as given in the below
example?
Thanks a lot for your help!
Christian
my dataframe:
site lat lon spec1 spec2 spec3 spec4
site1 10 11 1 0 1 0
site2 20 21 1 1 1 0
site3 30 31 0 1 1 1
my desired new dataframe:
species lat lon
spec1 10 11
spec1 20 21
spec2 20 21
spec2 30 31
spec3 10 11
spec3 20 21
spec3 30 31
spec4 30 31
--
Christian Hof, PhD student
Center for Macroecology & Evolution
University...
2012 Jan 24
2
reshape dataframe to array (pivot table)
Hello,
I would like to reshape a dataframe into an array. This is kind a similar task as Excel performs with a Pivot table. To illustrate it:
LOC <- factor(c(1,2,2,3,1,1))
SPEC1 <- c(0,0,23,0,12,11)
SPEC2 <- c(1,2,0,0,0,4)
df <- data.frame(LOC,SPEC1,SPEC2) # original dataframe
a <- array(NA,dim=c(length(levels(LOC)),1,2),dimnames=list(levels(LOC),"LOC",c("SPEC1","SPEC2"))) #new array set up, how it should look like
The final array is splitted by the SPEC (fo...
2004 Dec 18
4
variables - data-structure
dear R-friends,
i`ve got a large dataset of vegetation-samples with about 500
variables(=species) in the following format:
1 spec1
1 spec23
1 spec54
1 spec63
2 spec1
2 spec2
2 spec253
2 spec300
2 spec423
3 spec20
3 spec88
3 spec121
3 spec200
3 spec450
.
.
this means: sample 1 (grassland) with the species (=spec) 1, 23, 54, 63
is it possible to get a following data-structure for further analysis?
1 2 3 ......
spec1 1 1 0
spec2...
2006 Sep 20
3
committing multiple speculations in a single probe
...s an
unexpected restriction: the compiler will not permit different
speculations to be committed in the same instance of a probe identifier.
For instance, consider the following useless D script:
#!/usr/sbin/dtrace -s
#pragma D option nspec=2
BEGIN {
spec1 = speculation();
spec2 = speculation();
}
END {
commit(spec1);
commit(spec2);
}
# ./spec.d
dtrace: failed to compile script ./spec.d: line 12: commit( ) may
not follow commit( )
However, if the script is changed to:
#!/usr/sbin/dtrace -s
#pragma D option nspec=2
BEGIN {
spec1 =...
2006 Jul 19
2
conditional plot
Hi,
Can anyone pls help me in plotting the following data?
The data-set contains company name, specification-1, specification-2.
The graph would basically plot company name with specification-1
on x-axis, & specification-2 on y-axis.
Simply put - company name should get classified into one of the
four quardrants created by specification 1 & specification2.
Thanks.
2009 Jul 08
2
Randomizing a dataframe
Hi R-helpers,
I have a dataframe (called data) with trees in rows (n=100) and insect
species (n=10) in columns. My tree IDs are in a column called TREE and each
species has a column labeled SPEC1, SPEC2, SPEC3, etc...
I wish to randomize the values in my dataframe such that row and column
totals are held constant, i.e. in my randomized data each tree will have the
same number of individual insects as in the real data (constant row totals)
and each species will have the same number of individuals...
2006 Feb 25
2
Adding header lines to a dataframe that is exported using write.csv
...s in the dataframe
Y, species,,,, #where Y=number of columns in the dataframe
,Q,Q,Q,Q,Q #where the number of Qs=the number of columns in the dataframe
Those 3 .csv header lines would be followed by dataframe, which
consists of one row containing column headers and X "data" rows:
,spec1,spec2,spec3,sp3c4,spec5 #these are the dataframe's column headers
plot1,15.84,0,0,792,7 #this is an example "data" row
In case the above is unclear, I have also attached a small .csv as an
example of what the output should look like.
Thank you. Mark
2013 Feb 11
1
Quick start configuration sample for "chan_dahdi.conf"
I am really a beginner of PRI ISDN board, I am wondering if there is a "quick start" chan_dahdi.conf configuration I could use.
I tried to install two "FreePBX" boxes follow the instructions from "http://www.cadvision.com/blanchas/Asterisk/DahdiT1trunk.html" connected them between PRIs, It worked. And now if I refer the FreePBX "chan_dahdi.conf" it looks
2007 Feb 25
1
nested design in lme, need help with specifying model
...~1 | Species
(Intercept)
StdDev: 2.937479
Formula: ~1 | Replicate %in% Species
(Intercept) Residual
StdDev: 4.973931 4.266302
Fixed effects: Max_speed ~ Species
Value Std.Error DF t-value p-value
(Intercept) 23.792040 4.798143 39 4.958593 0
Spec2 -7.121766 6.747930 0 -1.055400 NaN
Spec3 -9.779830 6.725391 0 -1.454165 NaN
So I get variance within species and within replicates, but what the hell are these zero DF's, leading to zero p's and how should I interpret them?
Another model I tried was:
mod2<-lme(Es...
2006 Apr 12
1
powerd not behaving with an Asus A8V-MX and Athlon 64 X2 3800+
...ircheck: 0
debug.nosleepwithlocks: 0
debug.mpsafevm: 1
debug.psm.loglevel: 0
debug.psm.hz: 20
debug.psm.errsecs: 2
debug.psm.errusecs: 0
debug.psm.secs: 0
debug.psm.usecs: 500000
debug.psm.pkterrthresh: 2
debug.fdc.fifo: 8
debug.fdc.debugflags: 0
debug.fdc.retries: 10
debug.fdc.spec1: 175
debug.fdc.spec2: 16
debug.fdc.settle: 0
debug.PMAP1changedcpu: 1
debug.PMAP1changed: 1622
debug.PMAP1unchanged: 162299
debug.acpi.do_powerstate: 1
debug.acpi.acpi_ca_version: 0x20041119
debug.acpi.semaphore_debug: 0
hw.machine: i386
hw.model: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
hw.ncpu: 2
hw.byteorder:...
2009 Jul 09
2
How to Populate List
...D:
<e40d78ce0907080854l243f9fd9h59e5accf2aeb47b6@mail.gmail..com>
Content-Type: text/plain
Hi R-helpers,
I have a dataframe (called data) with trees in rows (n=100) and insect
species (n=10) in columns. My tree IDs are in a column called TREE and each
species has a column labeled SPEC1, SPEC2, SPEC3, etc...
I wish to randomize the values in my dataframe such that row and column
totals are held constant, i.e. in my randomized data each tree will have the
same number of individual insects as in the real data (constant row totals)
and each species will have the same number of individuals...