Displaying 20 results from an estimated 900 matches similar to: "R and Memory"
2006 May 22
4
Sys.setlocale upsets windows graphics device (PR#8887)
Full_Name: Edward McNeil
Version: 2.3.0
OS: Widows XP
Submission from: (NULL) (203.170.234.5)
Type the following:
> Sys.setlocale("LC_ALL","C")
> hist(1:10)
CRASH
2008 Jan 10
1
write.dta (foreign package)
Hi,
I'd like to request that the 'write.dta' command also save the
"var.labels" attributes of the data frame.
'read.dta' can read them, but 'write.dta' doesn't write them back.
Thanks....
Edward McNeil
--
Epidemiology Unit
Faculty of Medicine
Prince of Songkla University
Hat Yai
THAILAND
(\_ _/)
(='.'=)
('')_('')
--
This
2012 Nov 02
2
Merge data frame with mispelling characters
Hello dear R-helpers,
I'm working with R-2.15.2 on Windows 7 OS. I'm stucked with a merge of two
data frames by characters.
In each data frame I got two different list of names, that is my main-key to
be merged.
To figure out what I'm saying, I build up a modified "?merge" example, with
errors by purpose:
# Data for authors:
authors <- data.frame(
surname =
2009 Jul 02
1
Quantitative Risk Management by McNeil
Dear Specialists in R,
May be somebody has experiment in using pakage for the book Quantitative
Risk Management by McNeil?
This package is writen in R.
I have run this package for fitting the data to Nornal Inverse Gaussian
distribution and fased with following problem.
> Return<-read.csv("data.csv")
> Transpose<-t(Return)
> fit.NH(Transpose, case="NIG",
2018 May 11
0
Bug in plot.lm function (stats package): positioning of labels for extreme points.
Hi,
====================
Reproducible example:
====================
data(Animals, package="MASS") # interesting dataset
# Run model
lm1 <- lm(log10(body)~log10(brain), data=Animals)
# Setup 2x2 graphics device
par(mfrow=c(2,2))
# Plot diagnostics, label the two most "extreme" points based on magnitude of residuals
plot(lm1, id.n=2)
==============================
2008 Dec 01
1
factanal question
Dear R users:
I'm wondering if it's possible to get the residual correlation matrix when using factanal.
Since factanal assumes that the errors are normally distributed and independent (provided the factor model fits the data) this would be useful. Of course you would need to submit the data to the function to get the residuals (not just their correlation matrix), but it should be possible
2003 May 14
2
Is there a simple method of changing text into 'Proper Ca se'
Yes and no. Given your response it appears that "Proper Case" is not a term
that everyone uses. In Excel there is a function "Proper" which in essence
changes "this line into something like this" into "This Line Into Something
Like This."
My look at casefold seesm to be that is is a wrapper of two functions to
change text into either Lower or Upper case.So
2007 May 21
2
Merge (PR#9699)
Full_Name: Edward McNeil
Version: 2.5.0
OS: Windows XP
Submission from: (NULL) (203.170.234.5)
This is a new bug introduced to R2.5.0.
Scenario: If one of the data frames to merge contains two variables that have
the same name, then the data in first variable (of the same name) is copied to
the second variable in the resulting merged data frame.
In R2.4.1, the second variable name is
2010 Jun 07
1
Source of chickwts data
I'm not sure if this is the right mailing list. My apologies if I'm
sending the question to the wrong mailing list.
(The r-packages list moderator suggested using the R-help list.)
My question is about the "chickwts" data in the datasets package.
According to help(chickwts), the source of the data is
?Anonymous (1948) Biometrika, 35, 214.
But this reference seems irrelevant.
2003 May 14
1
Is there a simple method of changing text into 'Proper Case'
I am probably just looking in the wrong place. I am sure there are a number
of ways to do this. If anyone could point me in the right direction it would
be very much appreciated.
Thanks
_________________________________________________
Tom Mulholland
Senior Policy Officer
WA Country Health Service
189 Royal St, East Perth, WA, 6004
Tel: (08) 9222 4062
e-mail:
2005 Mar 18
2
How to create a 'fit' plot
Dear List,
As someone who is in the process of trying to migrate
from Excel, I'd appreciate any help on this question:
I have a data set and want to fit, say, three
distributions to it. I would like to create a plot
that shows my data points against all three fitted
curves (estimated d.f.). Basically, I lookint to
creat a plot that looks like the one presented in the
attached paper (Figure
2008 Jun 12
1
About Mcneil Hanley test for a portion of AUC!
Dear all
I am trying to compare the performances of several methods using the AUC0.1
and
not the whole AUC. (meaning I wanted to compare to AUC's whose x axis only
goes to
0.1 not 1)
I came to know about the Mcneil Hanley test from Bernardo Rangel Tura
and I referred to the original paper for the calculation of "r" which is an
argument of the function
cROC. I can only find the
2005 Jan 11
1
Standard error for the area under a smoothed ROC curve?
Hello,
I am making some use of ROC curve analysis.
I find much help on the mailing list, and I have used the Area Under the
Curve (AUC) functions from the ROC function in the bioconductor project...
http://www.bioconductor.org/repository/release1.5/package/Source/
ROC_1.0.13.tar.gz
However, I read here...
http://www.medcalc.be/manual/mpage06-13b.php
"The 95% confidence interval for
2007 Dec 12
1
Adding a survival object to a data frame (PR#10510)
Full_Name: Edward McNeil
Version: 2.6.1
OS: Windows
Submission from: (NULL) (203.170.234.5)
I want to show students how the survival object looks like in R.
Reproducible example:
library(MASS)
data(Aids2)
attach(Aids2)
status <- status=="D"
stime <- death-diag
surv <- Surv(stime, status)
D <- data.frame(stime, status, surv)
head(D,20)
stime status x..i..
1 176 TRUE
2008 Apr 21
1
Analysis of Epidemiological Data Using R
Hi everyone,
I'm studying the manual name: Analysis of Epidemiological Data Using
R and Epicalc, maked by: Virasakdi Chongsuvivatwong and Edward McNeil.
And I can't find the data base that they use in some examples, this are
the names:
Chapter7.Rdata,Chapter8.Rdata,Chapter9.Rdata
Somebody can tell me how can I have this files?
Thk!
Jos?
O__ ---- Jos? Bustos M.
c/ /'_ ---
2019 Feb 21
1
Re: virsh confirmed edits do not persist
Thanks Ján!
>What were the exact changes you were trying to make?
I was following this guide:
https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF#Passing_keyboard/mouse_via_Evdev
Specifically, I was updating the domain tag to include `xmlns:qemu='
http://libvirt.org/schemas/domain/qemu/1.0'`
>both call virDomainDefineXMLFlags under the hood.
That is good to know,
2003 Jul 11
3
postscript/eps label clipping
The following code produces an eps file with the tops of each of the ylabs
clipped off.
par(mfrow=c(2,2))
plot(runif(10),
ylab="Function(Lengthy Expression)",xlab="Prediction")
plot(runif(10),
ylab=expression(Delta * Beta^2),xlab="Prediction")
plot(runif(10),
ylab="Function(Lengthy Expression)",xlab="Prediction")
2003 Jul 17
1
Recode from 2 variables
I am trying to create a new variable which uses the suburb names if HR
and HRRES are the same but which uses HRRES if they are different. Any
assistance would be appreciated as my brain has just packed up. I'm not
sure I can teach myself anymore new tricks this afternoon.
HR HRRES SUBURB
What I am trying to get
954 Wheatbelt
2003 Jul 03
4
Generating a vector for breaks in a histogram
Hi
I have two lots of numbers which I would like to histogram using the hist() function. For comparative reasons, I want them to be on the same scale, which I can use the xlim and ylim options to achieve.
However, having them on the same scale is meaningless unless they have the same "breaks". Consulting the documentation, there are 4 ways of defining the number of breaks, only one
2003 Nov 21
2
Who can provide me RWeb installation
Hi,
RWeb web site is down past couple days, I am insterested in this
project and want to try it for my projects. Deos anyone have this
installation and user guide? Thanks!
Best Regards,
WeiQiang Li