Displaying 4 results from an estimated 4 matches for "onesid".
Did you mean:
onesie
2008 Feb 24
0
problem with ML estimation
...m going wrong.
############################################################
library(MASS)
Sigma <- matrix(c(4,2.8,2.8,4),2,2)
y<-mvrnorm(n=1000, rep(0, 2), Sigma)
mlebinorm<- function(startval, y)# startval = Initial Values to be passed ,
y= data
{
startval<-as.numeric(startval)
oneside=matrix(c(0,0,0,0,-1,0,0,0,0,1),5,2)
otherside = c(-0.9999999,-0.999999)
n<- ncol(y)
nf<- function(x)
{
mu1<-x[1]
mu2<-x[2]
sig1<-x[3]
sig2<-x[4]
rho<-x[5]
nf<-(-n/2)*(log(sig1*sig2*(1-rho^2)))-(0.5/(1-rho^2)*
(((y[1,1]-mu1)^2/sig1)-
(2*rho*(y[1,1]-mu1)...
2011 Nov 21
1
Lattice graph help
Hi all
I hope you might help me with some aspects of producing a graph in lattice. There are three things I have struggling with and that is: 1. to separate the horizontal box rows from each other; 2. to change the colour of the horizontal and vertical strips to white; and 3. to place the axes labels on the left y axes and on the bottom x axes. I would really appreciate some help. I have put the
2007 Jul 18
1
possible bug R CMD check: No space(s) allowed after \VignetteDepends{}
...quot;\\{([^}]*)\\}", sep
= "")
becomes:
vignetteMetaRE <- function(tag)
paste("[[:space:]]*%+[[:space:]]*\\\\Vignette",
tag,"\\{([^}]*)\\}[[:space:]]*", sep = "")
Details:
The test package I'm using has only one vignette:
\documentclass[oneside,letterpaper,12pt]{book}
%\VignetteIndexEntry{some entry}
%\VignetteDepends{stats}
%\VignetteKeyWords{mymodel}
%\VignettePackage{testpkg}
\begin{document}
<<test>>=
print("test")
@
\end{document}
R CMD build, R CMD check and R CMD INSTALL run successfully.
If I add an extra...
2010 Dec 23
1
Running sweave automatically using cygwin
...er the use of 'R'!
Quiting.
=========================================
I don't know what is the problem. Could you please help me? Below you
find my Rnw code and the data for running sweave.
Best regards,
Raquel
========================================
Rnw file
\documentclass[12pt,oneside,a4paper]{article}
\usepackage[latin1]{inputenc}
\usepackage[brazil]{babel}
\usepackage{amsthm,amsfonts,bm}
\usepackage{graphicx}
\usepackage[T1]{fontenc}
\usepackage{ae}
\usepackage[alf,bibjustif,recuo=1cm]{abntcite} %bibliografia da ABNT
\usepackage{setspace}
\usepackage[charter]{mathdesign}
\use...