search for: cunliffe

Displaying 16 results from an estimated 16 matches for "cunliffe".

2008 May 29
7
How do you exit a function in R?
For example, based on a certain condition, I may want to exit my code early: # Are there the same number of assets in "prices" and "positions"? if (nAssetPositions != nAssetPrices) { cat("Different number of assets! \n\n") <exit function> } I have searched, but not
2016 Sep 22
1
Centos doesn't load or work
I've tried Zorrin, Ubuntu and Centos. Zorrin and Ubuntu work fine, but Centos doesn't load, or run. I asked for advice, didn't get any and seem to have been added to all your Centos mailing lists. Please remove me from your mailing lists. Sincerely, Bob Cunliffe -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos-docs/attachments/20160922/37e8f505/attachment-0002.html>
2001 Aug 12
1
Creating a Model Matrix - keeping NAs
I am wanting to create a model matrix and keep the NAs. stratmat <- model.matrix(myformula,mydata) Is there any way to do this? model.matrix doesn't have na.action as a parameter. Elsewhere I have made use of na.keep <- function(x){x}. Many thanks, Rachel Cunliffe -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat...
2002 May 13
3
Histograms rotated, side-by-side
Hi there, I am wanting to create 8 side-by-side histograms which have been rotated 90 degrees clockwise from how they usually sit.. all with the same scales. Is someone able to help me out? Thanks so much, Rachel Cunliffe -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat...
2001 Feb 28
1
windows() options
...decimals in the width and height options. For example, typing: > windows(5,4,10) > windows(5.2,4,10) > windows(5.4,4.3,10) produces three equally sized windows. Is there a way to get around this and create more accurately sized windows without having to resize by hand? Thanks Rachel Cunliffe Department of Statistics University of Auckland -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body&quot...
2001 Aug 09
2
Pulling columns out of a data.frame
Hi there Probably a very simple solution to this problem. I have a character vector eg c("name1","name2","name3") and I want to pull out these columns from a data.frame, converting each of these columns into factors also. Many thanks Rachel -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2011 Jan 14
6
Plexus UPS on a QNAP NAS
Hi, Has anyone managed to get a Plexus UPS talking to their NAS. I've followed the excellent instructions here http://forum.qnap.com/viewtopic.php?f=182 <http://forum.qnap.com/viewtopic.php?f=182&t=35970&start=0> &t=35970&start=0 but I'm not there yet. When I manually start upsdrvctl without the UPS plugged in I get [~] # /usr/bin/upsdrvctl start Network UPS
2001 Aug 10
1
apply and factor
Hi again Why does this occur? > test <- apply(data,2,factor) # where data is a data.frame > is.factor(test[,1]) [1] FALSE Many thanks, Rachel -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the
2008 Jul 21
2
Output Nicely formatted tables from R
Hi there, I've spent a while searching for ways of outputting table data from R in presentable formats, such as colored backgrounds for column headings, bold fonts etc. It appears that this is not possible, but I would be interested to learn if in fact there was a way of achieving this. Many thanks! [[alternative HTML version deleted]]
2008 Jul 21
1
y-axis number format on plot, barplot etc.
I am trying to change the number format shown on the y-axis from scientific 5e05, to 500,000 etc. Does anyone know how to do this? Is there something I can add as an argument to barplot, or would it be through par? barplot(data$Value, names.arg = as.vector(data$Field), main=strTitle) [[alternative HTML version deleted]]
2008 Sep 05
1
Using R to generate reports
Hi all, I would like to generate nicely formatted reports on a daily basis. The reports would be a combination of charts and tables, generated in an environment such as R. Ideally, this would be an automated process. Does anyone know if this is feasible, and how I could achieve well formatted reports? One idea would be to have R scripts process the data/generate the charts and then use
2009 Mar 17
2
Difficulty Replacing a Row of a Data Frame
I have the following data frames, avGain and retGain. They have the same dimensions. The following line of code replaces row j of avGain as desired: avGain[j, ] <- mean( retGain[jStart:j, ] ) However, the following line does not work: avGain[j, ] <- ( avGain[j-1, ] * ( DAYS - 1 ) + retGain[j, ] ) / DAYS If I do the following, and test to see if a or b are data frames.
2016 Sep 12
1
Fix typo to CentosPackager page in HowTos section
Hi, I don't know what your email refers to. My problem is that Centos doesn't run when it has installed and so, having tried several times, I installed and tried Zorrin and then Ubuntu. Both these OS worked well and I'm now using Ubuntu. Is there any way to get Centos to run? I'd be interested. Thanks, Bob ________________________________ From: centos-docs-bounces at
2002 Sep 11
2
lattice package syntax error
I just tried downloading the lattice package from CRAN but got a syntax error when loading the library (see below). > {a <- CRAN.packages() + install.packages(select.list(a[,1],,TRUE), .lib.loc[1], available=a)} trying URL `http://cran.r-project.org/bin/windows/contrib/PACKAGES' Content type `text/plain; charset=iso-8859-1' length 7505 bytes opened URL downloaded 7505 bytes trying
2002 Aug 10
0
lme output
Hi, I am having difficulty understanding some lme output -- I haven't found too many examples to help explain to me how to interpret the coefficients and would appreciate any help. I am fitting a model: fit <- lme(y ~ pre + group + time + group:time, random=~1|subject, na.action=na.omit, data=mydata) ...for a dataset where there are two groups being followed over time. pre is
2009 Jan 26
2
R crashes when using the RODBC Package
Hi, I've written some code that fetches data from an Access Database (2003), processes the data, then saves the modified data back into a table in the Access database. It works if I only pass through the code once, but if I put a loop around the code so that I fetch data from a different source table, and then save it again to a different destination table, the code crashes. It is