similar to: dividing vectors into bins with equal widths

Displaying 20 results from an estimated 3000 matches similar to: "dividing vectors into bins with equal widths"

2003 Aug 13
6
5.1-R-p2 crashes on SMP with AMI RAID and Intel 1000/Pro
Dear Sirs. It seems to me a never ending story. We run a box with a TYAN Thunder 2500 Dual SMP mainboard, 2GB ECC Tyan certified memory, AMI Enterprise 1600 RAID adapter and additional Intel 1000/Pro server type (64 bit) GBit LAN NIC. With FreeBSD 4.8 this was stable, but to achive this state was really hard! It is a story similar to that what happend when we changed towards FreeBSD
2004 Sep 10
2
Re: Bug#196556: flac: FLAC__STREAM_ENCODER_NOT_STREAMABLE
On Sun, Jun 08, 2003 at 02:06:18AM +0200, Paul Seelig wrote: > This is what i get when trying to encode a WAV file: > > ------------- snip ----------------- > [pseelig]/tmp > flac -o YouGotMail.flac YouGotMail.wav > > flac 1.1.0, Copyright (C) 2000,2001,2002,2003 Josh Coalson > flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you > are welcome to
2010 Oct 15
2
feed cut() output into goodness-of-fit tests
Hello, My question is assuming I have cut()'ed my sample and look at the table() of it, how can I compute probabilities for the bins? Do I have to parse table's names() to fetch bin endpoints to pass them to p[distr-name] functions? i really don't want to input arguments to PDF functions by hand (nor copy-and-paste way). > x.fr <- table(cut(x,10)) > x.fr (0.0617,0.549]
1999 Jun 15
7
quotas: documentation? Properties?
System: samba 2.0.4b on Solaris 2.x Starting point: PC's "Properties" window on a share of home directories; diskspace Used/Free "pie-chart" and figures. A colleague asked me yesterday whether this properties window could display the diskspace information, using the user's UNIX quota rather than the physical space on the disk. Our environment has potentially 14,000
2011 Mar 11
2
Using missing() in a S4 method with extra arguments
Hi all, I have a function which makes use of missing() to determine which arguments are provided in the call - basically, there are two sets of arguments that map to different strategies the function uses to fulfill its task. After conversion to an S4 generic I've run into the problem that if a method uses extra arguments that are not in the signature of the generic, usage of missing()
2012 Jun 28
2
Aggregate weights for a unique set of rows
Hi, all together. I have - a maybe trivial - problem with aggregating a list of weights. Here is the problem: - At first I have set of nodes (X/Y-coordinates) and associated weights, where the set of nodes is typically not unique - I want to get a set of unique nodes and the sum of associated weights I am grateful for any help See for example: # weights: w <- c(1, 1, 1, 1, 1) #
2011 Feb 21
1
Problem with documentation of user-defined operator (S4 method)
Dear list members, I have defined a binary operator %append% with methods for some S4 classes. In my documentation file, I want to list the methods explicitly by using e.g.: \S4method{\%append\%}{RecLinkData,RecLinkData}(x, y) In the HTML documentation this comes out right as ## S4 method for signature 'RecLinkResult,RecLinkResult' x %append% y , but R CMD check
2010 Nov 15
1
Package with multiple shared libraries
Dear R-devel members, I would like to compile a package with two seperate shared libraries. For example, in a package 'foo', a file 'bar.so' built from a distinct set of source files should be installed in addition to the default 'foo.so' (or .dll on windows). Does anyone know about a way to achieve this without having a custom Makefile, e.g. via 'Makevars'?
2012 Dec 14
1
Define a custom-built loss function and combine it with nls()
Dear R helpers, For an allometric analysis (allometric equation y = a*x^b) I would like to apply a non-linear regression instead of using log-log transformations of the measured parameters x and y and a Model II linear regression. Since both of the variables x and y are random, I would like to apply a Model II non-linear analog of either Reduced Major Axis or Major Axis Regression. The
2010 Dec 07
3
How to find out if a data frame has automatic row names?
Hi all, I just stumbled across the difference between explicit and 'automatic' row names for data frames. Is there a quick way to find out if a data frame has automatic row names or not? Of course I know this for data frames that I create myself, but what if a function needs to extract this information for an argument? The following example shows that this property is not easily
2011 May 03
1
[R] Sweave stops when opening X11 device fails
Hi all, I am posting this again because I got no reply on r-help. Maybe the devel-list is the right place for this kind of question. I've run into the following problem with Sweave: I frequently run Sweave from a xterm console within an X session owned by a different user, i.e. my colleague is logged in on this computer and I do "su" with my username and start R and Sweave
2003 Apr 02
1
normalized frequency histogram
Hi folks I'm trying to plot a normalized frequency histogram of some data. After checking the docs, it seems there is no built in feature for this. from the definition for normalized frequency, I need to divide the relative frequency by the size of the intervals being used. So I could divide the series by this interval length, and then plot the relative frequency. The problem is
2010 Nov 19
1
Color Alaska in USA map
Hello: I have a problem when I tried to color the USA map with different colors. The following is my data (I only used the second column of data): alaska, 1, 2 Hawaii, 0, 0 USA, 5, 5 And here is my code: library("latticeExtra") library("mapproj") state<-read.table("C:\\usaclass.txt",sep=",") state
2007 Dec 27
1
encoding question again
Hi, R Devils, I'm running the actual R version in JGR (version 1.5-8 ). Sys.getlocale(category = "LC_ALL") yields [1] "LC_COLLATE=German_Germany.1252;LC_CTYPE=German_Germany.1252;LC_MONETARY=German_Germany.1252;LC_NUMERIC=C;LC_TIME=German_Germany.1252" I want to write some HTML-Code enhanced by statistical results and labels encoded in Latin-1, which I pass to a function.
2011 Jul 13
1
How to remove last 3 letters
Hello to everybody I have vector of drug dosage in string format 1.5 mg , 50 mg , 100 mg , 0.5 mg ... The task is to remove last free symbols: ' mg' Any suggestions are highly appreciated
2011 Mar 15
2
Feature request: txtProgressBar with ability to write to arbitrary stream
Hi all, I use txtProgressBar to monitor progress of large computations. What I miss is the ability to redirect the progress bar to a stream other than stdout, specifically to the message stream. This would be useful for running Sweave scripts: When redirected to stderr, the bar could be visible even though console output is diverted to the output file (and there would be no cluttering of the
2008 Jul 29
3
table questions
Hi again! Suppose I have the following: > xy <- round(rexp(20),1) > xy [1] 0.1 3.4 1.6 0.4 1.0 1.4 0.2 0.3 1.6 0.2 0.0 0.1 0.1 1.0 2.0 0.9 2.5 0.1 1.5 0.4 > table(xy) xy 0 0.1 0.2 0.3 0.4 0.9 1 1.4 1.5 1.6 2 2.5 3.4 1 4 2 1 2 1 2 1 1 2 1 1 1 > Is there a way to set things up to have 0 - 0.4 0.5 - 0.9 etc. please? I know there is the cut
2011 Mar 31
1
Assign Names of columns in data.frame dinamically
Hello List. I have many files of ECG, each one with 7 column and I need only the second column and the name of each ECG. I am doing this but althought I have various days trying this i haven't gotten, so I ask help with this, if somebody cans help me I'll be so thankfully. --------------------------------------------------------------------------------------------------------
2011 Apr 19
1
Where did my packages go ?
Running linux 10.04 ubuntu. Looks like Ubuntu automatically updated to version 2.13. I was running version 2.12 until today. But now I'm getting error messages when I use the require or library command and one of the packages I've downloaded in the past. For example: > require(quantmod) Loading required package: quantmod Warning message: In library(package, lib.loc = lib.loc,
2011 Dec 02
2
help in dbWriteTable
hi I need some help in dbWriteTable. I'm not able to insert the rows in the table if the column order are not same in the database and in the dataframe which i'm inserting. Also facing issue if the table is already created externally and inserting it thru dbWrite. is there some way that we can sepecify the rownames in the dbwrite..or any method which will solve my problem -- View