-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch
-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman
.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org
optimization. Could anyone give me
some advice?
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting
-help@stat.math.ethz.ch 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.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles
] -1.0892216 -0.7304947 -1.2883680
d[2]%*%t(e[2])
this is the error: requires numeric matrix/vector arguments
i've tried to coerce e to a matrix, but it's doesn't work...
in the end.. i'd like this:
for (i in (1:1096)) {solve(d[i])*t(e[i])}
help me, please :)
Vincenzo
--
Petr Klasterecky
advice as it does not work.
Many thanks.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting
-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman
advice you got here.
Petr
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http
5
d[2]= 458
...
i'm trying now with this:
for(i in 1:1096) d[i]=(rbind(ht[i,]))
but it doesn't work :(
it works with function like mean,sum.. but not with rbind
what can i do?
/---Messaggio originale---/
/*Da:*/ Petr Klasterecky mailto:[EMAIL PROTECTED
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.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
degrees of freedom
Residual deviance: 996.02 on 1424 degrees of freedom
AIC: 1004
Number of Fisher Scoring iterations: 5
Thanks
Vioelta
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help
]]
__
R-help@stat.math.ethz.ch 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.
--
Petr Klasterecky
__
R-help@stat.math.ethz.ch 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.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles
.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting
://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.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help
(variable1,variable2,type=s,main=Title,ylim=c(120,0),xlim=c(0,10))
For each .csv-dataset I want to use this code with only slight
adjustments...
Tanks again, Beate
Petr Klasterecky schrieb:
Hi,
I am not sure what exactly you would like to fill up and how, but take
a look at
?polygon
-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help@stat.math.ethz.ch mailing list
https
__
R-help@stat.math.ethz.ch 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.
--
Petr Klasterecky
Dept. of Probability
.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting
, reproducible code.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R
code.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org
/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.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
example.
Petr
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org
__
R-help@stat.math.ethz.ch 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.
--
Petr Klasterecky
Dept. of Probability
)
where it is bolded, i'm getting the following error: Error in mysubset2[,
2:5] : incorrect number of dimensions
snip
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help@stat.math.ethz.ch mailing
://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.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
If I understand correctly what A. Ezhil asked for, polygons won't help
here. For coloring the individual points check ?points and use subsets, e.g.
plot(x,y)
points(x[xy-1],y[xy-1], col=red)
or something similar.
Petr
John Kane napsal(a):
Here is a recent posting by Petr Klasterecky
-- A. GoralczykGöttingen, Ger.
[EMAIL PROTECTED] mailing
listhttps://stat.ethz.ch/mailman/listinfo/r-helpPLEASE do read the posting
guide http://www.R-project.org/posting-guide.htmland provide commented,
minimal, self-contained, reproducible code.
--
Petr Klasterecky
Dept. of Probability and Statistics
a simple, efficient way to do this in R? Thanks.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read
://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help@stat.math.ethz.ch mailing list
guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help@stat.math.ethz.ch
format(x,digits=5,scientific=FALSE)
V1 V2
1 0.0026408 -0.0023358
2 -0.0039601 0.0103731
3 -0.0070793 -0.0057927
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help
/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.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help
and provide commented, minimal, self-contained, reproducible code.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r
and provide commented, minimal, self-contained, reproducible code.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help@stat.math.ethz.ch mailing
have been something like 'wrong row names in subset' or
'dataframe subset question' etc, certainly not 'please help me, it's
trivial'...
Btw, there is something like the posting guide for this list (see footer).
Petr
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University
deleted]]
__
R-help@stat.math.ethz.ch 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.
--
Petr
found this thread from 2003(!) related to this topic:
http://finzi.psych.upenn.edu/R/Rhelp02a/archive/13971.html
however I am using R on MS Windows - no |tee, no ESS...
Petr
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
.
NT emacs is available at
ftp://ftp.gnu.org/pub/gnu/emacs/windows
download emacs-21.3-fullbin-i386.tar.gz
ESS is available at
http://ess.r-project.org
Click source and then right-click ess-5.3.3.zip
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
/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.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
if i am going about this loop stuff a rely round
about way - Any help would make me much less loopy:Pthanks
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help@stat.math.ethz.ch mailing
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help@stat.math.ethz.ch mailing
@stat.math.ethz.ch 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.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
@stat.math.ethz.ch 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.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University
, minimal, self-contained, reproducible code.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting
]]
__
R-help@stat.math.ethz.ch 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.
--
Petr Klasterecky
Dept
]]
__
R-help@stat.math.ethz.ch 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.
--
Petr Klasterecky
Dept. of Probability
__
R-help@stat.math.ethz.ch 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.
--
Petr Klasterecky
Dept. of Probability
.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting
.
Moreover, the frontend I am using for R (RkWard) does not enable me to
export graphs as vectorial image files.
How can I export such graphs as separate (e.g.) Postscript files ?
par(ask=FALSE) didn't help.
Thank you for your answer.
--
Petr Klasterecky
Dept. of Probability and Statistics
.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting
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.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
]
__
R-help@stat.math.ethz.ch 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.
--
Petr Klasterecky
Dept. of Probability
0004 0010 0055
0010 0042 0061 0080
0010 0017 0078 0084
0006 0010 0040 0042
0075 0080
0005 0028 0032
0006 0010 0040 0061
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help@stat.math.ethz.ch
, minimal, self-contained, reproducible code.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read
software is correct, but my server required authentication
for use it, and for load a new package directly from R it is not possible.
Is there a code or process for server authentication (put my login and
password) in R for download directly the packages?
The best regards,
--
Petr Klasterecky
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.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
make them add-up to 1:
x - rnorm(100) #runif(100), rpois(100) etc.
x - x/sum(x)
sum(x)
Petr
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch
Barry Rowlingson napsal(a):
Petr Klasterecky wrote:
You need to specify what 'random' means. If you have any numbers, you
can always make them add-up to 1:
x - rnorm(100) #runif(100), rpois(100) etc.
x - x/sum(x)
sum(x)
I see a slight problem that may occur with dividing by sum(x
of dataframes and using lapply() on that list rather than
processing the data inside the loop.
Petr
Xuhong
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help@stat.math.ethz.ch mailing list
https
John Sorkin M.D., Ph.D.
Chief, Biostatistics and Informatics
Baltimore VA Medical Center GRECC,
University of Maryland School of Medicine Claude D. Pepper OAIC,
University of Maryland Clinical Nutrition Research Unit, and
Baltimore VA Center Stroke of Excellence
--
Petr Klasterecky
Dept
-help@stat.math.ethz.ch 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.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles
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.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech
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.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help@stat.math.ethz.ch mailing list
https
execute my script in two
parts:
First part:
:
:
cat(\n,Enter value:: ,\n)
y-scan(n=1)
and second part:
a - b*y
cat(\n,Enter new value::,\n)
y-scan(n=1)
:
:
Any help will be greatly appreciated.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University
-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r
.
__
R-help@stat.math.ethz.ch 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.
--
Petr
@stat.math.ethz.ch 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.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University
Anup
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org
read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help
-help@stat.math.ethz.ch 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.
?polygon might be useful. See also demo(graphics)
Petr
--
Petr
to use. I'd guess a goodness of fit
test, but who knows? See ?chisq.test and the examples given there. It
also tells you that the y-argument is ignored if x is a matrix (that's
probably the reason why you get different results using read.table and
scan).
Petr
--
Petr Klasterecky
Dept
in var.list) {
plot(density(df[[paste(myvar)]]), main=paste('Density of',myvar))
}
It may not be bad idea to make a structure (list, dataframe) consisting
of only those variables you want and use some variant of apply() instead
of the for-loop. See ?apply, ?tapply, ?sapply
Petr
--
Petr Klasterecky
to attempt such
minimization? (Suppose I have good starting values.)
Thaks, Petr
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman
of the
coefficients?
Sure:
lapply(summary(fit), function(x) {$(x,cov.unscaled)})
Add indexing if you do not want the whole matrix. You can extract
whatever you want, just take a look at ?summary.lm, section Value.
Petr
--
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
(your.variable[day==20070101])
if 'day' contains the date stored as an integer.
If you want to do this for all days probably you mmight use a loop
through unique(day)
Finally, to do a monthly/yearly analysis, just create 'month' and 'year'
month - trunc(day/100)
year - trunc(day/1)
HTH
Petr Klasterecky
83 matches
Mail list logo