similar to: Help load a package into R

Displaying 20 results from an estimated 1000 matches similar to: "Help load a package into R"

2011 Apr 27
2
ROCR for combination of markers
Dear list   I have 5 markers that can be used to detect an infection in combination. Could you please advise me how to use functions in ROCR/ other package to produce the ROC curve for a combination of markers?   I have used the following to get ROC statistics for each marker. pred <- prediction(y$marker1, y$infectn) perf <-performance(pred,"tpr","fpr")
2011 Mar 24
3
Longitudinal categorical response data
Dear List,   I have some longitudinal data, each patient was followed at times 0, 12, 16, 24 weeks and measure severity of a illness (0-worse, 1-same, 2-better). So, longitudinal response is categorical.  I was wondering whether lmer in R can fit a model for this type of data. If so, how we code? Or any other function in R that can fit this type of longitudinal data? Any suggestion would be
2009 Jul 23
1
ROCR - confidence interval for Sens and Spec
Dear List,   I am new to ROC analysis and the package ROCR. I want to compute the confidence intervals of sensitivity and specificity for a given cutoff value. I have used the following to calculate sensitivity and specificity:   data(ROCR.simple) pred <- prediction(ROCR.simple$predictions, ROCR.simple$labels)   se.sp <- function (cutoff, performance) {     sens <-
2010 Dec 16
1
xyplot
Hi   I am using following code to produce a xyplot for some longitudinal data. There are 2 panels. It produced all longitudinal trajectories with mean profile. But since the dataset it very large plot looks very messy. I want to show, say 10 randomly selected individual longitudinal trajectories together with mean profile for entire dataset. Could any help me to alter the following code to do
2008 Jul 01
2
Are centre coordinates or upper left corners used of x, y for SpatialPixels?
Dear all, I'm working with satellite images in R and plotting them via the code below. I was wondering whether coordinates (spatial["x"], spatial["y"]) are used as centre coordinates of the pixels in the GRID? In this script; spatial["x"] & spatial["y"] are the centre coordinates of the satellite image pixels. I'm asking this because some
2008 Nov 21
2
Windows version of package "Ratings"?
Hello, Does anyone know whether a Windows version of the Ratings package will be available? Thank you, Paul Prew CONFIDENTIALITY NOTICE: \ This e-mail communication an...{{dropped:11}}
2008 Sep 18
2
graphing netCDF files
Hello I'm working with a large hydrological data set stored in a netCDF format. The file stores x and y coordinates in the UTM projected coordinate system, yet when I use image to graphically display the z variable, the image is distorted in the sense that it does not plot the map in the correct spatial organization. I'm wondering if I need to define the projection of the netCDF file
2008 Feb 27
2
Sweave produces gibberish instead of apostrophe in pdf
Dear All, I try to use Sweave to make a document. But when I use the Sweave() command on it and build a pdf with pdflatex (3.141592-1.40.3) my apostrophes are replaced by some gibberish (an 'a' with a hat on it, a capital A with a arc pointing upwards on it and a capital Y with two points on it). If I manually replace the apostrophes using the keyboard, I get a different looking
2008 Apr 17
1
spatialpixelsdataframe
I have a spatialpixelsdataframe containing bathymetry data. Is it possible to save this as something similar to the meuse.grid so it can be loaded without having to run the spatial interpolation each time the script is called? I don't see a straightforward method in the sp documentation.
2007 Mar 18
2
any simple way to put comment with multiple lines
Dear Lister, I understand I can put '#' to put comment line by line. But is there a way to put comment with multiple lines without having to put '#' on the every line? Thanks.
2007 Sep 02
1
how to sub-sample a variable on another file coordinates
Hello 'R' Users, I have a monthly mean CO2 necdf data file defined on 1x1 lat by lon coordinate. I want to sub-sample this variable CO2 on the coordinates of another ASCII data file. The coordinates of another ASCII data file are as: -24.01 152.06 -18.58 150.19 -13.46 148.35 -8.29 147.03 -3.14 146.19 1.53 145.59 7.08 145.33 12.25 145.02 17.46 144.31 22.44 142.35 27.53 141.26 33.04
2007 Sep 07
2
Running a PERL script from R
Is there a way to run a simple perl script from R? Kenneth B. Pierce Jr. Research Ecologist Landscape Ecology, Modeling, Mapping and Analysis Team PNW Research Station - USDA-FS 3200 SW Jefferson Way, Corvallis, OR 97331 ken.pierce@oregonstate.edu 541 750-7393 http://www.fsl.orst.edu/lemma/gnnfire http://www.fsl.orst.edu/R_users/index.php [[alternative HTML version deleted]]
2008 Feb 07
3
Empty data frame
Hi Sorry for banal question How to create empty data frame with for example 30 variables without typying: data.frame(x=1,y=1....) Jarek
2008 Mar 06
2
Principle component analysis function
Dear All, In a package, I want to use PCA function. The structure I used follow this page: http://www.statmethods.net/advstats/factor.html. fit<-principle(mydata, nfactors=9, rotation=TRUE) or: result<-PCA(mydata) But I don't known why R language in my computer noticed: "not found principle", "not found PCA". I download and installed
2008 Jun 18
1
Histogram inset into another histogram
Dear R users and helpers, I'm trying to find an example of a histogram plot as an inset (upper right or left corner) of another histogram. Anyone has an example of that? Thanks for your help, V?ctor. -- ----------------------------------------------------------------------- V?ctor Homar Santaner Grup de Meteorologia Edif. Mateu Orfila Tel: +34 971 17 1376
2008 Dec 13
1
Rpad graphics
I'm not sure this is the appropriate forum--please let me know if I should post somewhere else. I have Rpad version 1.3.0 set up on my webserver. It works, except that graphics are not displayed. They are created (i.e., when I run the example I see that graphics files are created in Rpad/server/xxxxxxxxx) but they don't appear on the web page. Everything else seems to be working. Any help
2009 Jan 27
2
Memory issue?
I have a script that sometimes produces the following error: Error in assign(".target", method at target, envir = envir) : formal argument "envir" matched by multiple actual arguments Do you think this is a memory issue? I don't know what else it could be as it doesn't always occur even if the script is run with exactly the same data. Does rm() actually free up
2009 Jan 30
2
Regression
Hello, I have problem I have a, and b in regression then I can't plot x,y with (and) a, b lines can you help me ? thx [[alternative HTML version deleted]]
2009 Feb 02
1
importing data from a disc or HDD [SEC=UNCLASSIFIED]
I hope this is not a stupid question, but I am having difficulty importing data from sources like CDs, HDD, or flashcards. Can anyone help ? Joe [[alternative HTML version deleted]]
2008 Oct 21
3
R command line
Hi! Is there a Gui for R with improvements in the command line? I'm not looking for buttons, menus and etc, but (more) colored syntax, auto-complete commands and etc? Best regards, Raphael Saldanha saldanha.plangeo@gmail.com [[alternative HTML version deleted]]