Displaying 20 results from an estimated 1000 matches similar to: "Printing the function t.test() in R"
2009 Nov 03
2
R2WinBUGS and R-2.10.0: The school example not running
Dear R users
I have been encountering an error (in the Winbugs window: Blackbox - index
out of range ..... ). So to me it seems R2WinBUGS is not linking up well
with the new R version since the same model runs well under r-2.9.2. So is
my assumption correct or am I doing something wrong. The data I used and the
code are in the help of R2WinBUGS (?bugs).
Regards,
--
Luwis Diya,
Leuven
2008 Aug 07
4
Obtaining the first /or last record of a subject in a longitudinal study
Dear R users,
I was wondering if anyone knows how to obtain(subset) the first and/or the
last record of a subject in a longitudinal setup.
Normally in SAS one uses first.variable1 and last.variable1. So my question
is that is there an R way of doing this.
Regards,
--
Luwis Diya, Phd student (Biostatistics),
Biostatistical Center,
School Of Public Health,
Catholic University of Leuven,
U.Z. St
2009 Feb 17
1
Cross classified or Multiple membership or Hierarchical (3 level ) logistic models using Umacs
Dear R users,
I would like to fit cross classified or multiple membership logistic models
or a 3 level hierarchical logistic model using the Umacs package. Can anyone
advise me on how to proceed or better point me to examples of how its done.
Regards,
--
Luwis Diya,
Leuven Biostatistics and Statistical Bioinformatics Centre (L-BioStat),
Kapucijnenvoer 35 blok d - bus 7001,
3000 Leuven,
2005 Aug 26
1
Help in Compliling user -defined functions in Rpart
I have been trying to write my own user defined function in Rpart.I
imitated the anova splitting rule which is given as an example.In the
work I am doing ,I am calculating the concentration index(ci) ,which
is in between -1 and +1.So my deviance is given by
abs(ci)*(1-abs(ci)).Now when I run rpart incorporating this user
defined function i get the following error message:
Error in
2007 May 30
1
codamenu() :Error in coda.options....
Dear all,
I recently started having some problemd with the coda package. I have also deleted it and then installed the package again.
The problem is that I cant access the codamenu. That is ;
*********************************************************************************************************************************************
> library(coda)
> codamenu()
Error in
2009 Jun 22
0
Problems trying to run R2jags on a Linux Cluster
Dear R users,
I am having problems in trying to run R2jags on a Linux Cluster. When I
tried to run the model given in the R2jags manual I get the following error
error message:
Error in FUN(X[[3L]], ...) : object 'J' not found
Can any one help me with this problem?
Looking to hear from you all.
Regards,
--
Luwis Diya,
Leuven Biostatistics and Statistical Bioinformatics Centre
2007 Mar 01
0
Matrix Library failing to load
Dear R users
I am trying to load the package lmer4 but it seems the Matrix library is
failing to load and giving me the following error message :
>library(Matrix)
Error in importIntoEnv(impenv, impnames, ns, impvars) :
object 'Logic' is not exported by 'namespace:methods'
Error: package/namespace load failed for 'Matrix'
I have even reinstalled the Matrix
2007 Jul 16
3
looking at a function's code
Good morning,
I'd like to look at the code for the R function head. When I type just the word head, I get back
function(x, ...)
UseMethod("head")
<environment: namespace:utils>
I expected to see several lines of R code. Any suggestions?
Thanks,
Walt Paczkowski
2008 Jan 25
3
function code
R-help,
Sorry for this question (I guess it has been addressed before but
I could not find it in the archives)
but how can I see a function code
when the following comes up:
> svymean
function (x, design, na.rm = FALSE, ...)
{
.svycheck(design)
UseMethod("svymean", design)
}
<environment: namespace:survey>
Thanks in advance
2010 Jun 15
3
How to see how a function is written
Hello,
If I want to see how, say, apply function is written, how would I be
able to do that?
Just typing "apply" at the prompt does not work.
Thank you for help!
Sergey
2008 Jul 18
2
source code functions
>na.contiguous
function (object, ...)
UseMethod("na.contiguous")
<environment: namespace:stats>
this is what I get when I look for the source code for some functions- Is
there a way to look at the source code?
--
Let's not spend our time and resources thinking about things that are so
little or so large that all they really do for us is puff us up and make us
feel like
2009 May 04
2
About the Transfer Function Model(ARIMAX)
Dear ALL,
I would appreciate if someone help me by letting me know the code of above model in R.I would request you to please let me know how i could
make arimax model in auto.arima.
Regards
Ramanath
[[alternative HTML version deleted]]
2008 Jul 04
1
Problem in installing Biobase
Hi,
Recently I try to install Biobase component using the tutorials from
cran.r-project.org/doc/Rnews/Rnews_2006-5.pdf
I tried
u <- "http://bioconductor.org/biocLite.R"
> source(u)
> biocLite("pkgDepTools", dependencies=TRUE)
Running biocinstall version 2.0.8 with R version 2.5.1
Your version of R requires version 2.0 of Bioconductor.
Warning in
2023 Jan 16
1
Printing special characters
>>>>> Rui Barradas
>>>>> on Mon, 16 Jan 2023 08:46:43 +0000 writes:
> ?s 08:31 de 16/01/2023, Jeff Newmiller escreveu:
>> Use the Cairo PDF device?
>>
>> On January 16, 2023 12:18:48 AM PST, Dennis Fisher
>> <fisher at plessthan.com> wrote:
>>> R 4.2.2 OS X
>>>
>>>
2008 Oct 14
2
getAnywhere
Hi List,
I am trying to look up an object using getAnywhere, where the object I
am looking for is given by the _value_ of the variable I am looking
for. Since getAnywhere calls substitue on its argument it is looking
for an object with the name of the argument not its value. Is there a
way to work around this, or do I have to make my own getAnywhere
without the substitute?
This is an example to
2008 Jan 15
1
Viewing source code for .Internal functions
I am trying to view the source code of the function nlm in the stats
package of R 2.4.1.
I downloaded the source from CRAN and opened nlm.R, and it calls a
.Internal function:
.Internal(nlm(function(x) f(x, ...), p, hessian, typsize, fscale,
msg, ndigit, gradtol, stepmax, steptol, iterlim))
This is the same thing I saw when entering the function name at the R
command
2009 Apr 24
3
How to see the content of geepack package
Dear list members,
I need to see the content of the functions in package geepack. It uses
some C functions in the computation they are not available in the package
directory.
How can I see the content of C functions?
Kind Regards,
Thank you,
Aysun Cetinyurek
2008 Jul 16
1
R-source code of a function
Hi,
I know that if i want to see the SPLUS or R-source code of a function,i should give the command
without the brackets.For example:
rsquared.lmRobMM
function(x)
{
str0 <- "Initial S-estimate"
str1 <- "Final M-estimate"
if(x$est == "final") {
z <- x$r.squared
attr(z, "info") <- str1
}
if(x$est == "initial") {
z <-
2009 Dec 20
1
utf8 postscript cyrillic
Dear R users,
I am running R version 2.10.0 (2009-10-26). I need to prepare an eps
graphic with a legend with cyrillic words. I tried setting the encoding
parameter of the postscript command, but in vain, nothing seems to work. I
tried with CP1251, KOI8-R, UTF-8 and Cyrillic (UTF-8 turned out to not be
available under /usr/lib/R/library/grDevices/enc). All I get is ????????
in the final
2007 Jul 13
2
Flow Cytometry Standard, fcs format in R.
Hi all.
How do I extract date from fcs format file with R. I.e I'd like
make statistical analysis using R-program, but I don't know if there
are R-packets for fcs format file, and using examples.
Thanks.
Pta: In Linux SO exist any program that transform from fcs format to
ASCII text file?