[R] minimizing title's police

2008-06-16 Thread hanen


in order to minimize the police of the title of my graph i tried to use:

title(nombre de fleurs données journellement par 6 cereus peruvianus du
1/07/02 au 31/09/02,font=0)

but this message appears:

Erreur dans title(nombre de fleurs données journellement par 6 cereus
peruvianus de 1/07/02 au 31/09/02,  : 
  valeur spécifiée pour le paramètre graphique font incorrect

what's the value that should i give to the parameter font ?
-- 
View this message in context: 
http://www.nabble.com/minimizing-title%27s-police-tp17870753p17870753.html
Sent from the R help mailing 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, minimal, self-contained, reproducible code.


[R] changing the police of my graph's title

2008-06-15 Thread hanen

hi;

i want to change the police of the title of my graph.i tried to use
font.title and cex.title but there was no changing in characters fount.

is there any one who could help me?
-- 
View this message in context: 
http://www.nabble.com/changing-the-police-of-my-graph%27s-title-tp17849886p17849886.html
Sent from the R help mailing 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, minimal, self-contained, reproducible code.


[R] multinormality

2008-06-08 Thread hanen

is there any function under R that allows me to test the normality of my 92
sumples?
-- 
View this message in context: 
http://www.nabble.com/multinormality-tp17717230p17717230.html
Sent from the R help mailing 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, minimal, self-contained, reproducible code.


[R] bartlett-test

2008-06-06 Thread hanen

i a have transformed my data to data frame named df with only column names(no
rownames).each column represnt one sample with 3 observations (in deed
nrow(df)=3, and ncol(df)=92).in order to check homoskedasticity of variance
of my 92 samples i do:

bartlett.test(df)

it work and give me a result.but i'm afread of getting false result,knowen
that a call of such function require a vector of data x and a factor g . g
is omitted when x is a list of vector.

is the call that i do true?
is a data frame in my case considered like a list of vector?



-- 
View this message in context: 
http://www.nabble.com/bartlett-test-tp17687757p17687757.html
Sent from the R help mailing 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, minimal, self-contained, reproducible code.


[R] bartlett.test()

2008-06-05 Thread hanen

i'm trying to test the homogeneity of variance of 92 samples each one
contains 3 observations.
to use bartlett.test function i have created a (3,92) matrix (named xx):
bartlett.test(xx)

this message appears:

Erreur dans bartlett.test.default(xx) : 
  l'argument g est manquant, avec aucune valeur par défaut

when i checked the help i have understood that in g i should specified my
différent samples in the case that xx is not a list.So i have tried to
convert mode's xx in the list by:

bartlett.test(list(xx))

this message appears:

Erreur dans bartlett.test.default(list(xx)) : 
  'x' must be a list with at least 2 elements

what should i do?
and if the solution is to use a data frame how can i add the 92
columns'names to such data.frame? because the use of the function
names(data.frame)-list(...  and entering 92 words it seems painfull.

 is there any one who can help me now?

please answer me as soon as possible. 

-- 
View this message in context: 
http://www.nabble.com/bartlett.test%28%29-tp17665173p17665173.html
Sent from the R help mailing 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, minimal, self-contained, reproducible code.


[R] lm() function

2008-05-29 Thread hanen

hi,


my linear model is y=c+a*x1+b*x2 i tried to found a, c, b by the use of:

mymodel-lm(y~1+x1+x2) where y, x1, x2 are 3 vectors with the same length

the result is a=NA.so i want to know where is the problem.
-- 
View this message in context: 
http://www.nabble.com/lm%28%29-function-tp17546079p17546079.html
Sent from the R help mailing 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, minimal, self-contained, reproducible code.


[R] how can i sort a column of data.frame ?

2008-05-19 Thread hanen

i have a data.frame with several columns that i want to sort one of them (one
column) by descending order
 in such way that this sorting out  recover all colums. what should i do?
-- 
View this message in context: 
http://www.nabble.com/how-can-i-sort-a-column-of-data.frame---tp17324725p17324725.html
Sent from the R help mailing 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, minimal, self-contained, reproducible code.


[R] i want to export a data.frame to file.xls

2008-05-19 Thread hanen

in order to export a data.frame to sheet.xls i try:

write(df,file=file_name.xls)

but when i open it a message appears:

impossible to oppen this file. her format is unvalid

knowen that i work with excel_2007

what is the solution ?
-- 
View this message in context: 
http://www.nabble.com/i-want-to-export-a-data.frame-to-file.xls-tp17326119p17326119.html
Sent from the R help mailing 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, minimal, self-contained, reproducible code.


[R] how can i superpose 2 graphs

2008-05-18 Thread hanen

Hio

i tried to do this by:
par(new=TRUE)

but the result is one picture but y-axis has 2 différent graduations.how can
i correct this?( i want one graduation on y axis).
-- 
View this message in context: 
http://www.nabble.com/how-can-i-superpose-2--graphs-tp17305355p17305355.html
Sent from the R help mailing 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, minimal, self-contained, reproducible code.


[R] two curves at one graph

2008-05-18 Thread hanen

i try to use par(new=TRUE) i get them at the same graph but the y_axis and
x_axis are drowen with two unevenly graduations that graph become
unreadable.
-- 
View this message in context: 
http://www.nabble.com/two-curves-at-one-graph-tp17307590p17307590.html
Sent from the R help mailing 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, minimal, self-contained, reproducible code.


[R] (1-alpha)th percentile

2008-05-16 Thread hanen

hello;
firstly, my gratitude to all who help me to find a function that allows me
to add confidence interval to my graph.  
in order to calculate the (1-alpha)th percentile of for exemple an
F(df1,df2) distribution i do like this:
v-df(alpha,df1,df2)
percentile-qf(v,df1,df2,alpha)

if it is true please alert me , and if it is not what should do then?

:handshake:
-- 
View this message in context: 
http://www.nabble.com/%281-alpha%29th-percentile-tp17273198p17273198.html
Sent from the R help mailing 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, minimal, self-contained, reproducible code.


[R] is there any graphic function

2008-05-14 Thread hanen

hello:

is there any graphic function under R that allow me to add an interval on
the graphic's picture at any place i want.
i mean by interval the symbol ||  showed verticaly and has as middle
the point M with coordinates (yi,ti).please answer me as soon as possible.
-- 
View this message in context: 
http://www.nabble.com/is-there-any-graphic-function-tp17240811p17240811.html
Sent from the R help mailing 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, minimal, self-contained, reproducible code.