2013/10/19 Prof Brian Ripley
> On 18/10/2013 15:01, Vincent Guyader wrote:
>
>> Hi everyone,
>>
>> If I compute a "Ordered Logistic or Probit Regression" with the polr
>> function from MASS package. the summary give me : coefficients, Standard
>> er
Hi everyone,
If I compute a "Ordered Logistic or Probit Regression" with the polr
function from MASS package. the summary give me : coefficients, Standard
error and Tvalue.. but not directly the p.value.
I can compute "manualy" the Pvalue, but Is there a way to directly obtain
the pa.value, and
Hi everyone,
plese can you look at this few lines :
data(iris)
res<-apply(iris,MARGIN=2,is)
res[1,]
the result is :
Sepal.Length Sepal.Width Petal.Length Petal.Width Species
"character" "character" "character" "character" "character"
How can I conserve the type off each colum? apply
I will try this.
thank you.
2012/11/23 Milan Bouchet-Valat
> Le vendredi 23 novembre 2012 à 03:17 +0100, vincent guyader a écrit :
> > Hi everyone,
> >
> > I made some tests with Rcmdr, to add a function with default parameters :
> >
> > For example (very simp
Hi everyone,
I made some tests with Rcmdr, to add a function with default parameters :
For example (very simple):
myfunction<-function(var="314"){
print("hello")
print(var)
}
if I run myfunction() directly i see :
> myfunction()
[1] "hello"
[1] "314"
it's ok.
But if i edit de Rcmdr-menu.txt
t; HTH,
> Yves
>
>
> Le 20/11/2012 11:25, vincent guyader a écrit :
> > I everyone,
> >
> > i have a little problem with tklistbox,the " " character and Rcmdr.
> >
> > Please look at this code
> >
> > require(tcltk)
> > tt&
I everyone,
i have a little problem with tklistbox,the " " character and Rcmdr.
Please look at this code
require(tcltk)
tt<-tktoplevel()
levels.list2 <-tklistbox(tt,selectmode="multiple",exportselection="FALSE",
height=4, yscrollcommand=function(...)tkset(levels.list2.scroll,...))
levels.list2.s
Here's one option:
> > vec<-c(3,4,5,NA,1,NA,9,NA,1)
> > subset(vec, vec > 2)
> [1] 3 4 5 9
> > subset(vec, vec == 1)
> [1] 1 1
>
> Sarah
>
> On Tue, Oct 30, 2012 at 5:08 PM, vincent guyader
> wrote:
> > Hi everyone,
> >
> > i'
Hi everyone,
i'm looking for a "NA-friendly" operator
I explain :
vec<-c(3,4,5,NA,1,NA,9,NA,1)
vec[vec == 1] # NA 1 NA NA 1
I dont want the NA's :
vec[vec == 1 & ! is.na(vec)]# 1 1
is the same as
vec[vec %in% 1] # 1 1
%in% is NA-friendly :)
But if i want
Hi everyone,
I have a problem to assign a value with tcl/tk
ths is the code ( it should be simple to understand) :
library(tcltk)
valA<-tclVar("0")
valB<-tclVar("0")
valC<-tclVar("0")
id<-"A"
out<-"1"
out2<-"2"
print(paste("tclvalue(val",id,")",sep="")) # ok
print(as.name(paste("tclvalue(val",
thanks
it seems to be a good idea. a also find the PK package with the biexp
function.
2012/8/23 Peter Ehlers
>
> Have you checked help(SSbiexp) ?
>
> Peter Ehlers
>
>
> On 2012-08-23 04:54, vincent guyader wrote:
>
>> Hi everyone,
>>
>> I'm
Hi everyone,
I'm trying to perform a bi exponential Fit with the package NLS. the
plinear algorithm seems to be a good choice
see:
p<-3000
q<-1000
a<--0.03
b<--0.02
t<-seq(0:144);t
y<-p*exp(a*t) + q*exp(b*t)+rnorm(t,sd=0.3*(p*
exp(a*t) + q*exp(b*t)))
fittA <- nls(y~cbind(exp(a*t), exp(b*t)),
alg
=1,column=3-1,columnspan=2,rowspan=2,sticky="wens")
sapply(0:3, function(i) {
if(i < 3) tkgrid.rowconfigure(tt, i, weight = 1)
tkgrid.columnconfigure(tt, i, weight = 1)
})
thanks again
2012/7/16 vincent guyader
> thanks for your answer, i will try this.
>
> Regards
>
>
thanks for your answer, i will try this.
Regards
2012/7/16 j verzani
> vincent guyader gmail.com> writes:
>
> >
> > Hi everybody,
> >
> > I have a problem with the grid function in tk.
> >
Hi everybody,
I have a problem with the grid function in tk.
I juste try to put 4 buttons like this:
---
|||
|| C|
| A||
|||
-- D|
|||
| B||
---
A is 2x2
C is
15 matches
Mail list logo