Dear Users,
I would like to plot the log-likelihood (depending on two
parameters).
I wrote the following code:
library(mvtnorm)
sigma<-
matrix(c(4,2,2,3),ncol=2)
x<-rmvnorm(n=500,mean=c(1,2),sigma=sigma)
likel<-
function(param,data){
Good morning to all,
I should find the zero of a specific function with
respect to a vector of arguments.
Does it exist something similar in R?
Thank
you very much,
Enrico Foscolo
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/lis
Good morning to all,
I should find the zero of a specific function,
func(x,f.
me,c,t)=x+f.me*c-t
where 'c' and 't' are constants and 'f.me' is an other
function of 'x'.
Actually, I am interested in considering 'f.me' as an
expression().
Namely,
uniroot.me<-function(f.me,c,t){
Good Morning,
I have a stupid problem about inclusion of greek letters in a
plot built with function pairs().
First of all, I have a matrix with 3 columns
and 1000 rows and I would like to use pairs() in order to plot points in the
upper panel and to compute correlation in the lower panel.
In
Good Morning to Everybody,
I am searching a function which could define a
vector of colors from a vector of gray, from white to black (not from black to
white as the function gray()).
I have to use it in the function image(),
parameter "col".
Thank You very much,
Enrico Foscolo
Good morning to all,
I should evaluate a function for every cell of a given
matrix with n rows and n columns.
This function, named fun(), has got two
arguments: the number of the row and the number of the column which
characterized every single cell.
So the result should be
fun(1,1) fun(1,2
Good morning to all,
I should evaluate a function for every cell of a given
matrix with n rows and n columns.
This function, named fun(), has got two
arguments: the number of the row and the number of the column which
characterized every single cell.
So the result should be
fun(1,1) fun(1,2
7 matches
Mail list logo