similar to: extract a row

Displaying 20 results from an estimated 2000 matches similar to: "extract a row"

2006 Jul 11
3
file.choose but for folder/directory?
Hello there, This question is relative to WindowsXP, using R 2.2.1: I am looking for a function that allows a user to interactively choose a directory so I can use list.files to process all the files in that directory. I've looked at getwd, but this is not interactive. The functions file.choose and choose.files are the right idea, but these only permit selection of a file within a
2007 Feb 20
4
linux gplots install unhappy
Hello all, I use R on both windows and a "mainframe" linux installation (RedHat enterprise 3.0, which they tell me is soon to be upgraded to 4.0). On windows I installed the package gplots without trouble, and it works fine. When I attempted to do the same on the unix computer, the following error message was forthcoming: downloaded 216Kb * Installing *source* package
2006 Dec 19
2
fit sine?
Hello list, I am making scatterplots of data that vary sinusoidally over 24 hours. With a bit of previous help from this list, I now can get an x-axis with time tics from 00:00 on the left edge to 12:00 in the middle and 00:00 on the right edge, i.e., just 24 hours. Now I would like to fit a sin function to the plot. I've looked all over CRAN and the web in general, but have not found a
2006 Oct 11
1
samples to dataframes
Hello all, I'll bet this is not complicated, but I really did hunt for information on it, and tried some ideas without success. Running Windows XP and R 2.3.1 I am using the Sound package to read in .wav files, and this works fine. The R object produced is of class "sample". I want to use some of the functions in the package Seewave to do further analysis, but this package
2006 Nov 20
1
a little help needed plotting chron object
Hello there, Using R 2.4.0 on Solaris (Unix): I am trying to control the X axis range on a simple time of day plot. I made a test program (below) that gets file time stamp information from the files in the directory where R starts. The goal of the test program is to plot the time of day of file creation on an x axis that spans a user-specified range (like 12:00:00 to 15:00:00). If I allow
2004 Mar 19
5
loop through files in a dir
Hello I have data in many files in a directory, how can I loop through the files in a given dir in-order-to build a data.frame? thanks
2004 Jun 01
1
swapping with data.frame
Hi there, I have some data which are convenient to enter as lists. For example: t1<-list(fname="animal1",testname="hyla",dspkr="left",res1=39.7,res2=15.0) t2<-list(fname="animal1",testname="bufo",dspkr="left",res1=14.4,res2=56.1)
2004 Apr 26
2
standard library?
Hello all, I found a package I want to try listed at http://www.maths.lth.se/help/R/.R/doc/html/packages.html I am using R 1.9.0 on winXP. The package is called R.audio When I tried the example, it did not work and produced the error message: Error: Object "Sound" not found Normally I would assume that I have to download a package and I would go looking for it...
2006 May 19
1
trouble with plotrix package
Hello list, I wrote a simple program to plot data on polar axes, taking advantage of the plotrix package and its function radial.plot. The basic plot works fine, but I am having difficulties with the formatting. There are three problems, but I thought I would attack them one at a time. Here is the first: If my data set contains values with all vector lengths between 0 and 100 (and various
2000 Mar 08
1
Coercing character to factor
I just downloaded version 1.0.0 and several binary libraries (VR, rpart, norm, stataread) - WinNT version. I then converted a file from Stata 6.0 to R format by using the stataread library. The file converts perfectly and I was able to use the VR function lda on the dataframe without difficulty. I then tried to use the same dataframe with RPART. The model statement:
2001 Jul 12
2
rpart puzzle
I've been using the package rpart with R 1.3.0 for Windows to produce simple classification trees for some measurement data from paleontological specimens. Both the rpart documentation and the output confirm that the program produces splits on continuous data that leave "holes" in the data. It is probably of little practical importance, but is there a reason why the binary
2000 Jun 22
1
Summary: 'pausing' in R (fwd)
The question was: > I have this 'odd' problem; I need to let R pause, for a given time, before > starting next iteration in a loop. I'm using the following to do this > task, but feel a little bit guilty because I'm using as much CPU time as I > can get while pausing: > > while(keepGoing) { > t.end <- proc.time()[3] + 5 ## the time this loop should end
2007 Apr 25
3
Windows on xen
Is it real now to boot Windows XP Professional SP2 as guest OS on xen under Solaris Express? Community Edition (b62) or Developer Edition (b55)? Thanks. This message posted from opensolaris.org
2005 Aug 05
1
lda discriminant functions
Hi list, I'm looking about lda function. I'd like to know how calcolate the value of the discriminant functions for the original datas. I see that in the result object "lda" there is $scaling a matrix which transforms observations to discriminant functions, normalized so that within groups covariance matrix is spherical. I'd like to have the value of the discriminant
2012 Jan 26
2
extracting from data.frames for survival analysis
Hi, I have a data frame: > class(B27.vec) [1] "data.frame" > head(B27.vec) AGE Gend B27 AgeOn DD uveitis psoriasis IBD CD UC InI BASDAI BASFI Smok UV 1 57 1 1 19 38 2 1 1 1 1 1 5.40 8.08 NA 1 2 35 1 1 33 2 2 1 1 1 1 1 1.69 2.28 NA 1 3 49 2 1 40 9 1 1 1 1 1 1 8.30 9.40 NA
2003 Mar 15
3
round() seems inconsistent when rounding 5s
It may be my lack of unerstanding, but round() seems to me to give inconsistent results when rounding 5s as in the following examples? > round(1.45, 1) [1] 1.4 # OK > round(2.45, 1) [1] 2.5 # shouldn't this be 2.4? > round(1.05, 1) [1] 1.1 # 1.0 ? and signif(): > signif(2.445, 3) [1] 2.44 # OK > signif(3.445, 3) [1]
2010 Mar 18
2
aumentar tamaño de memoria a mas de 4Gb‏
Hola de nuevo, Esta es la información de mi sesion: R version 2.10.1 (2009-12-14) i386-pc-mingw32 locale: [1] LC_COLLATE=Spanish_Spain.1252 LC_CTYPE=Spanish_Spain.1252 [3] LC_MONETARY=Spanish_Spain.1252 LC_NUMERIC=C [5] LC_TIME=Spanish_Spain.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base Lo que yo prentendo es
2005 Nov 23
2
negative binomial overdispersion question
Hello, I'm a grad student in the Intelligent Transportation Systems lab at Portland State Univ. in Portland, OR, USA. I'm trying to learn the basics of R to run a negative binomial in the near future, and so I ran a test regression on roadway crash data obtained from "Statistical and Econometric Methods for Transportation Data Analysis" by Washington et al (p. 250). I ran the
2003 Jun 26
3
Compiling R for OS X 10.2.6 (Darwin 6.6)
Our lab just picked up a G4 Powerbook (1 GHz, 1GB RAM, OS X 10.2.6). None of us have any experience with Macs but for various reasons we need to have one around for development. In any case, we've installed fink, all the Apple Developer Tools and the Dec2002updater to gcc 3.3. We're now trying to compile R 1.7.1 without too much success. First we had to get g77, which turned out to
1999 Jul 02
2
Installation of Samba on SVR3 unix
Hi I have attempted to install Samba on an ageing Motorola running SVR3. Unfortunately it has a limitation of 14 characters for filenames, which means that when I untar the package, many of the files are not created. Does anyone have a solution to this problem, or am I stuck? Many thanks -- Pete ---------------------------------------------------------------- morph@morhp.dircon.co.uk