  | |  | rhelp | Hi All
I was wondering how to get the same results with gls and lme. In my lme the
design matrix for the random effects is (should be) a identity matrix and
therefore G should add up with R to proDear R-list
I apologize for my many emails but I think I know how to desctribe my
problem differently and more clearly.
My question is how to compare linear models with intercept and those without
Are you sure that there are tabs?
try sep " "
?read.table seems to say that this should work
Otherwise try read.delimited.
--- Yong Wang <wangyong1@(protected) > wrote
> Dear all
> I have a tDear all
I have a tab delimited file as following
AGE WEIGHT PROTEIN ........
6 20 3 ........
8 39 4 ........
I tried to read it as following
data <- read.table(file sep "\t " header T)
buDear Statistics-Experts
Assume you have given a new and untested pseudo-random number
generator (prng) and you want to test if it "works ". The distribution
function (cdf) from which the prng is Is there any way to run an R script without running R?
As an example suppose I have a tcl/tk interface that asks
for a number (in a GUI) and displays its factorial. Is there a
way to invoke this scrThis seems like it 's easy but I can 't seem to get it.
My equation is (a^b)/c d.
I know that I can solve for b via
log(d*c) / log(a) b
However I don 't really have d in the first place Hi R-users
How do I calculate a number of NA 's in a row of every second column in my
data frame?
As a starting point
dfr <- data.frame(sapply(x function(x) sample(0 x 6 replace TRUE)))
dfr[dfHello
A weird thing is happening to me. I have a 128x128 elements matrix m
with values between 0 and 1. If I do
R > library(lattice)
R > contourplot (m cuts 9)
I get the following error
Hi. I nearly have Rserve working....
I have the dialog box which says..
Rserve Ok read to answer queries.
Having read all i can find I followed the guidance given on
http //rosuda.org/Rserve/exHi
I am new to Latex and in the process of installing miktex to work with R on
windows XP professional. From earlier posts I see that fptex was the
preferred version but it is no longer availaHi!
I want to do a ks.test of some sample data say "x " against a
theoretical distribution e.g. a Weibull.
So suppose we have these data
set.seed(1)
x <- rweibull( 200 1.3 8.7 )
1. Is it bethank you to both Adaikalavan and Patrick.
on the basis of Adaikalavan example this is an example that point out my problems.
>log_raise function(num exp base){return(log(num^exp base))}
I woulDear Dimitri
if you wish single the correlations can use the following script
a <-1 10
b <- rnorm(10)
c <- rbinom(10 8 0.3)
d <- rpois(10 8)
corr <-cor( cbind(a b c d) )
round(as.dist(corr) 2) # or I presume you want to generate normally or t-distributed values ? If so
either have a look mvrnorm in the MASS package or the mvtnorm package.
Dimitri Liakhovitski wrote
> Hi!
> I was wondering iHi!
I was wondering if there is a package in R that allows one to create a
multivariate data set with pre-specified intercorrelations among
variables e.g. a set of 4 variables (with a length of N eaPlease help
I have a strange problem. I 've got a balanced panel data set. I use dummy
variable regression and I 've got results with lm function.
summary(lm(y ~ post + t19961 + t19962 + t19963 + t19Hi
I 'm relative new to R.
I 'm looking for a convenient way to calculate sensitivity and
specificity in machine-learning models (SVM ...). In a two-class case
it 's quite simple by calculating the TPHi
I have a very simple question which I can 't see
how to figure out.
Basically I have a matrix of plots but I want
no margin space in between them. I want a wide
right margin (outside of the bDear R users
I need to create a set of function to solve some tasks. I want to leave the operator to decide whether uses default parameters or change it so the functions may have some optional fiel
Hi I have also tried to install the Rserve package on my machine. I am able
to load with with library(Rserve) but when I trype Rserve() to start the
server I get the following message
> Rserve()
Hello
I have a n*2 matrix called "plan " which contains n observations from 2 variates.
I want a kernel density estimate of the joint distribution of these 2 variates.
I try density(plan). UnI try to code the ULS factor analysis descrbied in
ftp //ftp.spss.com/pub/spss/statistics/spss/algorithms/ factor.pdf
# see PP5-6
factanal.fit.uls <- function(cmat factors start NULL lower 0.005
Hi.
I have downloaded SJava from http //www.omegahat.org/RSJava/ as well as all
of the tools required. I have done exactly what is said on that page as well
as http //www.murdoch-sutherland.com/RtooDear list
I did not get any response yet but after looking around R and other things I came up with something that works.
Basically I use the rgb() function in R [though I could also use the hs
On 18 May 2007 at 20 25 Erin Hodgess wrote
| Dear R People
|
| I 'm working with R on the latest version of Ubuntu.
|
| However I can 't get graphics to appear even with the
| simplest plot commDear r helper
are their any package in R in which i can find
penalized maximum likelihood estimator with beta pdf
from generalized extreme value distribution? i tried
to find out the package from CRADear R People
I 'm working with R on the latest version of Ubuntu.
However I can 't get graphics to appear even with the
simplest plot commands.
Has anyone run into that please?
I 'm using R-2.5.Hi
I have a matrix of data from from several groups. I need to center the
data by group subtracting the group median from each value initially
for two groups at a time. I have a working function tHi
I have a set of 4 graphs and I need to add a legend
that is shared by those 4 graphs. This is what I
tried
>locator(1) # I placed the cursor in the center of the
4 graphs
$x
[1] 9.299001
$y |
|
 |