On 08/03/14 10:22, Yuanzhi Li wrote:
Hello, everyone,
Do you have any idea to get a set of random points within a regular
pentagon? Thanks in advance!
You can easily do this using the spatstat package.
cheers,
Rolf Turner
__
R-help@r-project.org m
On Sat, Mar 8, 2014 at 11:14 PM, David Parkhurst wrote:
> The penultimate line in ?rm is "rm(list = ls())". I don't see anything that
> specific in ?save, and that's why I asked. Perhaps there's language in
> ?save that implies that to those more experienced in R than I am, but I'm
> not that ex
The penultimate line in ?rm is "rm(list = ls())". I don't see anything
that specific in ?save, and that's why I asked. Perhaps there's
language in ?save that implies that to those more experienced in R than
I am, but I'm not that experienced.
David
On 3/8/2014 10:07 PM, Ista Zahn wrote:
Hi
See Suraj Gupta's online article 'How R Searches and Finds Stuff' from
March 29, 2012:
http://obeautifulcode.com/R/How-R-Searches-And-Finds-Stuff/
It's a very useful write up on this topic.
/Henrik
On Sat, Mar 8, 2014 at 3:42 PM, Benjamin Tyner wrote:
>
>Duncan,
>Thank you for the in
Hi David,
Please keep the list copied, that will give someone else an
opportunity to respond to you as well (I've cc'd the list here).
On Sat, Mar 8, 2014 at 8:42 PM, IU wrote:
> Thank you---but can't you tell from what I wrote that I DID read ?save, and
> didn't see the answer to my question t
Hi David,
Did you actually read the help file for 'save'? The answer to your
fist question is there. The answer to your second question is in
section 2.16 of the 'R for Windows FAQ'.
Best,
Ista
On Sat, Mar 8, 2014 at 7:45 PM, David Parkhurst wrote:
> Sometimes I don't understand the details of
Sometimes I don't understand the details of writeups I get, with ?save
and the like. Anyway, that's my problem now.
Can I do this (in Windows 7) to save everything that comes up with ls(),
guessed at by what I find with ?rm:
save(list=ls(),file="C:\am\myfiles\ProjectA.RData")
Or would I nee
Duncan,
Thank you for the informative link. So, do the loaded namespaces have an
"ordering" akin to the package search path that determines that functions in
the base namespace can see objects in the utils namespace? (I noticed that
loadedNamespaces() just comes back in alphabetical
Pascal Oettli ymail.com> writes:
>
> Hello,
>
> There is no package "opVar" in the available CRAN packages list.
>
> Regards,
> Pascal
>
> On Sat, Mar 8, 2014 at 6:06 PM, Charles Thuo
> gmail.com> wrote:
[snip]
> > Warning message:
> > package '' is not available (for R version 3.0.2)
>
You asked for basic training guides...
1. An Introduction to R ships with R. Did you miss it?
2. Google is your friend. There are a ton on the web. Search!
-- Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowled
Hi,
May be this helps:
dat <- read.table(text="Designation Basic
ASA .25
ASA .28
ASA .32
TASA .45
TASA .33
TASA .43",sep="",header=TRUE,stringsAsFactors=FALSE)
boxplot(Basic~Designation,data=dat,col=2:3)
#or
library(ggplot2)
ggplot(dat,aes(x=Designation,
Hi,
You could do this either:
DF[unlist(with(DF,tapply(B,list(ID),FUN=function(x) x %in% max(x,]
#or
DF[unlist(with(DF,by(B,ID,FUN=function(x) x%in% max(x,]
#or
library(plyr)
DF[ddply(DF,.(ID),summarize,B %in% max(B))[,2],]
A.K.
Hi,
I am struggling with this issue and need some help
Hi,
Check ?matplot()
matplot(c,cbind(a,b,d),type="l",ylab="Dependent Var")
#BTW, there is a typo in 'b'. (0,748).
A.K.
Hi,
I have some values that I need to represente in the same plot.
For exemple, if I have,
c<-c(200,205,210,215,220,225,230,235)
a<-c(0.032,0.44,0.86,0.65,0.53,0.213,0.4
slavia wrote
> Hi,
>
> I have some values that I need to represente in the same plot.
> For exemple, if I have,
>
> c<-c(200,205,210,215,220,225,230,235)
> a<-c(0.032,0.44,0.86,0.65,0.53,0.213,0.46,0.231)
> b<-c(0.325,0.657,0.784,0.236,0.798,0.287,0,748,0.785)
> d<-c(0.786,0.217,0.538,0.513,0.87
Lee wrote
> Hi,
>
> I am struggling with this issue and need some helps. The data set 'DF'
> includes persons' IDs and other variables A, B, and C. Each Person has
> multiple values in A, B, and C. What I am trying to do is 1) selecting a
> maximum value of B within same ID, and 2) making a new d
How predict works depends on the method written for that type of
object. The zeroinfl function is not in any of the standard packages,
so it must be in another package, but you did not tell us which.
Since it is from a package other than the main ones, it may work
similarly to the regular predict
Depending on how you use the logistic regression this can be a silly
question. Remember that the prediction interval is where you predict
new observations to be. If you fit your logistic regression on data
that is 0 or 1 (or FALSE/TRUE, etc.) then predictions for new data
will be predictions of 0
Arun et al.
Thanks,
This is exactly what I need.
All the best,
KW
--
On Mar 7, 2014, at 10:59 PM, arun wrote:
> Try:
> oof1 <- list()
> oof1[foo$name] <- foo$num
> A.K.
>
>
>
>
> On Friday, March 7, 2014 10:43 PM, Keith S Weintraub wrote:
> Folks,
>
> I have a data frame as follows:
>
Hi all ,
I had connected R and C# using RDoTNET, I want to call every
packages of R in there and functions ,anybody have a code
snippets to help me out , as the coding here is hard to
understand.
Thank You,
PS ASHIS DEB
[[alternative HTML versi
Hello,
There is no package "opVar" in the available CRAN packages list.
Regards,
Pascal
On Sat, Mar 8, 2014 at 6:06 PM, Charles Thuo wrote:
> Hello,
>
> I was attempting to install the package opVAr and got the following message
>
> Warning message:
> package '' is not available (for R version
Hello,
I was attempting to install the package opVAr and got the following message
Warning message:
package '' is not available (for R version 3.0.2)
Is this package available at all.
[[alternative HTML version deleted]]
__
R-help@r-project.
require(copula)
# I specify the copula
gmb<-gumbelCopula(4,dim=2)
# The bivariate CDF is generated
myCDF<-mvdc(gmb,margins=c("lnorm","nbinom"),paramMargins=list(list(meanlog=11.69,sdlog=0.7781),list(mu=16,size=2.6)))
# A random sample of the bivariate risk data is generated as a matrix.
Th
Is this homework? We don't do homework here.
-- Bert
Oh, and my answer is yes I do.
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
H. Gilbert Welch
On Fri, Mar 7, 2014 at 1:22 PM,
23 matches
Mail list logo