similar to: A categorized list of R functions

Displaying 20 results from an estimated 110 matches similar to: "A categorized list of R functions"

2012 Nov 04
1
what is the function naming convention?
Dear R people, In typing names of functions (built in or from a package) I often guess wrong, and have to look the name up. In other words, I don't understand the logic in naming functions (if there is any): - most names are plain, lower case: cos, plot, sapply, t, toupper, unserialize, (etc) - some are capitalized: Filter, Machine, Map, NCOL, RNGversion, T (etc) -
2011 Aug 10
2
join columns
Dear R-help, I wonder if you could give me some suggestions in how to do a union join of two data frames as follow: -> union join the common column, and insert a 0 if one is missing. I made a function to perform the following, and I know it may not that quite welly written, but it works. Any suggestions are welcome, many thanks. Anthony > q1 =
2013 Apr 04
6
categorized complete list of R commands?
every time I read the R release notes for the next release, I see many functions that I had forgotten about and many functions that I never knew existed to begin with. (who knew there were bibtex facilities in R? obviously, everyone except me.) I wonder whether there is a complete list of all R commands (incl the standard packages) somewhere, preferably each with its one-liner AND
2006 Dec 08
4
Etch: Xen does not want guests: Error: (22, 'Invalid argument')
Hi, I want to use Xen on a current Testing using the amd64 architecture. I want to use the i386 architecture for the laster Xen guests. The hardware is a Intel Xeon 5130 (Woodcrest) with the Vanderpool support. Two harddisk are used as a Linux software raid 1. Installing the hypervisor and rebooting worked like a charm since the bootmenu of grub has also been updates:) The hypervisor is
2011 Sep 20
0
Problems using predict from GAM model averaging (MuMIn)
I am struggling to get GAM model predictions from the top models calculated using model.avg in the package "MuMIn". My model looks something like the following: gamp <- gam(log10(y)~s(x1,bs="tp",k=3)+s(x2,bs="tp",k=3)+ s(x3,bs="tp",k=3)+s(x4,bs="tp",k=3)+s(x5,bs="tp",k=3)+ s(x6,bs="tp",k=3)+x7,data=dat,
2012 May 03
1
Proposal: model.data
Greetings: I'm still working on functions to make it easier for students to interpret regression predictions. I am working out a scheme to more easily create "newdata" objects (for use in predict functions). This has been done before in packages like Zelig, Effects, rms, and others. Nothing is "exactly right," though. Stata users keep flashing their "predicted
2004 Nov 18
1
Method dispatch S3/S4 through optimize()
I have been running into difficulties with dispatching on an S4 class defined in the SparseM package, when the method calls are inside a function passed as the f= argument to optimize() in functions in the spdep package. The S4 methods are typically defined as: setMethod("det","matrix.csr", function(x, ...) det(chol(x))^2) that is within setMethod() rather than by name before
2018 Feb 15
3
Identify does sort the locations
Hi, Using identify function, I think I should get the index of the selected points in the order I clicked them. This is what I read in the help. But I feel they are ordered. Please let me know what I missed. In the following example, I clicked on the points labelled 7, 5 and 1, but I get 1, 5, 7 as output. > set.seed(0); x = rnorm(10); y = rnorm(10); plot(x,y); text(x, y, > seq(x));
2012 Aug 02
4
Subseting
Hi everyone I have banking data set in long format with 4 columns.One of these columns is bank name which consist of 49 banks and I want the data for only 40 banks out of these 49 so can anyone help me on how to get this 40 banks data My data looks like Year Name totalliabilties assets 1990 a 90 10 1991 a 89 48 1992 a 87
2007 Apr 05
2
creating a data frame from a list
Dear all, A few months ago, I asked for your help on the following problem: I have a list with three (named) numeric vectors: > lst = list(a=c(A=1,B=8) , b=c(A=2,B=3,C=0), c=c(B=2,D=0) ) > lst $a A B 1 8 $b A B C 2 3 0 $c B D 2 0 Now, I'd love to use this list to create the following data frame: > dtf = data.frame(a=c(A=1,B=8,C=NA,D=NA), +
2013 Feb 07
4
low pass filter analysis in R
Hello R users, I am trying to use R to do the low pass filter analysis for the tidal data. I am a novice in R and so far been doing only simple stuffs on R. I found a package called signal but couldn't find the proper tutorial for the low pass filter. Could anyone point me to the proper tutorial or starting point on how to do low pass filter analysis in R ? Thank you so much. Janesh
2012 Sep 26
3
Reading multiple files
Hi, I have 35 data files for reading. I would like get a program for performing reading of 35 files at once. All are of the type: Dados1.raw, Dados2.raw and so on. If the files have the same number of columns, I can read with the following commands: rm(list=ls()) filenames = list.files(path="~/Silvano/Arq", pattern="Dados+.*raw") names = substr(filenames, 1, 7) for(i in
2011 Nov 18
3
tip: large plots
Hi all, I'm working with a bunch of large graphs, and stumbled across something useful. Probably many of you know this, but I didn't and so others might benefit. Using pch="." speeds up plotting considerably over using symbols. > x <- runif(1000000) > y <- runif(1000000) > system.time(plot(x, y, pch=".")) user system elapsed 1.042 0.030 1.077
2002 Dec 05
2
crimson editor
Hello, Sorry about the last email, I just found the shortcutkey for sending, by mistake :-( OK. I am a windows user and I wanted to instal emacs. However, went to speak with the information staf on the institut and they told me that that is a bit problematic sometimes, and that there is a free soft that could do a very similar job which is crimson... This is like a note pad, but highlights the
2013 Apr 04
2
custom startup/welcome message
hi everybody I wonder if there is a simple way, but not simple would be ok too, to customize info/welcome page at session start time? what I'd like to do is to put together simple short howto / dos & don'ts page for users, I'm thinking it would be great if it was possible many thanks [[alternative HTML version deleted]]
2013 Sep 04
1
"Empty" DNS entry, no A record, can't delete or update
Hi, I am running Samba 4.1.0 with Bind 9.8.4 and I am struggling with an "empty" DNS entry. I used Microsofts DNS MMC to add an A record to one of my zones, later deleted this entry because I wanted to move the record to another zone. After I moved it backed the A record (and the PTR) was invisible in the MMC. nslookup still works for the IP and hostname from the PDC and other hosts
2013 Apr 19
3
Reading CSV file
I am trying to read a csv file using the code; contol <- read.csv("RBS.csv") This is the error message I got; Error in file(file, "r") : unable to open connection In addition: Warning message: In file(file, "r") : cannot open file 'RBS.csv', reason 'No such file or directory' Where was the mistake? -- OYEYEMI, Gafar Matanmi (Ph.D) Senior
2013 Aug 01
2
Managing a Samba4 AD DC using a Win7 workstation
Hello, I just installed Samba4 using the following doc : http://wiki.samba.org/index.php/Samba_AD_DC_HOWTO Everything works Ok. All tests are Ok. Now, I would like to manage it from a remote Windows7 Virtualbox workstation. For that, I followed the following doc : http://wiki.samba.org/index.php/Samba_AD_management_from_windows I installed the RSAT component but when trying to connect the
2012 Jan 17
2
How to loop on file names
Dear all, I need to do the same procedure on several files. But I don't know how to refer to the file name. Here is an example of what I am trying to do. List of files: file1(A,B,C, D1...Dn), file2(A,B,C,E1,...,En), file3(A,B,C,F1,...,Fn) Procedure I want to apply on each file: dft <- melt(df,id=c('A','B','C')) dft$X <- substr(dft$variable,1,3) dft$Y <-
2012 Dec 30
4
Starting with R
I have installed R on my machine. Can anyone now suggest to me the best book/e-book from where I can learn the R language most efficiently? Thanks in advance -- Siddhant Gupta III Year Department of Biotechnology IIT Roorkee India [[alternative HTML version deleted]]