similar to: how to create normalized pdf plot?

Displaying 20 results from an estimated 500 matches similar to: "how to create normalized pdf plot?"

2005 Apr 16
2
String in data frame
hello, how can take the string in the data frame. right now i have a table that create as a data frame and stored in the file called "data.xls" and now i want to read data frame as a table in my another r program, i used the following command: the first column of the data frame is just one number called "num", but the second one a list of string, called "name". d
2010 Feb 02
2
finding files whose name does NOT contain a given character
Unluckily I dela with miRNA files whose name may contain the character "*". Because of the special meaning of "*" I have to remove it. I found out how to make list.files() extract only those file names which contain a "*" Namely: # list.files(pattern="\\*") Now I have to process all files whose name does NOT contain the character "*". I cannot
2008 Dec 16
2
Problem assigning "NA" as a level name in a list
I want to generate a list (called "dataList" below) where each of its levels is named. These names are assigned to nameList, which contains all possible permutations of size two taking letters from a larger alphabet, e.g., "aa",...,"Fd",..,"Z1",... One of these permutations is the character string "NA". It seems that when I try to name one
2015 Apr 22
2
semi-OT: t-bird mime type on .pdf attachment is wrong
I was sending my manager a copy of a form, and attached it (not inline), using -t-bird, and he complains it didn't want to open. Looking at the message source, t-bird had decided that the mime type was all/allfiles, though the name ended in .pdf. I've searched via the config editor, and I've been googling, and not finding anything. (I just *adore* the current google: I have
2007 May 12
1
Newbie's question
Hi guys, I've brand new to the R scene. I have hundreds of csv files that has field 1 ,YYYY/MM/DD as index How to generate a graph of distribution and calculate the standard deviation of field2 for all of the files in a directory? I'm wondering if R could do this. Thanks a lot. -- View this message in context: http://www.nabble.com/Newbie%27s-question-tf3730746.html#a10442845 Sent from
2011 Apr 21
1
problem subsetting of a reference class
I am trying to define subset operator for a reference class and hitting some problem i am unable to diagnose.To give an example, here is a toy class generator that is a wrapper around a list tmpGEN<-setRefClass("TMP", fields=list( namelist="list" )) tmpGEN$methods('add'=function(obj, name){ namelist[[name]]<<-obj })
2002 Jul 30
1
Ping is fine, cannot connect through Network Neighborhood
I am running Red Hat 7.3 and samba 2.2.3a I can see the samba server in network neighborhood however when I try to connect I receive the following error: \\Puddles is not accessible A network error has occurred. You might not have access to some network resources my smb.conf file is as follows: [global] workgroup = POND encrypt passwords = yes security = SHARE [homes] guest OK =
2001 Sep 28
5
smbclient error
Hi, I've installed Samba on AIX 4.3 machine named ibmf40, and the domain name is vercom. This is how the smb.conf file looks: [global] netbios name = ibmf40 workgroup = vercom server string = Samba Server security = user However I get an error when trying to run smbclient as follows: ibmf40 /usr/local/samba/bin # ./smbclient -L ibmf40 -N added interface ip=65.45.28.4
2008 Nov 24
4
Calculating sum of letter values
Hi all If I have a string, say "ABCDA", and I want to convert this to the sum of the letter values, e.g. A -> 1 B -> 2 etc, so "ABCDA" = 1+2+3+4+1 = 11 Is there an elegant way to do this? Trying something like which(LETTERS %in% unlist(strsplit("ABCDA", ""))) is not quite correct, as it does not count repeated characters. I guess what I need is
2007 Jul 31
1
[Bridge] brctl uses incorrect sysfs path
Hi, I noticed that brctl (or more accurately, libbridge) is using the wrong path when doing various lookups in sysfs: e.g. /sys/class/net/brXXX/stp_state when it should use /sys/class/net/brXXX/bridge/stp_state. This doesn't cause any problems on most systems as it falls back to the ioctl when the sysfs attempt fails; however the ioctl method is apparently deprecated. I believe the
2011 Jul 29
3
[PATCH 1/3] klibc: Add scandir() and alphasort() support.
Add support for scandir() and alphasort() as defined in POSIX.1-2008. Signed-off-by: Mike Waychison <mikew at google.com> --- usr/include/dirent.h | 7 +++++ usr/klibc/Kbuild | 2 + usr/klibc/scandir.c | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 84 insertions(+), 1 deletions(-) create mode 100644 usr/klibc/scandir.c diff --git
2017 Jun 13
2
reading data
Hi all, I am using R to extract data on a regular basis. However, sometimes using the same script and the same data I am getting different observation. The library I am using and how I am reading it is as follows. library(stringr) namelist <- file("Adress1.txt",encoding="ISO-8859-1") Name <- read.fwf(namelist, colClasses="character",
2005 Jan 10
2
doing many commands within R
Dear all, I'm new to this list, so let me greet everyone. My problem is that I have several thousand data files which I want to perform a lot of R commands on, which are found in a seperate .R script. Now, what I did was within the R prompt, I used to read in a list of the data files. e.g. namelist <- readLines("list_of_names",n=-1) for (i in 1:100) { k <-
2008 Apr 15
1
by inconsistently strips class - with fix
summary: The function 'by' inconsistently strips class from the data to which it is applied. quick reason: tapply strips class when simplify is set to TRUE (the default) due to the class stripping behaviour of unlist. quick answer: This can be fixed by invoking tapply with simplify=FALSE, or changing tapply to use do.call(c instead of unlist executable example:
1997 Dec 08
3
R-alpha: Bug in tapply in the Windows version of September
The function tapply is not working in the Windows version of R=20 (Version 0.50 Beta (Sept 29, 1997)) In tapply <- function (x, INDEX, FUN=3DNULL, simplify=3DTRUE, ...)=20 ... The part: if (simplify && all(unlist(lapply(ans, length)) =3D=3D 1)) { ans <- unlist(ans, recursive =3D FALSE) names(ans)<-namelist[[1]] return(ans) } should be replaced by if (simplify
2004 Apr 08
1
Why are Split and Tapply so slow with named vectors, why is a for loop faster than mapply
First, here's the problem I'm working on so you understand the context. I have a data frame of travel activity characteristics with 70,000+ records. These activities are identified by unique chain numbers. (Activities are part of trip chains.) There are 17,500 chains. I use the chain numbers as factors to split various data fields into lists of chain characteristics with each element of
2015 Apr 23
1
semi-OT: t-bird mime type on .pdf attachment is wrong
Tris Hoar wrote: > On 22/04/2015 19:25, m.roth at 5-cent.us wrote: >> I was sending my manager a copy of a form, and attached it (not inline), >> using -t-bird, and he complains it didn't want to open. Looking at the >> message source, t-bird had decided that the mime type was all/allfiles, >> though the name ended in .pdf. I've searched via the config editor,
2010 Apr 23
3
Playback all the sound files
Hello. There are so many sound files in /var/lib/asterisk/en. Is there an easy way to let me play back all of them one by one while I am watching CLI to see the current file name? Thanks for help. -- Jian Gao IT Technician SJ Geophysics Ltd. <http://www.sjgeophysics.com> jian.gao at sjgeophysics.com <mailto:jian.gao at sjgeophysics.com> Tel: (604)582-1100
1997 Aug 19
2
R-alpha: A few bugs in R-0.50-a3.
A few problems in R-0.50-a3 (which were also in R-0.49): 1) y <- c(10,11,12,13,14,NA,NA) n <- length(y) missed <- (1:n)[is.na(y)] notmissed <- (1:n)[!is.na(y)] blocks <- cut(missed,breaks=c(0,notmissed,n+1)) a <- function(v) { q <- range(v) c(q[1]-1,q[2]+1) } brackets <- tapply(missed,blocks,a) This codes gives the following in S: > brackets $"0+ thru 1":
2011 Aug 02
6
[PATCH v2 0/4] Support drop directories directly from kinit
This patchset applies to klibc mainline. This patchset introduces the ability to kinit to execute scripts or executable files present in in the initramfs before switching over to the root filesystem. It is implemented by first implementing scandir() and alphasort() as present in POSIX.1-2008 in klibc itself, and then using that as the basis for iterating and executing files via a run_scripts()