I think all you need is
bearing - function(x, y) atan2(y, x)*180/pi
This gives the bearing in degrees from the origin. If you wanted the bearing
from some other point, just take the differences:
bearing - function(x, y, origin = c(x=0,y=0))
atan2(y-origin[y], x-origin[x])*180/pi
Suppose DF is the data frame and someIDs is the vector
subDF - subset(DF, ID %in% someIDs)
Bill Venables
http://www.cmis.csiro.au/bill.venables/
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of desper
Sent: Tuesday, 28 July
I take it you want to split the matrix into sub-matrices for which some
collection of columns is constant. In your case this is the last four columns.
Here's an idea:
z - matrix(c(13,1,1,1,1,12,0,0,0,0,8,1,0,1,1,8,0,1,0,0,
+
?substring
Bill Venables
http://www.cmis.csiro.au/bill.venables/
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of jimdare
Sent: Tuesday, 28 July 2009 8:10 AM
To: r-help@r-project.org
Subject: [R] Split rownames into factors
Hello,
On 7/28/09, Albert EINstEIN sateeshvar...@gmail.com wrote:
clarification on output in R. I have generated summary statistics output for
dataset (E.g. sales) in output window. Now i want to store that output in a
html or pdf in a table format. if possible can any one provide code for
Dear Users
I have a dataframe called mydata4 of the following order with the first
column as a date and the rest of the columns are numeric with rate.
Column 1 Rate1 : Rate 20
(PxMid)
01/01/2003
07/01/2001
--
I wish to sort this dataframe on the first col in ascending order.
I
NativeBuff2003 wrote:
Sorry I'm new to the list and not great with R. My advisor performed
several for me but I am getting a different output when I try to reproduce
it.
2*(1-pt(-3.59,598))
0.000358 -his answer
[1] 1.999642 -my answer
I was working with a different data set in
Nair, Murlidharan T mnair at iusb.edu writes:
Alex Brenning, the developer of the RSAGA package told me that and I quote
the RSAGA package (which uses functions from the free geographical
information system [GIS] SAGA GIS) has a curvature function that is designed
to calculate the
I tried searching but I couldn't quite find what I was looking for.
Here's a dummy data matrix (with row and column labels):
y
0 1 2 3 4
21 3 4 8 5 5
22 3 6 8 6 NA
23 4 5 11 4 3
24 4 2 1 4 6
25 6 4 4 6 6
I can get cumulative row sums as follows:
cy-t(apply(y,1,cumsum))
cy
0
Sean Carmody wrote:
With an ordinary plot, to customise the axis it is possible to suppress
drawing the axis and then call Axis. I have been trying to change the
location of the y-axis on a plot.table plot to the right hand side, but
cannot even work out how to suppress drawing the
Erin Hodgess-2 wrote:
I have a barplot created from a table.
What is the best way to set up the barplot such that is shows
probability rather totals, please?
Maybe histogram or densityplot in lattice?
Dieter
--
View this message in context:
Hi Greg I saw, read, the TeachingDemos you suggesttef but when run pairs2
function on my R module says Can´t find function pairs2
How can I load the module or function pairs2?
Thanks in advance for your help.
You are the best.
2009/7/27, Greg Snow greg.s...@imail.org:
Look at the pairs2
Hi,
whenever
am trying to start R from excel, or by clicking the[ RExcel2007 with
RCommander] icon., i got the following messages boxes :
SCTools not available
then:
there seems to be no R process connected
to excel
though both r and excel starts after I click the Icon!!
Please help
Hassan
I have looked a bit more at this issue. Using new.env() I am able to put
new vars into the new environment by using the env$... syntax. This
allows to eliminate all variables in one step with rm(env), thus
fixing problem 2) in my original mail. Problem 1) though is unsolved, or
even worsened,
Hi
r-help-boun...@r-project.org napsal dne 28.07.2009 09:18:43:
I tried searching but I couldn't quite find what I was looking for.
Here's a dummy data matrix (with row and column labels):
y
0 1 2 3 4
21 3 4 8 5 5
22 3 6 8 6 NA
23 4 5 11 4 3
24 4 2 1 4 6
25 6 4 4 6 6
Hi
r-help-boun...@r-project.org napsal dne 28.07.2009 09:55:11:
Hi Greg I saw, read, the TeachingDemos you suggesttef but when run
pairs2
function on my R module says Can´t find function pairs2
How can I load the module or function pairs2?
Did you do
library(TeachingDemos)?
Regards
Petr
Have a look at Sweave (in the utils package) or the R2HTML package.
HTH,
Thierry
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature
and Forest
Cel biometrie, methodologie en
BertG == Bert Gunter gunter.ber...@gene.com
on Mon, 27 Jul 2009 15:30:08 -0700 writes:
BertG Nothing wrong with rolling your own, but see
BertG ?all.equal for R's built-in almost.equal version.
Yes, indeed! Note that that needs a little extra care, as it
either returns TRUE or a
-- Forwarded message --
From: alis villiyam aalisi...@gmail.com
Date: Mon, Jul 27, 2009 at 9:47 AM
Subject: randomized block design analysis in R
To: bol...@zoology.ufl.edu
Dear All user
Hello,
I'm a student and I have some trouble with the experimental
(columns-experiments)
How I can vary the parameters for a function?
I have a function with 5 parameters I want to turn the function for a range of
numbers for one of these parameters!! i want to have in the end the value of
the function in the different cas of one of the paramter (the others paramters
are
Hi
maybe outer?
Regards
Petr
r-help-boun...@r-project.org napsal dne 28.07.2009 11:36:10:
How I can vary the parameters for a function?
I have a function with 5 parameters I want to turn the function for a
range of
numbers for one of these parameters!! i want to have in the
Or you can have a look to ascii package (examples here
http://eusebe.github.com/ascii/or
herehttp://www.ncfaculty.net/dogle/fishR/bookex/AIFFD/AIFFD.html
).
david
2009/7/28 ONKELINX, Thierry thierry.onkel...@inbo.be
Have a look at Sweave (in the utils package) or the R2HTML package.
HTH,
i have a function who depends of many parameters and i want to have at the end
the result givien by this function for a different value of only one parameter
the others parameters are fixed.
thank you
i didn't understand your answer peter can you explain me?
thank you
Dear R-listers,
I want to reperfrom a poisson distribution test that presented in a
recent-published biological research paper (Plant Physiology 2008, vol 148,
pp. 1189-1200). That test is about the occurrence number of a kind of gene
in separate chromosomes.
For instance:
The observed gene
Dear Users
This is my dataset called mydata4. I want to sort the dataframe on the first
column PxMid which is basically a column with dates.
I've tried mydata4-mydata4[order(mydata4$PxMid),] but it doesnt work. Could
it be because these are dates?
Please help I'm really stuck !!
Thank you for
On 28-Jul-09 10:03:41, Mao Jianfeng wrote:
Dear R-listers,
I want to reperfrom a poisson distribution test that presented
in a recent-published biological research paper (Plant Physiology
2008, vol 148, pp. 1189-1200). That test is about the occurrence
number of a kind of gene in separate
Dieter Menne wrote:
With an ordinary plot, to customise the axis it is possible to suppress
drawing the axis and then call Axis. I have been trying to change the
location of the y-axis on a plot.table plot to the right hand side, but
cannot even work out how to suppress drawing the
cindy Guo wrote:
Hi, All,
I have a dataset with binary response ( 0 and 1) and some numerical
covariates. I know I can use logistic regression to fit the data. But I
want
to consider more locally. So I am wondering how can I fit the data with
'loess' function in R? And what will be the
prepending with env$ seems not so terrible.
Another form is:
with(e, ...stmt...) or
with(e, { ...stmt...; ...stmt...; ... })
where e is your environment.
On Tue, Jul 28, 2009 at 3:59 AM, Christian
Prinothchristian.prin...@epsilonsgr.it wrote:
I have looked a bit more at this issue. Using
Data Analytics Corp. wrote:
Hi,
I wrote a simple master function, run(), that has inside six qplot
functions. The goal is to type run() and have all six graphs appear as
separate windows so that I can copy them into PowerPoint for a client.
When I type run(), only the last graph
I am trying to continuously evaluate online created data files using
R-algorithms. Is there any simple way to let R iteratively check for new
files in a given directory, load them and process them?
Any help would be highly appreciated.
Best, A.
[[alternative HTML version
Hi all,
I'm having major difficulty using the rSymPy package this week, but I have
used it without problems before now. Here is an example of what's happening:
library(rSymPy)
Loading required package: rJava
sympy(var('a b c d'))
Error in .jcheck() : No running detected. Maybe .jinit() would
Try reviewing the Troubleshooting section on the rSymPy home page:
http://rsympy.googlecode.com/#Troubleshooting
On Tue, Jul 28, 2009 at 7:12 AM,
stenortsten...@merchantsconnected.org.uk wrote:
Hi all,
I'm having major difficulty using the rSymPy package this week, but I have
used it without
On Tue, Jul 28, 2009 at 12:04 PM, Andreas Poschandreas.po...@tugraz.at wrote:
I am trying to continuously evaluate online created data files using
R-algorithms. Is there any simple way to let R iteratively check for new
files in a given directory, load them and process them?
Any help would be
I am trying to continuously evaluate online created data files using
R-algorithms. Is there any simple way to let R iteratively check for new
files in a given directory, load them and process them? I am using R on
Windows XP.
Any help would be highly appreciated.
Best, A.
On 28-Jul-09 11:04:39, Andreas Posch wrote:
I am trying to continuously evaluate online created data files using
R-algorithms. Is there any simple way to let R iteratively check for
new files in a given directory, load them and process them?
Any help would be highly appreciated.
Best, A.
On 28-Jul-09 11:23:21, Barry Rowlingson wrote:
On Tue, Jul 28, 2009 at 12:04 PM, Andreas
Poschandreas.po...@tugraz.at wrote:
I am trying to continuously evaluate online created data files using
R-algorithms. Is there any simple way to let R iteratively check for
new files in a given
Hi
r-help-boun...@r-project.org napsal dne 28.07.2009 12:40:59:
Dear Users
This is my dataset called mydata4. I want to sort the dataframe on the
first
column PxMid which is basically a column with dates.
I've tried mydata4-mydata4[order(mydata4$PxMid),] but it doesnt work.
Could
it
I would greatly appreciate some example of correct usage of function unz.
I have to download and uncompress the following web compressef file:
ftp://ftp.sanger.ac.uk/pub/mirbase/targets/v5/arch.v5.txt.homo_sapiens.zip
I tried the following command that does not work:
Targets.rec - readLines(zz
Can someone advise me what the most sensible way is to read jpeg images?
For our work with image analysis and eye-tracking we have been using the
rimage package, on both Macs and Windows PCs. But while setting up a new
Windows machine yesterday, I see that rimage is regarded as
Hi,
I tried to load typing library(TeachingDemos)
But the message can´t find package TeachingDemos) occurs. I use versión
R 2.9 on windows.
Can you please guide me?
Sorry¡¡¡
2009/7/28, Petr PIKAL petr.pi...@precheza.cz:
Hi
r-help-boun...@r-project.org napsal dne 28.07.2009 09:55:11:
-- Forwarded message --
From: Dilip Bayas agrikonnect.dilipba...@gmail.com
Date: Mon, Jul 27, 2009 at 4:51 PM
Subject: Forecasting Inflation
To: r-help@r-project.org
Dear All,
I wanted to forecast Inflation for Indian Economy. please send what
techniques to be used after the
On 28-Jul-09 12:15:33, mau...@alice.it wrote:
I would greatly appreciate some example of correct usage of
function unz.
I have to download and uncompress the following web compressef file:
ftp://ftp.sanger.ac.uk/pub/mirbase/targets/v5/arch.v5.txt.homo_sapiens.z
ip
I tried the following
Hi Albert.
I also came across this:
http://cran.r-project.org/web/packages/hwriter/index.html
Which is very nice (although I still didn't play with it as much as I
wanted)
On Tue, Jul 28, 2009 at 7:56 AM, Albert EINstEIN sateeshvar...@gmail.comwrote:
Hi every one,
Thanks for every one who
On Mon, Jul 27, 2009 at 11:46 PM, Meenu Sahimeenus...@gmail.com wrote:
Dear Users
I have a dataframe called mydata4 of the following order with the first
column as a date and the rest of the columns are numeric with rate.
Column 1 Rate1 : Rate 20
(PxMid)
01/01/2003
07/01/2001
Dear Alisia,
These are not very easy questions to answer without detailed knowledge
on your design. That's probably why you did not get any responses so far
(I've seen your mail pop-up several times). I would recommend that you
seek guidance with your supervisor or with the local statistician.
Also see ?zip.unpack
On Tue, Jul 28, 2009 at 8:15 AM, mau...@alice.it wrote:
I would greatly appreciate some example of correct usage of function unz.
I have to download and uncompress the following web compressef file:
Andreas Posch wrote:
I am trying to continuously evaluate online created data files using
R-algorithms. Is there any simple way to let R iteratively check for new
files in a given directory, load them and process them? I am using R on
Windows XP.
See ?list.files and ?setdiff
Uwe Ligges
All,
I'm trying to truncate some lines that are added to an xyplot via
panel.abline to allow additional space for inserted text. According to
?panel.abline it seems like from and to will do the trick but it does
not work for the sample code below. Any hints much appreciated.
Cheers,
David
x =
ehux wrote:
I am new to the world of R/programming so this may be a really easy question.
I thank you for your patience and help in advance
I would like the characters km^2 to be displayed on the plot subtitle as km
squared - two as a superscript.
I would also like to have the numbers
Dear ALL,
In the Normal Linear Mixed Model (NLMM) we make the assumption that
the random effects are normally distributed. Is it possible to fit a
linear mixed model in R where the random effects are
assumed to have a Skew-Normal distribution? I am trying to reproduce
the results in the paper
On Tue, Jul 28, 2009 at 12:36 PM, Ted
Hardingted.hard...@manchester.ac.uk wrote:
However, this got me looking into '?list.files, and I see there
(R version 2.9.0 (2009-04-17)):
recursive: logical. Should the listing recurse into directories?
But:
Directories are included only if
Hi from Brazil,
I have installed the latest version of R in my system (WinXP SP3) but R
is constantly freezing. Sometimes it happens after loading a module,
sometimes it happens when I switch to an othe opened program, sometimes
after loading or saving a workspace or after viewing a plot and
I am new to R and would appreciate help in dealing with this problem.
I worked on a some African grasses and have a matrix based on TukeyHSD test
showing how the species differ from each other. A value of 1 means they
DON't differ significantly from each other, whiles 0 means they differ
Have you installed it first?
First:
install.packages(TeachingDemos)
Then:
library(TeachingDemos)
--- On Tue, 7/28/09, Jose Narillos de Santos narillosdesan...@gmail.com wrote:
From: Jose Narillos de Santos narillosdesan...@gmail.com
Subject: Re: [R] pairs plot
To: Petr PIKAL
Hello,
I need to implement a hierarchical model for Bayesian multinomial logistic
regression (also known as polytomous logistic regression). I plan to use
Gaussian priors. I have about 800 variables which are mostly dichotomous.
Some are integer valued.
What R package would you recommend?
Hi,
Thanks for your support. we are not getting any thing from your code. i.e.
we are unable to creating new package and adding dataset to that new
package. so can you help me out in other way i.e.
how to add a new dataset to default R distributions like cars and
datasets. these two are default
I'm running R for windows 2.9.1. When I use a script to download a file from
the internet, the file is 1,496 bytes larger than the reported file size in the
download process. It doesn't give the correct answer when I process it but it
doesn't appear to be completely corrupt as the processing
Hi,
Thanks for your support. we are not getting any thing from your code. i.e.
we are unable to creating new package and adding dataset to that new
package. so can you help me out in other way i.e.
how to add a new dataset to default R distributions like cars and
datasets. these two are default
We are happy to announce that the R user conference
useR! 2010
is scheduled for July 21-23, 2010, and will take place at the campus
of the National Institute of Standards and Technology (NIST) in
Gaithersburg, Maryland, USA.
As for the predecessor conferences, the program will consist of two
Hi,
This is Raj from ClinAsia and we have a small query with respect to R
Statistical Package.
Our Query:
Actually while opening R console and R commander we see some packages like car
and datasets. In these packages we have default datasets.
For example: Women and Prestige so on. Now we
How I can vary the parameters for a function?
I have a function with 5 parameters I want to turn the function for a range of
numbers for one of these parameters!! i want to have in the end the value of
the function in the different cas of one of the paramter (the others paramters
are fixes!!)
On Tue, Jul 28, 2009 at 09:23:58AM -0400, Afshartous, David wrote:
All,
I'm trying to truncate some lines that are added to an xyplot via
panel.abline to allow additional space for inserted text. According to
?panel.abline it seems like from and to will do the trick but it does
not work
How much RAM do you have on the machine?
On Tue, Jul 28, 2009 at 8:42 AM, Harerton Douradoharer...@terra.com.br wrote:
Hi from Brazil,
I have installed the latest version of R in my system (WinXP SP3) but R is
constantly freezing. Sometimes it happens after loading a module, sometimes
it
Hey,
I think I have a solution for your problem:
Correl-apply(DataArray_1,1:3, function(d1)
apply(DataArray_2,c(2,1,3), function(d) cor(d1,d))
)
Correl-Correl[1:4,,,]
dimnames(Correl)[[1]]-c
Correl-aperm(Correl,c(2,3,1,4))
This one should work. :-)
Best Regards,
Christian
Sauvik De schrieb:
Thank you for your replay Bert. You are right, is complicated to get a good
response when people do not know how the experiment was conducted, etc. The
main problem, maybe, is that this experiment has a wrong design being
complicated to get some good conclusion from it. I read this forum
David,
?panel.abline does not indicate that 'from/to' are arguments to
that function. If you read the help page carefully, you'll see
that 'from/to' apply to panel.curve(). Perhaps you thought that
the '...' argument can take 'from/to'; again the help page makes
it clear that those are to be
Hi,
I am trying to use the splinedot kernel as part of the kernlab package, but
I get the following error:
Error in votematrix[i, ret 0] - votematrix[i, ret 0] + 1 :
NAs are not allowed in subscripted assignments
The parameters that I have used to build the model are:
On Tue, 2009-07-28 at 04:54 -0700, Albert EINstEIN wrote:
Hi,
Thanks for your support. we are not getting any thing from your code. i.e.
we are unable to creating new package and adding dataset to that new
package. so can you help me out in other way i.e.
how to add a new dataset to default R
On 28-Jul-09 13:40:31, Barry Rowlingson wrote:
On Tue, Jul 28, 2009 at 12:36 PM, Ted
Hardingted.hard...@manchester.ac.uk wrote:
However, this got me looking into '?list.files, and I see there
(R version 2.9.0 (2009-04-17)):
_recursive: logical. Should the listing recurse into directories?
Hello,
I have output that I want to print out. I am having a few issues.
1] output u to power is really nothing more than a 2 x 11 set of values
formed using cbind function
and printed out as a data frame
How can I get it to output over several lines such as seen here?
2] Critical Z
On 28-Jul-09 08:28:22, Inchallah Yarab wrote:
How I can vary the parameters for a function?
I have a function with 5 parameters I want to turn the function for a
range of numbers for one of these parameters!! i want to have in the
end the value of the function in the different cas of one of
I found the 'biOps' package for Image and data analysis quite helpful.
(I did some astronomical investigations with it --- counting galaxies in
a Hubble picture---and I do recommend this package.)
Under Windows you have to unpack the 'libjpeg' and 'libtiff' libraries
beforehand somewhere in
We cannot know without seeing your script.
Uwe Ligges
DeWitt Payne wrote:
I'm running R for windows 2.9.1. When I use a script to download a file from
the internet, the file is 1,496 bytes larger than the reported file size in the
download process. It doesn't give the correct answer when
Hi
If you want to use brute force without much knowledge about packages
make your own directory in librarary directory
select any package in your library directory and copy it to directory you
just made
leave only INDEX and DESCRIPTION files and R and Data directorires
change DESCRIPTION file
On Tue, Jul 28, 2009 at 6:58 AM, Peter Ehlersehl...@ucalgary.ca wrote:
David,
?panel.abline does not indicate that 'from/to' are arguments to
that function. If you read the help page carefully, you'll see
that 'from/to' apply to panel.curve(). Perhaps you thought that
the '...' argument can
r-help-boun...@r-project.org napsal dne 28.07.2009 15:39:03:
Have you installed it first?
First:
install.packages(TeachingDemos)
Or if you have problems with correct setting through corporate network
rules (like myself) you can download a zip (for Windows) version and unzip
it to
sub = sprintf('Seasonal station with natural streamflow - Lat: %s Lon: %s
Gross Area %s km^2 - Effective Area %s km^2',
stn[['metadata']][['latitude']],
stn[['metadata']][['longitude']],stn[['metadata']][['grossarea']],
stn[['metadata']][['effectivearea']]),
I tried
Actually, loess is much more than an interpolant. I wouldn't
even call it that. It is a local regression technique that comes
with all the equipment you get in classical regression. But it
is meant for normal-like errors, which is not what you have.
-- This is misleading. The local
mik07 wrote:
Hi,
this is more a general statistics question I think.
I am working on a system which automatically answers user questions (such
systems are commonly called Question Answering systems).
I evaluated different versions of the same system on a publicly available
test set.
Hi,
this is more a general statistics question I think.
I am working on a system which automatically answers user questions (such
systems are commonly called Question Answering systems).
I evaluated different versions of the same system on a publicly available
test set.
This set contains 500
Hello to all,
I am trying to use the spherical wavelets package on my altimetry data.
I am having some problems now and then.
Currently I am having an error of
error in matrix(0,KK,JJ) : too many elements specified
there is a thread of possibly same error
Hi,
I'm using the RODBC package to read Excel files in Windows. I would like to do
it in Linux. What´s the best way to read Excel files in Linux?
Thanks in advance,
Srpd
_
y-edit.aspx
Are X1 and X2 both numeric? You might want to get them on equivalent
scales, and also play around with the smoothing parameter.
Try something like:
fit - locfit(Y ~ lp(X1, X2, nn=___, scale=TRUE), family=binomial)
and see what happens for different values of nn (try values between 0
and 1
I am currently summarising a data set by collapsing data based on common
identifiers in a column. I am using the 'aggregate' function to summarise
numeric columns, i.e. aggregate(dat[,3], list(dat$gene), mean). I also wish
to summarise text columns e.g. by concatenating values in a comma
The read.xls function in the gdata package can read Excel 2003 files
on all platforms.
On Tue, Jul 28, 2009 at 10:11 AM, srpd TCLTKsrpd2...@hotmail.com wrote:
Hi,
I'm using the RODBC package to read Excel files in Windows. I would like to
do it in Linux. What´s the best way to read
Hi
r-help-boun...@r-project.org napsal dne 28.07.2009 17:34:35:
I am currently summarising a data set by collapsing data based on common
identifiers in a column. I am using the 'aggregate' function to
summarise
numeric columns, i.e. aggregate(dat[,3], list(dat$gene), mean). I
also wish
Just to expand a little.
Your original question also asked if there is a way to specify which figure to
plot in next. If you use par(mfrow=c()) (or mfcol), then you can use
par(mfg=c()) to specify which figure to plot next.
There is also the split.screen approach where you can split the
-Original Message-
From: r-help-boun...@r-project.org
[mailto:r-help-boun...@r-project.org] On Behalf Of Barry Rowlingson
Sent: Tuesday, July 28, 2009 6:41 AM
To: ted.hard...@manchester.ac.uk
Cc: r-help@r-project.org; Andreas Posch
Subject: Re: [R] check for new files in a given
Bert Gunter gunter.berton at gene.com writes:
Actually, loess is much more than an interpolant. I wouldn't
even call it that. It is a local regression technique that comes
with all the equipment you get in classical regression. But it
is meant for normal-like errors, which is not
Dear Adrian Dusa, others,
I've recently started to learn R in order to use the QCA package because
i think it might offer what other QCA packages don't: possibilities for
quite a few conditions and large n. However, can someone tell me approx.
how much RAM i need to run QCA on set of +/-
You are probably going to get tons of answers, as there are many ways -- and
packages -- to do this (e.g. see packages reshape and plyr). However, you
might want to take a look at ?tapply, for which aggregate() is a wrapper,
for the basic core R approach.
Bert Gunter
Genentech Nonclinical
If you want to have a gui that allows you to change parameter values using
buttons/sliders/etc. and see what the effects are, then look at the tkexamp
function in the TeachingDemos package (see the examples on the help page).
If you have a predetermined set of values for the parameter of
Hi all, I was trying to draw a stacked density plot like that :
library(ggplot2); library(plyr)
dat - cbind(rnorm(300), rep(c(1,2), each=150))
ggplot() + geom_density(aes(x=dat[,1], fill=factor(dat[,2]),
position=stack)) +
xlab() + ylab() +
scale_colour_manual(name = Pallet,
Dear ALL,
In the Normal Linear Mixed Model (NLMM) we make the assumption that
the random effects are normally distributed. Is it possible to fit a
linear mixed model in R where the random effects are
assumed to have a Skew-Normal distribution? I am trying to reproduce
the results in the paper
Look up the McNemar test. That sounds right...
Daniel
-
cuncta stricte discussurus
-
-Ursprüngliche Nachricht-
Von: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Im
Auftrag von mik07
Gesendet: Tuesday, July 28, 2009
Mika
Are you familiar with item response theory? You might consider functions
in ltm or MiscPsycho for dealing with binary response data.
-Original Message-
From: r-help-boun...@r-project.org
[mailto:r-help-boun...@r-project.org] On Behalf Of mik07
Sent: Tuesday, July 28, 2009
quick question, i am trying to get an interval of values now with
this code by toggling the tolerance limit. is there any way i can
modify this code to find values which are within limits of BOTH
latitude and longitude? currently i have to pick one or the other.
It's not really clear
Hi Ron,
I'm not sure why ylab doesn't work. Maybe a bug. I note the label
doesn't get removed with labs() either. However using
scale_y_continuous(name=) does remove the label.
For the legend, you are using a fill scale, not a colour scale i.e.
fill=factor(dat[,2]), not
Dear R users...
I'd like to change this character vector, zz,
zz - c(12,56,89)
to the following numeric matrix.
[,1] [,2]
[1,]12
[2,]56
[3,]89
Actually, zz vector has a long length.
Any comments will be greatly appreciated.
Kathryn Lord
--
View this
1 - 100 of 178 matches
Mail list logo