similar to: stack or dissolve matrix without double entries

Displaying 20 results from an estimated 900 matches similar to: "stack or dissolve matrix without double entries"

2011 Apr 21
2
combining matrices
Heja, I hope someone is still there to help me: How can I somehow merge/combine matrices to get such a result: Matrix A A B x1 1 0 x2 1 1 Matrix B C D x3 1 0 x4 0 1 Resulting Matrix? A B C D x1 1 0 0 0 x2 1 1 0 0 x3 0 0 1 0 x4 0 0 0 1 Does anyone see this probably obvious solution with R how to do this? Sorry if this question is silly...it's too hot here to think properly ;O)
2008 Oct 25
0
increase symbol size in expression - axis label of a plot
Heja, It took me a while to find a way of implementing normal text as subscripted text in a expression followed by another expression and more subscripted text :O) It looks now as this: ylab=expression(Delta^"+"~""[paste("my subscripted text")]~">"~Delta^"+"~""[paste("my subscripted text")]) I use several par commands
2005 Aug 22
1
vectors of different length in a matrix
HI! I?ve 3 vectors of different length (a,b,c) and want to arrange them in a matrix a,b,c as rows and the figures of these vectors in the columns (with that matrix i want to calculate a distance between thes vectors - vegan - vegdist - horn). Is there a possibilty to create such a matrix and to fill up the missing fields with NA?s automatically???? Thanx marten winter -- *Marten Winter*
2003 Feb 19
1
RODBC problems
Hello, I successfully used RODBC very frequently, but after having updatetd to R 6.0.2, the current RODBC-Version gives me some problems. After connecting to my Oracle-Database via odbcConnect("") (or the necessary information) I receive a much longer output than usual: RODB Connection 0 Details: case=nochange DRIVER={Oracle in OraHome90} ... with all the details. Previously,
2007 Jan 09
2
posthoc tests with ANCOVA
dear all, I want to perform a posthoc test for my ANCOVA: a1<-aov(seeds~treatment*length) With summary(glht(a1, linfct = mcp(treatment = "Tukey"))) R tells me: "covariate interactions found -- please choose appropriate contrast" How do I build these contrasts? Ideally, I would like to have the posthoc test for the ANCOVA including a block-effect
2013 Jun 12
4
certificate problem
When I try to connect to my new puppet master, I get an error because of a self-signed certificate: ---snip--- # puppet agent --test --noop Warning: Unable to fetch my node definition, but the agent run will continue: Warning: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed: [self signed certificate in certificate chain for /CN=Puppet CA:
2010 Nov 03
1
dll problem with C++ function
Dear fellow R-users, I have the problem of being unable to repeatedly use a C++-function within R unless by dyn.unloading/dyn.loading it after each .C call. The C++-code (too large to attach) compiles without problem using R CMD SHLIB. It loads (using dyn.load("myfun.so")) and executes (via .C(myfun, ...) ) properly. The function returns no object, only reads files from disk,
2008 Apr 23
2
Transport endpoint is not connected
Hi, I want to share a partition of an external disk between 3 machines. It is located on a Sun StoreTek 3510 and bound (via multipathing) to all 3 machines. One machine (say mach1) is the node I used to create the filesystem and setup /etc/ocfs2/cluster.conf. I copied the file to the other 2 machines. All use the same /etc/multipath.conf[1], too. All start /etc/init.d/ocfs2 at boot, all are
2012 Jul 20
1
Dissolve polygon
Hi, I am working with a SpatialPolygonsDataFrame of many islands. There are a lot of polygons (islands) composing my SpatialPolygonsDataFrame. I want to extract the elevation of each island. I need to separate the different polygons (like dissolve function in arcgis), to have the elevation of each island. Do you have any idea how can I do that ? I already read a lot of forum, and read the
2001 Nov 22
1
fac.design
Dear all, I am trying to find a R version of the S+ routine fac.design. In the help of the package conf.design fac.design is listed under "see also". Any clues as to where (which package) I can find fac.design? thanks Steve. Steven Higgins Department of Ecological Modelling UFZ - Centre for Environmental Research Leipzig-Halle Permoserstrasse 15 D-04318 Leipzig Germany Phone:
2005 Dec 09
1
O-ring statistic
Rainer M Krug writes: > Thorsten Wiegand used in his paper Wiegand T., and K. A. Moloney 2004. > Rings, circles and null-models for point pattern analysis in ecology. > Oikos 104: 209-229 a statistic he called O-Ring statistic which is > similar to Ripley's K, only that it uses rings instead of circles. > > http://www.oesa.ufz.de/towi/towi_programita.html#ring
2011 Nov 23
1
How to explain interaction variable in Linear regression?
Hello everyone, Recently, I faced a problem on explanatory of *Interaction variable* in Linear Regression, could anyone give me some help on how to explain that? the response variable Y is significantly correlated with *Interaction variable X* which is consisted of Continuous predictor A and Categorical predictor B. The Categorical predictor B has two factors B1 (value=1) and B2 (value=0). The
2018 Feb 12
2
[parallel] fixes load balancing of parLapplyLB
Dear R-Devel List, **TL;DR:** The function **parLapplyLB** of the parallel package has [reportedly][1] (see also attached RRD output) not been doing its job, i.e. not actually balancing the load. My colleague Dirk Sarpe and I found the cause of the problem and we also have a patch to fix it (attached). A similar fix has also been provided [here][2]. [1]:
2013 Aug 28
3
agent will not run
Hi, I wonder why the puppet agent on the server itself will not run: ---snip--- # puppet agent --test Error: Could not run Puppet configuration client: Puppet::Node does not respond to from_s; can not intern instances from text/plain Error: Could not run: can''t convert Puppet::Util::Log into Integer ---pins--- whereas the client on a test box tells me: ---snip--- # puppet agent --test
2003 Oct 02
3
Query: weighting cells in histogram
I have the 'breaks' for the histogram ('hist') but I want weight the cells instead of using actual observations. I thought that using freq=FALSE implied that the numbers in 'x' were weights but this turned out to be wrong. Any help and/or comment is very much appreciated. Regards, M?rten M?rten Bjellerup Doctoral Student in Economics School of Management and Economics
2011 Oct 04
0
Adding multiple gates/filters in densityplot
Hi R-Users, I posted this question a while ago on the bioconductor mailing list but got no answers. Maybe here is somebody who might know a solution: I failed at drawing multiple filters in a densityplot() using the FlowCore/FlowViz packages. I found a way to draw multiple filters in xyplot(), using the glpolygon method within the panel-function, but some similar attempts for densityplot
2013 Oct 11
6
puppet class if
Hello, I created puppet class and I want the file operation to be executed on all servers but not on server with hostname "''server1.domain.com". I tried this class, but it does not work. Is there any other way? Thanks class test { if $hostname != ''server1.domain.com'' { file { "/etc/ntp.conf": owner
2005 Dec 02
4
ftp:// error
Hello, from a server where neither a rsync daemon nor ssh is running I'm trying to backup the whole data with ftp. So my idea was to call rsync like this: rsync -v -a 'ftp://1.2.3.4/' my_folder But this gives me: ftp: unknown host ftp: unknown host ftp: Unknown host rsync: connection unexpectedly closed (0 bytes read so far) rsync error: error in rsync protocol data stream (code
2018 Feb 26
2
[parallel] fixes load balancing of parLapplyLB
Dear Christian and Henrik, thank you for spotting the problem and suggestions for a fix. We'll probably add a chunk.size argument to parLapplyLB and parLapply to follow OpenMP terminology, which has already been an inspiration for the present code (parLapply already implements static scheduling via internal function staticClusterApply, yet with a fixed chunk size; parLapplyLB already
2006 Mar 23
3
dovecot died
Hello, today our dovecot imap server died. The following message appeared in the logfile: dovecot: Mar 23 07:00:58 Error: pipe() failed: Too many open files We have one dovecot instance for pop3 and one for imap, so while the pop3-service was still available, the imap-service was not running any more. I've seen a lots of users keeping there imap-connections idle for hours, often more