similar to: conditional plot

Displaying 20 results from an estimated 1000 matches similar to: "conditional plot"

2008 May 02
3
data transformation
Dear all, how can I, with R, transform a presence-absence (0/1) matrix of species 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
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
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 <-
2006 Sep 20
3
committing multiple speculations in a single probe
While using DTrace to track down a problem recently, we came across 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 {
2005 Sep 21
2
Help on optim
Dear R-help, I am new to optim function and need some help with optimization. Problem description: I am trying to optimize a weights vector such that it produce maximum value for a function maxVal. The optimization is subjected to constraint. The constraints are a) Min weight should be greater than or equal to Zero. b) Max weight should be less than or equal to 1 c) Sum of the
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
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
2006 Feb 25
2
Adding header lines to a dataframe that is exported using write.csv
I would like to export a dataframe to a .csv using: >write.csv(dataframe,"dataframe.csv") but I need to add four "header" lines to the csv that are not part of the dataframe (which itself has a line of column headers). The difficulty (for me, at least!) lies in the requirement that certain elements of the header (X, Y and the number of "Q"s - please see example
2005 May 30
3
Vector Manipulation
Dear All, For any given vector, I want to extract a sub-vector such that the new vector skips all zeros, if any , at the start of vector. Is it possible to achieve this w/o looping? E.G : > x = c(0,0,1,2,3,4,5,0,0,8,9) > y = somefunc(x); > y [1] 1 2 3 4 5 0 0 8 9 In the example above, I want to skip the two
2013 Feb 10
2
[LLVMdev] llvm-installation
hello sir, in llvm installation ./configure command worked properly but while giving make -j 4 command in ubuntu everything got build properly but at last it showed error as llvm[4]: Linking Debug+Asserts executable clang collect2: ld terminated with signal 9 [Killed] make[4]: *** [/home/manoj/Desktop/LLVM/ build/Debug+Asserts/bin/clang] Error 1 make[4]: Leaving directory
2008 Apr 21
1
Compile libtheora 1.0beta3 with VS2005
Hi all, I tried to compile the theora source with VS2005. But it asked for the ogg library. error message is as follow. **************************************************************************** Error 1 fatal error C1083: Cannot open include file: 'ogg/ogg.h': No such file or directory c:\Documents and Settings\Manoj\Desktop\libtheora-1.0beta3\include\theora\codec.h 64 Error
2009 May 04
8
CentOS DomU on Opensolaris Dom0 - virt-install fails with error in virDomainCreateLinux()
Hi, I am trying to install CentOS on an Opensolaris Dom0. virt-install fails with an error in virDomainCreateLinux(). Is this a known issue? Am I missing some step? manoj@mowgli:~$ uname -a SunOS mowgli 5.11 snv_101b i86pc i386 i86xpv Solaris manoj@mowgli:~$ pfexec virt-install What is the name of your virtual machine? centos How much RAM should be allocated (in megabytes)? 512 What would
2013 Feb 11
1
[LLVMdev] llvm-installation
hello sir, ./configure worked properly but while giving make -j 2 command in ubuntu everything got build properly but at last it showed error as llvm[4]: Linking Debug+Asserts executable clang collect2: ld terminated with signal 9 [Killed] make[4]: *** [/home/manoj/Desktop/LLVM/ build/Debug+Asserts/bin/clang] Error 1 make[4]: Leaving directory
2013 Feb 11
1
[LLVMdev] llvm
hello sir, ./configure worked properly but while giving make -j 2 command in ubuntu everything got build properly but at last it showed error as llvm[4]: Linking Debug+Asserts executable clang collect2: ld terminated with signal 9 [Killed] make[4]: *** [/home/manoj/Desktop/LLVM/build/Debug+Asserts/bin/clang] Error 1 make[4]: Leaving directory `/home/manoj/Desktop/LLVM/
2013 Feb 10
0
[LLVMdev] llvm-installation
You should use make -j with a number lower than 4, it looks like you ran out of memory when linking. On 10 February 2013 15:41, Manoj C <manoj.chinthala at gmail.com> wrote: > hello sir, > in llvm installation ./configure command worked properly but while > giving > make -j 4 command in ubuntu > > everything got build properly but at last it showed error as > >
2004 Aug 30
3
Multiple lapply get-around
I am faced with a situation wherein I have to use multiple lapply's. The pseudo-code could be approximated to something as below: For each X from i=1 to n For each Y based on j=1 to m For each F from 1 to f Do some calculation based on Fij Store Xi,Yj = Fij End For F End for Y End for X Is there anyway to optimize the processing logic further? I *guess* using the multiple lapply
2012 Jan 20
8
The Recycled PIDs Fix
** Low Priority ** Hi Volker, This is regarding your fix on recycled PIDs. I am an NCP developer from Novell and we use libsmbsharemodes library from Samba for Cross Protocols Locks between NCP, Samba and others. I have few queries regarding your fix. In your fix, you have added a new field called 'unique_id' in the server_id structure and we need to pass this in our call to samba
2000 Jul 12
1
plot.times error -- missing or illegal tck parameter (PR#601)
There seems no default setting for tck, causing problems for plot.times() > library(chron) > dts <- dates(c("02/27/92", "02/27/92", "01/14/92", + "02/28/92", "02/01/92")) > y<-chron(dts,out.format=c("dmy","h:m:s")) > y [1] 270292 270292 140192 280292 010292 > plot(y,1:5) Error in axis(n, at =
2009 Dec 11
3
`mgp[1:3]' are of differing sign (PR#14130)
Full_Name: Cornell Gonschior Version: 2.10.0 OS: Linux Submission from: (NULL) (212.201.28.40) Hi, in the introduction to R, you can find the following sentence in the par() chapter: "Use tck=0.01 and mgp=c(1,-1.5,0) for internal tick marks." I thought that's nice, because I wanted to have tick marks and tick labels inside and the axis title outside. But: > plot(z, las=1,
2004 Oct 01
3
Can grid lines color in a plot be specified?
R-help Is there any way to specify the color of grid lines in a simple plot? par(color.tick.marks=c("grey")) plot(rnorm(10),tck=1) Thank you