ps the best advice is to download the source code
RcmdrPlugin.x.tar.gz from CRAN (e.g. RcmdrPlugin.IPSUR), extract
the archive, and take a look at how other people have done it.
I hope that this helps, and good luck! :-)
Jay
***
G. Jay Ker
...[snipped]
>
> The /inst directory: in here you will need to put a file "menus.txt"
>
This should have been "the /inst/etc" directory, as you noted in your
original post.
Jay
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/list
t; Thank you
> Liviu
There was a closely related discussion last April:
https://stat.ethz.ch/pipermail/r-devel/2009-April/053094.html
and IIRC this was fixed for R version 2.10.
Hope this helps,
Jay
--
*******
G. Jay Kerns, Ph.D.
Associate Professor
De
solution:
library(prob)
urnsamples(0:2, size = 3, replace = TRUE, ordered = FALSE)
Regards,
Jay
***********
G. Jay Kerns, Ph.D.
Associate Professor
Department of Mathematics & Statistics
Youngstown State University
Youngstown, OH 44555-0002 USA
Office: 1035 C
ave a 'scale'
parameter at all.
Just be careful, and you should be fine. And IMHO, given that the PDF
of the density is shown it is reasonably clear as-is.
Best,
Jay
***
G. Jay Kerns, Ph.D.
Associate Professor
Department of Mathematic
sy, lemon squeezy. See page 78.
Hope this helps,
Jay
*******
G. Jay Kerns, Ph.D.
Associate Professor
Department of Mathematics & Statistics
Youngstown State University
Youngstown, OH 44555-0002 USA
Office: 1035 Cushwa Hall
Phone: (330) 941-3310
7L, 4L, 2L), m7 = c(14L, 5L, 2L, 11L, 20L, 3L, 13L, 17L,
14L, 20L, 10L, 15L, 6L, 10L, 16L, 3L, 8L, 7L, 4L, 2L), m8 = c(12L,
15L, 4L, 11L, 18L, 3L, 12L, 16L, 14L, 20L, 9L, 12L, 16L, 10L,
17L, 3L, 18L, 9L, 7L, 3L)), .Names = c("m1", "m2", "m3", "m4",
"m5&
the joint pmf
xtabs(probs ~ Var1 + Var2, data = Probspace)
# sorted by probability
Probspace[order(Probspace$probs), ]
See the prob package for other utilities in this vein. You can make
the labels better with c("7 – 7.50", "7.50 – 8.50", "8.50 – 10.00"),
etc, in the firs
; --
> Stephen
Thanks for the brief response, Stephen; he has seen (most of) this before.
Unbelievable.
Jay
***
G. Jay Kerns, Ph.D.
Associate Professor
Department of Mathematics & Statistics
Youngstown State University
Youngstown, OH 44555-
"prob") # see section 8
?rolldie
?addrv
?marginal
Then turn off the computer, pick up a pencil, and solve the problems
by hand. Wait a minute, maybe that should be step 1?
Have fun,
Jay
***
G. Jay Kerns, Ph.D.
Associate Professor
D
Dear Debbie,
On Tue, May 12, 2009 at 5:37 AM, Debbie Zhang wrote:
>
> Dear R users,
>
> Does anyone know how to write function for Kumaraswamy distribution in R?
> Since I cannot write dkumar, pkumar, etc. in R.
>
>
>
> Please help.
>
>
>
> Thanks a lot,
>
> Debbie
>
Check the CRAN Task View on
ed.
Cheers,
Jay
***********
G. Jay Kerns, Ph.D.
Associate Professor
Department of Mathematics & Statistics
Youngstown State University
Youngstown, OH 44555-0002 USA
Office: 1035 Cushwa Hall
Phone: (330) 941-3310 Office (voice mail)
-3302 Department
-3170 FAX
E-mail: gke...@ysu.edu
http://www
Dear Duncan,
On Thu, May 14, 2009 at 4:39 PM, Duncan Murdoch wrote:
> On 5/14/2009 3:36 PM, G. Jay Kerns wrote:
>> Question:
>> 1) can you tell me what my original set.seed() value was? (I wouldn't
>> be able to figure it out, but maybe someone can)
>
> The onl
nning of the .Rnw (but after the set.seed)... and did not
distribute this information to the students... that would make it
much harder, yes?
Any ideas that are even better than this?
Conceivably, some of my students will be searching these archives in
the future; please feel free to res
to help... or, perhaps
you (or somebody else) knows of an even better approach.
Cheers
Jay
***
G. Jay Kerns, Ph.D.
Associate Professor
Department of Mathematics & Statistics
Youngstown State University
Youngstown, OH 44555-0002 USA
Office: 1035 Cushwa Hall
>
> Jay: why not post your R-books how to on the wiki itself???
Because I thought that it would be better to write the instructions in
R-wiki language that anybody could modify rather than post a PDF by
me.
Here is what I had in mind:
http://wiki.r-project.org/rwiki/doku.php?id=links:books:howto
every possible variant of
questions (and answers) about this, and you haven't said _exactly_
what you are looking for. In the absence of an already posted
solution, please specify exactly what you want and I'll wager an R
Ninja could dispatch it in moments.
Regards,
Jay
***
Jason,
On Fri, May 29, 2009 at 5:58 PM, Jason Rupert wrote:
>
> Jay,
>
>
> Thanks much for the reply. I think you are right about the prob.
> Unfortunately, I was not able to find the old emails I had discussing the use
> of the more powerful setdiff that essentially inherits from the base c
Jason,
(moved back to R-help)
On Sat, May 30, 2009 at 3:30 PM, Jason Rupert wrote:
>
> Jay,
>
>
> I really appreciate all your help help.
>
> I posted to Nabble an R file and input CSV files more accurately
> demonstrating what I am seeing and the output I desire to achieve when I
> difference
m having trouble setting up the function to do this.
***********
G. Jay Kerns, Ph.D.
Associate Professor
Department of Mathematics & Statistics
Youngstown State University
Youngstown, OH 44555-0002 USA
Office: 1035 Cushwa Hall
Phone: (330) 941-3310 Office (voice mail)
-3302 Department
; checking for X... no
> configure: error: X11 not found but required, configure aborted.
> ERROR: configuration failed for package 'rgl'
> ** Removing '/usr/local/lib/R/site-library/rgl'
>
I had the same problem a few days ago, and followed the
recommendations of t
I will have to boot into Windows later this evening to investigate,
but in the meantime you may want to post your sessionInfo(). I have
run RcmdrPlugin.IPSUR on R-2.10.1, Windows XP, as recently as
yesterday during class without any problems.
Gotta go for now.
Jay
--
**
Dear Brian,
On Tue, Feb 2, 2010 at 4:33 PM, Liviu Andronic wrote:
> On 2/2/10, briancady413 wrote:
>> I am trying unsuccessfully to open RcmdrPlugin.IPSUR from within Rcmdr, via
>> the pulldown tools menu.
>> It insists I restart Rcmdr, which I let happen, then Rcmdr doesn't restart,
>> and
errors that keep coming up:
>> Error in 1:sim : 'sim' is missing
>>
>>
>> How do I correct this?
>>
>>
>>
>> [[alternative HTML version deleted]]
>
> ______
> R-help@r-project.org
Dear Liviu,
On Sat, Oct 9, 2010 at 5:14 PM, Liviu Andronic wrote:
> Dear all
> I'm using Xubuntu Lucid and I keep getting the same random numbers
> whenever I start a new session of R. For example, I keep getting
>> sample(1:1000, 1)
> [1] 87
>
> or
>> rnorm(1:10)
> [1] -1.3618103 0.4241701 1.
Dear Josh,
On Mon, Oct 11, 2010 at 3:15 PM, Joshua Wiley wrote:
> Hi All,
>
> Does anyone know of a function to plot a regression surface for two
> predictors? RSiteSearch()s and findFn()s have not turned up what I
> was looking for. I was thinking something along the lines of:
> http://mallit.
)
You could also use copulas, but those depend on contributed packages
(and you can read more about them on the CRAN Task View for
probability distributions).
Hope this helps,
Jay
__
G. Jay Kerns, Ph.D.
Youngstown State University
http://people.ysu.edu/~gkerns/
On Sat, Nov 6, 2010 at 8:22 PM, michael wrote:
> Jay,
>
> Yes I'm looking for unif(0,1) and your method works just fine. I
> suppose your method should work for dimensions greater than 2, am I right?
>
> Michael
>
Yes, but it gets that much more tricky to specify the covariance
matrix. Two
at urnsamples by default is replace = FALSE, ordered =
FALSE, which is how I got away with the short command above.
__
G. Jay Kerns, Ph.D.
Youngstown State University
http://people.ysu.edu/~gkerns/
__
R-help@r-project.org mailing
on
of the R-Forge Project Page.
************
G. Jay Kerns, Ph.D.
Associate Professor
Department of Mathematics & Statistics
Youngstown State University
Youngstown, OH 44555-0002 USA
http://people.ysu.edu/~gkerns/
___
R-packages mailing l
lly, it depends on what you mean by 'get through'.)
>
> Also, do you have other suggestions for texts, manuals, web sites, etc. that
> would introduce statistics and R simultaneously?
Have you seen this?
http://rwiki.sciviews.org/doku.php?id=books:intrstat
Good luck,
Jay
anks, Joh
>
[snip]
Have a look at tk_choose.files in the tcltk package.
library(tcltk)
?tk_choose.files
Good luck,
Jay
***********
G. Jay Kerns, Ph.D.
Associate Professor
Department of Mathematics & Statistics
Youngstown State University
Youngstown,
ix means and how
to set it up. If you are having trouble setting up a data matrix in
general then I recommend the R documentation which you can find under
the Help menu.
I just double-checked and both the function and example still work
like a charm, almost 4 years later.
tell whether that problem has anything to do with yours,
but anyway, I hope this helps.
Jay
***
G. Jay Kerns, Ph.D.
Youngstown State University
http://people.ysu.edu/~gkerns/
__
R-help@r-project.org mai
quot;, such as TODO lists, agendas,
capturing-archiving, calendar integration, time tracking,... These
could possibly address some of the other issues you mentioned.
Good luck, and Happy New Year.Jay
*********
G. Jay Kerns, Ph.D.
Mathematics and Statistics
Youngstown Stat
ling list archive at Nabble.com.
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, mini
n <- dim(temp)[2]
P <- array(unlist(permn(temp[, 1])), dim = c(k, factorial(k)))
for (i in 2:n) {
a <- temp[, i]
perms <- array(unlist(permn(a)), dim = c(k, factorial(k)))
P <- cbind(P, perms)
}
}
return(P
ad the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
***
G. Jay Kerns, Ph.D.
Assistant Professor / Statistics Coordinator
Department of Mathematics &
robability on a finite sample space.
Regards,
Jay
***********
G. Jay Kerns, Ph.D.
Assistant Professor / Statistics Coordinator
Department of Mathematics & Statistics
Youngstown State University
Youngstown, OH 44555-0002 USA
Office: 1035 Cushwa Hall
Phone: (330) 941-3310 Office (voice mail)
-33
5 6872 3919
> > National University of Singapore
> > 6 Science Drive 2, Blk S16, Level 7 e-mail: [EMAIL PROTECTED]
> > Singapore 117546http://www.stat.nus.edu.sg/~statba
>
> __
> R-help@r-project.or
code
echoed to you for the console that you can use for other problems.
Best wishes,
Jay
***
G. Jay Kerns, Ph.D.
Associate Professor
Department of Mathematics & Statistics
Youngstown State University
Youngstown, OH 44555-0002 USA
Office: 1035 Cushwa Hall
Phone: (330) 941-3310 O
uld simply be P( X < x | Y=y ) *
f(y), where f(y) is the marginal pdf of Y (a dnorm).
Note that the above is assuming that y is a fixed constant; if not,
then you may want to check out the Ryacas package.
I hope that this helps,
Jay
***********
ailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
***
G. Jay Kerns, Ph.D.
Associate Professor
Department of Mat
nzi.psych.upenn.edu/R/R-devel/archive/26683.html
and as a consequence of that discussion:
library(prob)
setdiff(A,B)
Best,
Jay
***********
G. Jay Kerns, Ph.D.
Associate Professor
Department of Mathematics & Statistics
Youngstown State University
Y
ters, a) ~ a, data = DATA)
>
> I would also encourage you to use 'origin = 0', or if you don't like
> that, use dotplot() instead of barchart().
>
> -Deepayan
>
>
>
>
> __________
> R-help@r-project.org mailing list
>
but am I missing something? and in
particular, is there an elegant way to check in the case that the mode
of the vector is not already known?
Thanks in advance for any insight you may have.
Best,
Jay
***********
G. Jay Kerns, Ph.D.
Associate Pro
r B.C.
> V5Z 1L3
> Canada
>
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED] on behalf of G. Jay Kerns
> Sent: Mon 11/24/2008 9:41 AM
> To: r-help@r-project.org
> Subject: [R] how to test for the empty set
>
> Dear R-help,
>
> I first thought that the
Dear Everybody,
Thanks, length() is the answer.
Best,
Jay
On Mon, Nov 24, 2008 at 1:15 PM, Ted Harding
<[EMAIL PROTECTED]> wrote:
> On 24-Nov-08 17:41:25, G. Jay Kerns wrote:
>> Dear R-help,
>> I first thought that the empty set (for a vector) would be NULL.
>>
>
s[1:5], letters[1:5], letters[1:5])
>
>
> D
>
Have a look at urnsamples() in the prob package.
ID <- LETTERS[1:5]
urnsamples(ID, size = 3, replace = FALSE, ordered = FALSE)
Best,
Jay
***
G. Jay Kerns, Ph.D.
Associate Professor
Department of Mathem
; "D"
> [25,] "C" "A" "B"
> [26,] "C" "A" "D"
> [27,] "C" "A" "E"
> [28,] "C" "B" "A"
> [29,] "C" "B" "D"
> [3
s approach to
> a variable number of arguments to expand.grid.
>
> Hope this helps,
>
> baptiste
>
Here is another way:
library(prob)
urnsamples(1:3, size = 2, ordered = FALSE, replace = TRUE)
You can convert to a matrix with as.matrix(), if desired.
Regards,
Jay
--
***
th the problem.
Good luck.
Jay
***********
G. Jay Kerns, Ph.D.
Associate Professor
Department of Mathematics & Statistics
Youngstown State University
Youngstown, OH 44555-0002 USA
Office: 1035 Cushwa Hall
Phone: (330) 941-3310 Office (voice mail)
-3302 Department
-3170 FAX
E-mail: gke...@ysu
risk' of some sort, it would be good to
increase the number of samples until the risk estimate stabilizes to a
value with which you are comfortable.
Best,
Jay
***
G. Jay Kerns, Ph.D.
Associate Professor
Department of Mathematics & Statistics
Youngs
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
***********
G. Jay Kerns, Ph.D.
Assistant Professor / Statistics Coordinator
Department of M
cible code.
> >>>>
> >>> Charles C. Berry (858) 534-2098
> >>> Dept of
> >> Family/Preventive Medicine
> >>> E mailto:[EMAIL PROTECTED] UC San Diego
> >>> http://famprevmed.ucsd.edu/f
55 matches
Mail list logo