Dear Ayah,
On Saturday 31 January 2009, Ajay ohri wrote:
Hi,
have you looked at the third party SAS language compilers WPS ( 600 dollars
per desktop version http://www.teamwpc.co.uk/home/ ) and Carolina (
http://dullesopen.com/) http://dullesopen.com/
http://dullesopen.com/
if you need
Personal invitation from srinivasa raghavan
[[alternative HTML version deleted]]
__
R-help@r-project.org 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
Dear Frank,
I understand. Never used SAS before, so I don't have it installed anywhere.
StatTransfer is a very useful tool indeed, but maybe I don't know how to use
it properly.
What I have is a mydata.sas7bdat file, along with a formats.sas7bcat file.
I specified reading SAS value labels Read
John,
I installed the psych package and all it's dependencies. Then following the
psych manual, I type
thurstone(x, ranks = FALSE, digits = 2)
the result is
Error: could not find function thurstone
Any suggestions?
Best,
Jared
John Fox-6 wrote:
Dear Jared,
See ?thurstone in the
I am using R 2.8.1...Sometimes it is happening that I am trying to import
some text files into R but it is not working...But sometime it is
working..I am using the syntax: mydata = read.table( file.choose(), skip = 1
)..someone please help me..you can also suggest a better syntax for
importing
I have found something there :
https://lists.r-forge.r-project.org/pipermail/roxygen-devel/2009-January/16.html
In order to do static callgraphs, the package itself has to be loadable;
that's unfortunate in the sense that you may have to install the package
before generating the docs.
But I
On 2/2/2009 8:46 AM, Kevin E. Thorpe wrote:
I tried to use write.foreign() to export to SAS this morning and got an
error.
When I looked at the code for writeForeignSAS() I saw this line:
dfn -df
which I think should be
dfn - df
So, I tried to run update.packages() to see if there was an
Hi,
I'm trying to concatenate values from two columns in a data frame. For
example, I have the following data.frame:
C1 C2 C3 C4 C5
A B *F C* Q
G H *I J* T
K D *R S* E
P L *M N* O
I'd like to concatenate text from columns C3 and C4, to yield either a
list
Dear Andrew,
Have a look at ggplot2
library(ggplot2)
ggplot(curr_assoc, aes(x = BP, y = P, colour = FILE)) + geom_point() +
scale_y_log10()
HTH,
Thierry
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek
Dear R-experts,
I'm having some doubts concernig the scores function of the outliers
package. I don´t understand the results when I select the p-value option on
a sample, ie, when I use scores(x,(method),1). The help on the function
says that the output are the p-values associatted to the sample.
We often get emails like the first in this thread that R could do with
an update on homepage design (I fully agree) ... but actually nobody
volunteers to do it. Hence, we still have what I did when the
worldwide number of R users was probably less than 1000.
Well I've volunteered a couple of
On Fri, Jan 30, 2009 at 3:49 AM, David Hajage dhajag...@gmail.com wrote:
Hello useRs,
I'm trying to use the Roxygen package.
Here my code file :
#' A packge to check Roxygen's sanity
#' @name helloRoxygen-package
#' @docType package
NA
And my R code to generate the package :
Thank you Hadley!
2009/2/2 hadley wickham h.wick...@gmail.com
On Fri, Jan 30, 2009 at 3:49 AM, David Hajage dhajag...@gmail.com wrote:
Hello useRs,
I'm trying to use the Roxygen package.
Here my code file :
#' A packge to check Roxygen's sanity
#' @name helloRoxygen-package
#'
Hi,
I have a very basic question on merging two matrices by alternating the
rows. For illustration, assume two matrices -
A looks like:
10 10
10 10
B looks like:
20 20
20 20
How do I combine them such that I get alternating rows from A and B? My
final result should be C which looks like:
Prof Brian Ripley wrote:
On Mon, 2 Feb 2009, Duncan Murdoch wrote:
On 2/2/2009 8:46 AM, Kevin E. Thorpe wrote:
I tried to use write.foreign() to export to SAS this morning and got
an error.
When I looked at the code for writeForeignSAS() I saw this line:
dfn -df
which I think should be
Hadley and Thierry, thank you ggplot2 is a great package and this worked
perfectly.
On 2/2/09 10:10 AM, hadley wickham h.wick...@gmail.com wrote:
On Mon, Feb 2, 2009 at 8:56 AM, Andrew Singleton singl...@mail.nih.gov
wrote:
Hi, I have been trying unsuccessfully to plot data using
Hi
r-help-boun...@r-project.org napsal dne 02.02.2009 16:52:06:
Hi,
I have a very basic question on merging two matrices by alternating the
rows. For illustration, assume two matrices -
A looks like:
10 10
10 10
B looks like:
20 20
20 20
How do I combine them such that I
Hi.
I have two variables, x and y, that are each normally distributed with
mean 0 and have known standard deviations. The variables also have a
known correlation, so I can represent their correlations in a matrix
like so:
a - array(c(0.3,0.1,0.1,0.2),c(2,2))
a
Is there an R function that
Dear Eric,
See ?mvrnorm in the MASS package.
HTH,
Jorge
On Mon, Feb 2, 2009 at 11:15 AM, eric lee ericlee...@gmail.com wrote:
Hi.
I have two variables, x and y, that are each normally distributed with
mean 0 and have known standard deviations. The variables also have a
known
Hi: I am experiencing a problem with dataset diamonds in ggplot2. When
trying execute the summary(diamonds) statement, the following error message
is displayed:
Error in summary(diamonds) :
Cannot open file
'C:/Users/James/R_Pgms/R/R-2.8.1/library/ggplot2/data/Rdata.rdb': No such
file or
I'm looking at ggplot-static\position_dodge.html
For ggplot(diamonds, aes(x=price, fill=cut)) + geom_bar(position=dodge) , is
it possible to specify the spacing between the dodge'd bin groupings?
That is, I would like for there to be a small separation (horizontal
space) between the Ideal
eric lee ericlee100 at gmail.com writes:
[snip]
Is there an R function that generates random values for my two
variables given the correlation? I'd like to do this for up to 5
variables and I'm running version 2.7.2 on a windows platform.
Thanks.
?MASS::mvrnrom
On 02/02/2009 8:16 AM, Paulo Grahl wrote:
Dear list members,
Does anyone know how to use rm() to remove only variables but not
declared functions from the environment ?
I understand I could name all the functions with, let's say
f_something, make sure that all variables do not start with f_ and
Hi Jason,
On Mon, Feb 2, 2009 at 9:10 AM, Jason Rupert jasonkrup...@yahoo.com wrote:
I'm looking at ggplot-static\position_dodge.html
For ggplot(diamonds, aes(x=price, fill=cut)) + geom_bar(position=dodge) ,
is it possible to specify the spacing between the dodge'd bin groupings?
That is,
Hi,
Perhaps this can help if you don't want to manually specify the
permutation of indices,
A=matrix(10,ncol=2,nrow=2)
B - 2*A
C - rbind(A, B)
C[ as.vector(t(matrix(seq(1,nrow(C)),ncol=2))), ] # trick to create
the vector of permutations
[,1] [,2]
[1,] 10 10
[2,] 20 20
Others have confirmed that you use the predicted values plus permuted residuals
is the new y variable and also referred you to some other articles.
On the question of does this work for mixed effects models: That is a good
question, and it depends on what question you are trying to answer and
Try this:
matrix(rbind(x, y), nc = 2, byrow = TRUE)
On Mon, Feb 2, 2009 at 10:52 AM, Shruthi Jayaram
shruthi.jayaram...@gmail.com wrote:
Hi,
I have a very basic question on merging two matrices by alternating the
rows. For illustration, assume two matrices -
A looks like:
10 10
10 10
Sorry, there was an error. Try this:
x - matrix(1:4, 2)
y - 10 * x
matrix(t(cbind(x, y)), nc = 2, byrow = TRUE)
On Mon, Feb 2, 2009 at 12:32 PM, Gabor Grothendieck
ggrothendi...@gmail.com wrote:
Try this:
matrix(rbind(x, y), nc = 2, byrow = TRUE)
On Mon, Feb 2, 2009 at 10:52 AM, Shruthi
Hello All,
A colleague of mine started working with R and out of curiosity I did
some research on the language. Very nice. In my opinion this is one
of the best languages I've found for getting tasks I'm interested in
done. I wrote this simple die roller and was curious to know if it
This appears to work great.
However, is there a way to programmatically to extract the bin size that ggplot
selected in order to be able to change this for multiple data sets?
Similarly, is there a way to determine the number of count in each bin that
ggplot establish? I wanted to change
On Saturday 31 January 2009, Erik Iverson wrote:
Dylan,
Can you confirm that you've done that before while tunneling R graphics
over ssh? I thought I'd tried and screen and failed with a similar message
when using graphics as Adam had. I could be wrong though.
Ack. Maybe I spoke too soon.
Hi everybody,
Suppose I have continuous measurements of an energy waveform that is sampled
discretely for different heights every 0.5m. Let's say I want to find out the
height for which I have equal amount of energy above and below.
My colleague did the following:
a. calculate the
On Mon, Feb 2, 2009 at 8:56 AM, Andrew Singleton singl...@mail.nih.gov wrote:
Hi, I have been trying unsuccessfully to plot data using different colors
based on a variable within a subset of an imported file. The file I am
reading is about 2 lines long and has a column (in the example
Try this:
matrix(sample(dsize, nrolls * ndice, replace = FALSE), nrolls, ndice)
On Mon, Feb 2, 2009 at 12:39 PM, Joe Hughes joe.hug...@earthlink.net wrote:
Hello All,
A colleague of mine started working with R and out of curiosity I did
some research on the language. Very nice. In
I am using the package Design for survival analysis. I want to plot a
simple Kaplan-Meier fit of survival vs. age, with age grouped as
quantiles. I can do this:
survplot(survfit(Surv(time,status) ~ cut(age,3), data=veteran)
but I would like to do something like this:
Gabor,
Shouldn't the replace be TRUE instead of FALSE? I get this error
Error in sample(6, 28, replace = FALSE) :
cannot take a sample larger than the population when 'replace =
FALSE'
when I use FALSE. I don't get the error when it is TRUE. Examining
my mental model of what
There has already been good discussion on this topic, but here are a couple of
other things to think about:
1. is it your job to convince your IT department, or is it your job to convince
your boss, and your boss's job to convince/dictate to the IT department
(getting your boss on your side
Yes, it should be TRUE.
On Mon, Feb 2, 2009 at 1:16 PM, Joe Hughes joe.hug...@earthlink.net wrote:
Gabor,
Shouldn't the replace be TRUE instead of FALSE? I get this error
Error in sample(6, 28, replace = FALSE) :
cannot take a sample larger than the population when 'replace =
Dear R help,
I am analyzing sequences of events described by time and a unique event tag. And
I am searching for recurring patterns where patterns have to show up in a
certain time window, e.g. 5 or 10 minutes. Of course, inbetween these events
other events may occur.
I have applied basket
If you want to keep the functions, why not move them to a different environment
so that they don't get deleted when you delete everything else (this will also
work better if you want to use these same functions in other R sessions).
The most comprehensive way to do this is to create a package
Yikes.
On closer inspection this causes there to be a noticeable amount of overlap of
the various vertical bars. Speccifically, it appears that the second overlaps
the first, the third overlaps the second, etc. This is much more noteable for
a data set with a smaller x-axis.
Thanks
I hope this is not a stupid question, but I am having difficulty
importing data from sources like CDs, HDD, or flashcards. Can anyone
help ?
Joe
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
Dear R users,
RMySQL 0.7-3 has been released. Expect it to hit the CRAN mirrors
shortly, but in the mean time please get it here:
http://biostat.mc.vanderbilt.edu/RMySQL
From the NEWS file:
Version 0.7-3
* Added mysqlClientLibraryVersions() which returns the compiled and
loaded client
On Sat, 31-Jan-2009 at 03:16PM -0800, Adam D. I. Kramer wrote:
[]
The problem, and maybe I'm just whining here, is that because the
data sets are large this takes several minutes where I'm basically just
sitting around. This happens once every other day as the VPN software I'm
Plain HTML coding is simple enough for this list ( I think)...but aesthetic
designhmm
But a contest would the best way to get the best design and can be
publicly asked from the graphics community ( not just the R
community)..remember Tom Sawyer and the fence :)
- I volunteer in both cases
I am trying to change the attributes of the lowess lines fit to an
xyplot command, but have been unsuccessful in my search of the online
help. Right now, both the points and lowess line come out in the same
color (blue). I am unsure how I can change the properties of the lowess
line separately.
If you are interested in rolling dice with R (as opposed to using this as a
simple test case to start writing your own programs), then you may want to look
at the dice function from the TeachingDemos package. The core line in this
function is basically the same as Gabor's suggestion, but with
?lattice::shingle
Hope that helps, if not, give more detail/example.
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
project.org] On
Joe Hughes wrote:
#
function(die_size, number_of_dice, number_of_rolls)
{
you may want to replace
rolls - array(0, dim=c(number_of_rolls, number_of_dice))
for (i in 1:number_of_rolls)
{
rolls[i,] - sample(die_size, number_of_dice, replace=TRUE)
}
with,
I won't burden the list with copies of earlier posts -- all of us have
experienced the frustration of dealing with folk who want to make their
life easier by making ours difficult. However, I have noted that a few
folk are starting to change attitudes. I was hired to give a training
session last
friedrich.lei...@stat.uni-muenchen.de wrote:
On Mon, 2 Feb 2009 18:14:03 +0530,
Ajay ohri (Ao) wrote:
Plain HTML coding is simple enough for this list ( I think)...but aesthetic
designhmm
In most cases one can do more than most think using HTML and CSS: Our
universities corporate
Eleni Rapsomaniki wrote:
I am using the package Design for survival analysis. I want to plot a
simple Kaplan-Meier fit of survival vs. age, with age grouped as
quantiles. I can do this:
survplot(survfit(Surv(time,status) ~ cut(age,3), data=veteran)
but I would like to do something like this:
Adrian Dusa wrote:
Dear Frank,
I understand. Never used SAS before, so I don't have it installed anywhere.
StatTransfer is a very useful tool indeed, but maybe I don't know how to
use it properly.
What I have is a mydata.sas7bdat file, along with a formats.sas7bcat
file.
I specified
You'll need a custom panel function. It would also help if you
provided a reproducible example:
xyplot (
SnowLineElevation ~ Year | Model,
data = data,
panel = function(x, y, col, ...) {
col - ifelse(panel.number() == 1, red, green)
panel.xyplot(x, y, col = blue, ...)
Thanks Greg.
I did in the past looked into the details of how to create a package.
I did not seem too complicated, but it would be time consuming -- an
then when one thinks in creating a package (even for his own use) it
always a good idea to check for wrong inputs, to have all functions
well
All,
Thanks for taking the time to reply. I understand a bit more about R
and the R way then I did before.The final function looks like this:
##
#
# Input:
# die_size - 4, 6, 8, 10, 20
# number_of_dice -
On 2/02/2009, at 4:29 PM, Murray Cooper wrote:
I was about to post a similar reply.
Stavros's reply was very eloquent and should be taken to heart!
I would just like to say that in my very humble opinion Stavros's
reply was utter nonsense. It was the sort of excuse-making favoured
by
On 2/02/2009, at 3:52 PM, Ajay ohri wrote:
Dear List,
One persistent feedback I am getting to people who are newly
introduced to R
( especially in this cost cutting recession) is -
1) The website looks a bit old.
While the current website does have a lot of hard work behind it,
should
Perhaps rather than globally saying it is utter nonsense you would
care to refute what you think is wrong about it?
-s
PS Tyrants? Wow, we are really dramatizing life at work now
On Mon, Feb 2, 2009 at 3:14 PM, Rolf Turner r.tur...@auckland.ac.nz wrote:
On 2/02/2009, at
Indeed, I am running R in screen. That is the context in which this error
occurs.
The problem is that screen passes $DISPLAY as the $DISPLAY for the actual
terminal. So when the ssh session dies, the X11 connection is broken.
The REST of R works fine...which is why I use screen in the first
I haven't had much luck with a custom panel function; mainly because I
don't truly understand how to embedd the functionality into the xyplot
command.
Here's a reproducible example if you can help out.
Thanks,
Dave
library (lattice)
d - NULL
models - c('A','B','C','D')
n = 100
for (i in
venkata kirankumar kiran4u2all at gmail.com writes:
I am trying to parse a vector for caliculating minimum in that vector the
vector having values like
1Kontrolle
2 Placebo
3 125mg/kg
4 250mg/kg
5 500mg/kg
61000mg/kg
hear i tries for
It is not transposing (it just looks that way). The first result is a vector
which is 1 dimensional, but is neither a row or a column. The printed version
of it looks like a row, because that is a more compact representation. If you
sample enough points you will see it wrap around and be
Does this do what you want? The panel argument has the custom pane
function I referred to before.
Col - c(red, green, blue, purple)
xyplot (
SnowLineElevation ~ Year | Model,
data = d,
panel = function(x, y, col, ...) {
Col - Col[panel.number()]
panel.xyplot(x, y, col = blue, ...)
Hello-
I am using R to build my initial models, but need to use AMOS to compare
the models of two groups (adults vs. kids). The problem is I am getting
different results with R and AMOS for the initial models of the separate
groups (and the R results make more sense).
The parameter
Sundar,
That is exactly what I was hoping for.
Thanks for your help!
Dave
-Original Message-
From: Sundar Dorai-Raj [mailto:sdorai...@gmail.com]
Sent: Monday, February 02, 2009 12:47 PM
To: Hutchinson,David [PYR]
Cc: r-help@r-project.org
Subject: Re: [R] xyplot with lowess curves
Dear All,
I have a data frame (mydata), with let say 5 columns V1,V2,...,V5.
(we know the power set of {V1,V2,..,V5} has 2^5-1 elements). I need
to construct a vector T of length 5 which its i-th element is the
maximum of (let say) mean values obtained based on the columns subset
of size i.
I
Never mind, as you can tell I am new at R, I had to load the package.
Best,
Jared
japomani wrote:
John,
I installed the psych package and all it's dependencies. Then following
the psych manual, I type
thurstone(x, ranks = FALSE, digits = 2)
the result is
Error: could not find
Hi all,
I am trying to parse a vector for caliculating minimum in that vector the
vector having values like
1Kontrolle
2 Placebo
3 125mg/kg
4 250mg/kg
5 500mg/kg
61000mg/kg
hear i tries for comverting it into numeric with using as.numaric()
I'm trying to (re)learn Sweave and run into some problems. I use now ubuntu
(8.10), emacs + ess.
Slowly getting upto speed on ess. I have a complete (hopefully) .Rnw file,
but the resulting .tex
will not compile. The file does not contain anything exotic, but it produces
pdf figures, and that
is
Rolf Turner wrote:
On 2/02/2009, at 4:29 PM, Murray Cooper wrote:
I was about to post a similar reply.
Stavros's reply was very eloquent and should be taken to heart!
I would just like to say that in my very humble opinion Stavros's
reply was utter nonsense. It was the sort of
On Tue, 3 Feb 2009, Rolf Turner wrote:
I think the R website is just fine as it is. Effort should be put into
content and not into cosmetics. Those (potential) users who would be
likely to be influenced by such trivialities as the appearance of the web
page are unlikely to be the sort of
I know this has been addressed before, but I'm still confused by the
solution.
When running TINN - R (ver 2.1.1.6) with R (2.8.0) I have lost the
functionality of TINN-R
It returns an error
source(.trPaths[5], echo=TRUE, max.deparse.length=150)
I modified the RProfile.site file as follows:
On 3/02/2009, at 9:59 AM, Wacek Kusnierczyk wrote:
Rolf Turner wrote:
On 2/02/2009, at 4:29 PM, Murray Cooper wrote:
I was about to post a similar reply.
Stavros's reply was very eloquent and should be taken to heart!
I would just like to say that in my very humble opinion Stavros's
Hi. Thank you very much in advance for your help.
I have generated data from two simple linear models and used k-means
clustering (stats4) to identify two clusters in the generated data.
Next, I would like to do simple linear regression for each separate
cluster. I can do this if I first
Dear All,
I have a data frame (mydata), with let say 5 columns V1,V2,...,V5.
(we know the power set of {V1,V2,..,V5} has 2^5-1 elements). I need
to construct a vector T of length 5 which its i-th element is the
maximum of (let say) mean values obtained based on the columns subset
of size i. (MY
Hi,
The package ineq for the measurement of inequality, concentration and
poverty does not allow a weighing variable to be included. However, this
variable makes your sample representative to the population from which
it was drawn, and therefore is indispensable for any analysis to be
On Mon, 02 Feb 2009 08:44:21 +0100,
Thomas Petzoldt (TP) wrote:
Hi,
you are probably right, though I must say that I like *spartanic and
efficient* homepages and I don't think that the example given by the
first mail is a good prototype for the R homepage. But, yes, occasional
Hello, Guys:
I'm from China, my English is poor and I'm new to R.
This is my first time to use R-help. Hope that I can get useful suggestions
from you warm-hearted guys.
Thanks.
I builded a multiplicative seasonal ARMA model to a series named cDownRange.
And the order is (1,1)*(0,1)45
I fitted
On Mon, Feb 2, 2009 at 4:05 PM, Petr PIKAL petr.pi...@precheza.cz wrote:
Hi
r-help-boun...@r-project.org napsal dne 02.02.2009 16:52:06:
Hi,
I have a very basic question on merging two matrices by alternating the
rows. For illustration, assume two matrices -
A looks like:
10 10
10 10
Hi Rick,
I understand the authors' point and also agree that post-hoc power
analysis is basically not telling me anything more than the p-value and
initial statistic for the test I am interested in computing power for.
Beta is a simple function of alpha, p, and the statistic.
yes, try this:
dat - read.table(textConnection(
C1 C2 C3 C4 C5
A B F C Q
G H I J T
K D R S E
P L M N O
), header = TRUE)
closeAllConnections()
dat$NewCol - do.call(paste, c(dat[c(C3, C4)], sep = ))
dat
I hope it helps.
Best,
Dimitris
Shaun Grannis wrote:
On Mon, 2 Feb 2009 18:14:03 +0530,
Ajay ohri (Ao) wrote:
Plain HTML coding is simple enough for this list ( I think)...but aesthetic
designhmm
In most cases one can do more than most think using HTML and CSS: Our
universities corporate design was done by professionals and is backed
However, is there a way to programmatically to extract the bin size that
ggplot selected in order to be able to change this for multiple data sets?
Well the default is 30 bins - i.e. range(x) / 30 - in practice you'd
want to choose something a bit more informative!
Similarly, is there a way
Hi,
Would anyone know if it is possible to run a Beveridge Nelson decomposition
of a univariate time series object in R? I searched in the help files but
didn't come across any potential methods.
Thanks very much,
Shruthi
--
View this message in context:
I tried to use write.foreign() to export to SAS this morning and got an
error.
When I looked at the code for writeForeignSAS() I saw this line:
dfn -df
which I think should be
dfn - df
So, I tried to run update.packages() to see if there was an updated
version and got the following
Alphonse Monkamg amonkamg at yahoo.fr writes:
I have drawn a kernel density curve and I would like to hatch a part of it:
where value is less than -2, P(Z -2). I only
know how to hatch the entire area under the curve.
Please, does any one know how to hatch part of it.
See
Hello y'll,
thanks a lot for your hints. The easiest solution was the one from
Jim, using [[ whose true function
I did not realize fully.
About apply and the sorts: I agree that if you get them to work the
are much faster and yield nice, compact code. But I have never fully
understood the inner
I am using the gls function of the nlme package to analyze data sets of
soil respiration which have the following design: 3 complete blocks x 5
sampling dates (time from fertilization) x 3 fertilization levels. The
fertilization dates are equal for all subjects (blocks) but not
periodical
Dear R-listers,
I am trying to assign colnames to a data frame within a loop, but I keep
getting a target of assignment expands to non-language object-error. I
need to split up a large dataset into about 20 smaller ones, and I would
like to assign colnames within the loop, so I won't have to type
On 2/1/2009 8:32 PM, Laura Lucia Prieto Godino wrote:
Hi!
I need to run a wilcoxon (Mann-whitly, in fact) test with bonferroni
correction, as I am running 10 consecutive wilcoxon test not
independent, and I know that bonferroni will partially correct for this
problem, but I have no idea how
On Mon, 2 Feb 2009, Duncan Murdoch wrote:
On 2/2/2009 8:46 AM, Kevin E. Thorpe wrote:
I tried to use write.foreign() to export to SAS this morning and got an
error.
When I looked at the code for writeForeignSAS() I saw this line:
dfn -df
which I think should be
dfn - df
So, I tried to
Kisch, Joe wrote:
I hope this is not a stupid question, but I am having difficulty
importing data from sources like CDs, HDD, or flashcards. Can anyone
help ?
Joe
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing
Ken Knoblauch ken.knoblauch at inserm.fr writes:
venkata kirankumar kiran4u2all at gmail.com writes:
I am trying to parse a vector for caliculating minimum in that vector the
vector having values like
1Kontrolle
2 Placebo
3 125mg/kg
4 250mg/kg
It's always best to do this with list operations (e.g. lapply) rather
than a loop:
DF1 - split(DF, DF$male)
DF2 - lapply(DF1, function(x) {
x2 - t(as.matrix(x[3:5], dimnames = list(levels(x$age), NULL)))
as.data.frame(x2)
})
Then DF2[[0]] and DF2[[1]] are the data.frames you want.
HTH,
Slightly related to this (I think Mr. Rydevik's code solved the question),
is a silly thing I wrote up one weekend. It started out as a clone of
the unix rm -i command, and kept on going out of control :-)
I'm not claiming this is clean, or the best way to do this, but it does
let you apply
Dear Anthony,
sem() does FIML estimation, not 2SLS, and so it's hard to understand
why you're getting nearly identical parameter estimates but very
different coefficient standard errors and model chi-squares. In fact,
unless the problem is very ill-conditioned, the parameter estimates
should be
Hi Steve:
I upgraded to the same Tinn-R version a few days ago and I didn't have any
problems at all. Just follow the link below for the instructions. Good luck
http://sourceforge.net/forum/forum.php?forum_id=864071
Felipe D. Carrillo
Supervisory Fishery Biologist
Department of the Interior
Also you don't need return since it automatically returns the value produced by
the last statement that it executes.
On Mon, Feb 2, 2009 at 3:44 PM, Greg Snow greg.s...@imail.org wrote:
It is not transposing (it just looks that way). The first result is a vector
which is 1 dimensional, but is
On Mon, 2 Feb 2009 13:43:23 +0100,
ONKELINX, Thierry (OT) wrote:
Dear Fritz,
I'm wondering if the use of plain HTML is a conditio sine qua
non.
Just not to be mistaken: with plain HTML I mostly meant text files, of
course including CSS etc.
What are the advantages of maintaining
1 - 100 of 142 matches
Mail list logo