I guess invert does the trick.
For recording ... example ..
file - grep(Repurchase Price,file, fixed = TRUE, invert = TRUE)
-Original Message-
From: Santosh Srinivas [mailto:santosh.srini...@gmail.com]
Sent: 14 October 2010 11:28
To: 'r-help'
Subject: Drop matching lines from readLines
Ado wrote:
My data:
XYSpecies Group
0 0A1
.. A1
.. A1
I want to plot X vs Y for each species onto the same
Hi
Can someone please help me with connecting to oracle via R. I have been trying
to use ROracle but its giving me a lot of trouble because of pro*c.
ThanksRegards
Siddharth
Sent on my BlackBerry® from Vodafone
__
R-help@r-project.org mailing list
Hi,
I am trying to use 'GridR' package for the first time, and I'm running
into a strange error from grid.check:
grid.check(gridFun)
Error in exists(add) : invalid first argument
After playing around in recover mode, I see that this because the
variable 'add' created by grid.check is blank:
You should provide raw data to boxplot(), not summary stats.
If you want to input summary stats, there was a post some time ago on that:
http://finzi.psych.upenn.edu/Rhelp10/2010-September/251674.html
\quoate
Overwriting $stats did the job for me. I wanted to show the effect of using
Hello, I have a data frame as below ... in cases where I have N.A. I want
to use an average of the past date and next date .. any help?
13/10/2010 A 23
13/10/2010 B 12
13/10/2010 C 124
14/10/2010 A 43
14/10/2010 B 54
14/10/2010 C
Hello again Max. A correction to my response from yesterday. Things were better
than they seemed.
I thought it over, checked Arellano's panel book and Driscoll and Kraay (Rev.
Econ. Stud. 1998) and finally realized that vcovSCC does what you want: in
fact, despite being born primarily for
Hi everyone!
I'm going to analyze the attached data set, but I'm not able to add the
correct legend. In other words, I can't see which species is which.
http://r.789695.n4.nabble.com/file/n2994991/test_discriminant_anal_alle.xls
test_discriminant_anal_alle.xls
This is my commands:
data-
Thanks Dennis.
One more thing if you don't mind. How to I abstract the individual H and T
“arrays” from f(m,o,l) so as I can combine them with a date/time array and
write to a file?
Sorry if it’s a simple question but I’m completely new to R.
Cheers,
Doug
--
View this message
Hi everybody,
I have a huge longitude and latitude data. I have used raster package to
get the since of its global distribution. But I wish to display the
information using a few points on the world map.
The data is of the form:
95.2156 0.8312
-65.3236 -3.3851
-65.2364 -3.2696
-65.2349 -3.2679
Hello Julia,
I'm afraid your code had multiple problems: variables declared but not
used, incorrect or unnecessary use of the c function, out-of-bounds
subscripts and overwriting of result objects.
Rather than point them all out in detail I've modified your code so
that it works (see below).
Hi:
The essential problem is that after you append items, the result is a list
with possibly unequal lengths. Trying to convert that into a data frame by
the 'usual' methods (do.call(rbind, ...) or ldply() in plyr) didn't work (as
anticipated). One approach is to initialize a maximum size matrix
Hi All,
I'm running the now almost-to-be upgraded R 2.11.1 on a Intel Mac, and on a
Ubuntu machine, but the problem I see is the same. I noticed the following
behaviour:
407585.91 * 0.8
[1] 326068.7 -- the right asnwer is 326068.728
round(407585.91 * 0.8, 2)
[1] 326068.7 -- same issue
Some quick ideas...
One very easy way would be to round them all to integer degrees and
remove the duplicates - or even just let the duplicates overwrite each
other in the plot.
A step up from that would be to create a matrix at some resolution
(e.g. 180 x 360 for a 1 degree global grid) and
On 14-Oct-10 09:43:53, Federico Calboli wrote:
Hi All,
I'm running the now almost-to-be upgraded R 2.11.1 on a Intel Mac, and
on a Ubuntu machine, but the problem I see is the same. I noticed the
following behaviour:
407585.91 * 0.8
[1] 326068.7 -- the right asnwer is 326068.728
You
Hi,
I would like to calculate various hash sums for given string but haven't
found a suitable package, yet.
I found tools::md5sum which works only for files, however I would like to
avoid putting my string in a file before calculating the hash.
Thanks,
Uwe
--
Uwe Ziegenhagen
Hi Giovanni,
thanks! This seems to be exactly what I was looking for!
Max
__
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 provide
From: santosh.srini...@gmail.com
To: r-help@r-project.org
Date: Thu, 14 Oct 2010 11:27:57 +0530
Subject: [R] Drop matching lines from readLines
Dear R-group,
I have some noise in my text file (coding issues!) ... I imported a 200 MB
text file
Thank you, William and Berend, for your thorough replies. I have still the
habit of setting long int variables because, when I first learnt C, the
manual said that int could be up to around 3.2e4. But I suppose that, in
systems from 32 bits, an int number can be much larger, isn't it?
- which
Uwe Ziegenhagen ziegenhagen at gmail.com writes:
Hi,
I would like to calculate various hash sums for given string but haven't
found a suitable package, yet.
I found tools::md5sum which works only for files, however I would like to
avoid putting my string in a file before calculating the
On Oct 14, 2010, at 12:45 AM, siddharth.gar...@gmail.com wrote:
Hi
Can someone please help me with connecting to oracle via R. I have been
trying to use ROracle but its giving me a lot of trouble because of pro*c.
ThanksRegards
Siddharth
You have not provided sufficient information
If I understand you can use approxfun:
DF - read.table(textConnection(
13/10/2010 A 23
13/10/2010 B 12
13/10/2010 C 124
14/10/2010 A 43
14/10/2010 B 54
14/10/2010 C 65
15/10/2010 A 43
15/10/2010 B N.A.
The H and T values come form the same recording so the gaps that require
filling in H are the same as those in T. Therefore the lists will never be
of unequal lengths and I can abstract the list to an array using
array(unlist(H)) which is a lot simpler. My fault for not clarifying!
On Thu, Oct 14, 2010 at 4:17 AM, Santosh Srinivas
santosh.srini...@gmail.com wrote:
Hello, I have a data frame as below ... in cases where I have N.A. I want
to use an average of the past date and next date .. any help?
13/10/2010 A 23
13/10/2010 B 12
13/10/2010 C
On 10/13/2010 4:50 PM, Antonio Paredes wrote:
Hello everyone,
I wanted to ask if there is an R-package to fit the following Poisson
regression model
log(\lambda_{ijk}) = \phi_{i} + \alpha_{j} + \beta_{k}
i=1,\cdots,N (subjects)
j=0,1 (two levels)
k=0,1 (two levels)
treating the \phi_{i} as
Wow! Thats Amazing! Many thanks!
When I do the below ... why do the column names get thrown off? Ticker is a
factor / character ... I tried both
temp - head(MF_Data_Sub)
temp
Date Ticker Price
1 2008-04-01 106270 10.3287
2 2008-04-01 106269 10.3287
3 2008-04-01 102767 12.6832
4
Hi all,
I can't understand why grid package failed to installed on my machine. Can
anybody have a look and advice on where I am missing it.
My R version is 2.9.2. After untarring: tar xzvf grid_0.7-4.tar.gz, I
tried to configure or make but none worked, 'no such files'. I have also
tried using
Sorry for the verbose example. I want to row bind two matrices, and all works
except I want the column labelled row to be sequential in the new matrix,
shown as mat3 here, i.e. needs to be 1:6 and not 1:3 repeated twice. Any
suggestions?
Thanks
J
colnm1 - c(row,ti,counti)
colnm2 -
On Oct 14, 2010, at 10:31 AM, Maas James Dr (MED) wrote:
Sorry for the verbose example. I want to row bind two matrices, and
all works except I want the column labelled row to be sequential
in the new matrix, shown as mat3 here, i.e. needs to be 1:6 and
not 1:3 repeated twice. Any
Suppose I have a function in R called foo.
foo = function(x)
{
print(x);
}
When I create the Rengine re and do re.eval(foo(1)) I get the output 1.
However, if I create a string variable in java String num = 1 and do
re.eval(foo(num)), I get an error saying that num cannot be found. How can
On Oct 14, 2010, at 10:40 AM, David Winsemius wrote:
On Oct 14, 2010, at 10:31 AM, Maas James Dr (MED) wrote:
Sorry for the verbose example. I want to row bind two matrices,
and all works except I want the column labelled row to be
sequential in the new matrix, shown as mat3 here, i.e.
Any advice?
--
View this message in context:
http://r.789695.n4.nabble.com/R-functions-in-Java-tp2995428p2995490.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
Hi all,
I'm currently writing an R package and want to declare a GPL2 license.
According to the license agreement, I'm supposed to display:
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free
On Oct 14, 2010, at 11:07 AM, Christophe Bouffioux wrote:
Hi,
I have tried your proposition, and it works properly on the
simulated data, but not on my real data, and I do not see any
explanations, this is weird, i have no more ideas to explore the
problem
You should:
a) provide the
On 14 October 2010 at 11:06, Stacey Wood wrote:
| Hi all,
|
| I'm currently writing an R package and want to declare a GPL2 license.
| According to the license agreement, I'm supposed to display:
|
| This program is free software; you can redistribute it and/or modify
|it under the terms
Hi,
I have an array and I want to put in into a matrix x number of times. Currently
I doing this
matrix - cbind(array, array, array).
Is there a more elegant way of doing this?
I've tried
matrix - cbind(rep(array, times=x)) and matrix - rep(cbind(array), times = 5)
but it didn't work.
Hi,
I have tried your proposition, and it works properly on the simulated
data, but not on my real data, and I do not see any explanations, this is
weird, i have no more ideas to explore the problem
so here i give some information on my data, nothing special actually,
Christophe
On Oct 14, 2010, at 10:06 AM, Stacey Wood wrote:
Hi all,
I'm currently writing an R package and want to declare a GPL2 license.
According to the license agreement, I'm supposed to display:
This program is free software; you can redistribute it and/or modify
it under the terms of the
Hello,
I have this script which will be invoked as
Rscript a.r a.r
a.r follows
#!/usr/bin/Rscript --vanilla
f=file(stdin)
while(TRUE){
y=readLines(f,n=1,warn=TRUE)
if(length(y)==0) break else print(y)
}
But it only reads one line from a.r
How can I read line by line from standard
If I understand correctly, the poster knows what regex error pattern
to look for, in which case (mod memory capacity -- but 200 mb should
not be a problem, I think) is not merely
cleanData - dirtyData[!grepl(errorPatternregex,dirtyData)]
sufficient?
Cheers,
Bert
On Thu, Oct 14, 2010 at 4:05
Yes, thanks ... that works.
-Original Message-
From: Bert Gunter [mailto:gunter.ber...@gene.com]
Sent: 14 October 2010 21:26
To: Mike Marchywka
Cc: santosh.srini...@gmail.com; r-help@r-project.org
Subject: Re: [R] Drop matching lines from readLines
If I understand correctly, the poster
On Thu, 14 Oct 2010, Desmond Lim wrote:
Hi,
I have an array and I want to put in into a matrix x number of times. Currently
I doing this
matrix - cbind(array, array, array).
Is there a more elegant way of doing this?
Fortunately!
If 'array' really is a matrix (bad choice of names here,
Dear all,
I am sure this has been solved before, googling did not help much,.
Warning, I am not great with putty/linux servers
Situation: I have been given access to an R installation on a Linux
server to do some larger number crunching that was killing my machine. I
use putty to connect,
Hello,
Would one use gsub to perform pythons translate?
in python
table = string.maketrans(abc,xyz)
abc.translate(table)
xyz
how does one do this in R?
Thank you
Saptarshi
__
R-help@r-project.org mailing list
G'day Marc,
On Thu, 14 Oct 2010 10:46:39 -0500
Marc Schwartz marc_schwa...@me.com wrote:
If you want (and you should), create and include a file called
COPYING in the 'inst' folder in the package, so that it gets copied
to the main package directory upon installation. [...]
But that would be
Date: Thu, 14 Oct 2010 18:07:02 +0200
From: martin.to...@geo.uzh.ch
To: r-help@r-project.org
Subject: [R] running a long R process on Linux using putty - best practice to
disconnect
Dear all,
I am sure this has been solved before, googling
Dear all,
I'm running R on Linux OS. I want to execute a programme toto.R in
command line. Is it possible ??
Thanks
Benoit
--
Benoit Wastine
Laboratoire des Sciences du Climat et de l’Environnement (LSCE/IPSL)
CEA-CNRS-UVSQ
CE Saclay
Orme des merisiers
Bât 703 - Pte 13A
91191 Gif sur Yvette
On Thu, Oct 14, 2010 at 3:15 AM, Michael Bedward
michael.bedw...@gmail.comwrote:
Hi Juan,
Yes, you can use EMD to quantify the difference between any pair of
histograms regardless of their shape. The only constraint, at least
the way that I've done it previously, is to have compatible bins.
On Oct 14, 2010, at 11:13 AM, Berwin A Turlach wrote:
G'day Marc,
On Thu, 14 Oct 2010 10:46:39 -0500
Marc Schwartz marc_schwa...@me.com wrote:
If you want (and you should), create and include a file called
COPYING in the 'inst' folder in the package, so that it gets copied
to the main
It is not clear what exactly you want. Try looking at the functions TkPredict,
TkSpline, and TkApprox in the TeachingDemos package to see if any of those do
what you want.
If not, give a bit more of a description and include some sample data.
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data
On 14 October 2010 at 08:49, Saptarshi Guha wrote:
| Hello,
| I have this script which will be invoked as
|
| Rscript a.r a.r
|
| a.r follows
|
| #!/usr/bin/Rscript --vanilla
| f=file(stdin)
| while(TRUE){
| y=readLines(f,n=1,warn=TRUE)
| if(length(y)==0) break else print(y)
| }
|
|
|
Hi Benoit,
Have a look at 'man R'. You want something like 'R CMD BATCH toto.R'
(case sensitive).
Hope this helps,
Jim Hargreaves
On 10/14/2010 05:15 PM, Benoit Wastine wrote:
Dear all,
I'm running R on Linux OS. I want to execute a programme toto.R in
command line. Is it possible ??
You might have better luck reformatting your data as time series, then you can
still print it in a matrix like form, but access it serially without worrying
about wrapping around rows.
Another option would be to transpose the matrix so that months go down the
columns, then use the %% and %/%
On 14 October 2010 at 11:16, Marc Schwartz wrote:
| On Oct 14, 2010, at 11:13 AM, Berwin A Turlach wrote:
|
| G'day Marc,
|
| On Thu, 14 Oct 2010 10:46:39 -0500
| Marc Schwartz marc_schwa...@me.com wrote:
|
| If you want (and you should), create and include a file called
| COPYING in
Thanks everyone. Now I know that I should not include another copy of the
license, but where should I refer to the copies on
http://www.r-project.org/Licenses/? In the DESCRIPTION file?
Stacey
On Thu, Oct 14, 2010 at 12:16 PM, Marc Schwartz marc_schwa...@me.comwrote:
On Oct 14, 2010, at
?chartr
Is this what you are looking for?
On Thu, Oct 14, 2010 at 12:10 PM, Saptarshi Guha
saptarshi.g...@gmail.com wrote:
Hello,
Would one use gsub to perform pythons translate?
in python
table = string.maketrans(abc,xyz)
abc.translate(table)
xyz
how does one do this in R?
Thank
Yes, thanks much.
On Thu, Oct 14, 2010 at 9:36 AM, jim holtman jholt...@gmail.com wrote:
?chartr
Is this what you are looking for?
On Thu, Oct 14, 2010 at 12:10 PM, Saptarshi Guha
saptarshi.g...@gmail.com wrote:
Hello,
Would one use gsub to perform pythons translate?
in python
table
For example, if I have the function in R:
sum = function(a,b)
{
sum = a+b
return sum
}
In Java:
re.eval(sum(a,b)) gives me an error.
--
View this message in context:
http://r.789695.n4.nabble.com/R-functions-in-Java-tp2995428p2995620.html
Sent from the R help mailing list archive at
Can anyone please tell me how can use save.image() function if it is placed
within a function (i.e. some level up from the base level environment)? Here I
experimented with following codes:
#rm(list=ls())
fn - function() {
x - rnorm(5)
save.image(f:/dat.RData)
}
fn()
However I see
On 14 October 2010 at 11:21, Dirk Eddelbuettel wrote:
| On 14 October 2010 at 08:49, Saptarshi Guha wrote:
| | Hello,
| | I have this script which will be invoked as
| |
| | Rscript a.r a.r
| |
| | a.r follows
| |
| | #!/usr/bin/Rscript --vanilla
| | f=file(stdin)
| | while(TRUE){
| |
Hello,
Is R very compatible with a Mac? A colleague of mine indicated that
everyone he knows with a Mac has problems with R.
What can you tell me about using R with a Mac. What do I need to download?
I have downloaded the basic R package.
Thanks,
--
Tiffany Kinder
MS Student
Department of
The problem is that the scatterplot function is overriding the
par(mfrow=c(2,2)) command by resetting the parameters itself (though it
probably uses layout instead of par) to place the boxplots next to the
scatterplot. It was not really designed to be used the way you want.
Possible
I think it's useful to realize that this approach still implies that the
\phi_{i}'s are entered as fixed effects into the model (as opposed to treating
the \phi_{i}'s as random effects); it's just that the iterative algorithm to
obtain the maximum likelihood estimates is faster when using
G'day Stacey,
On Thu, 14 Oct 2010 12:36:20 -0400
Stacey Wood sjw...@ncsu.edu wrote:
Thanks everyone. Now I know that I should not include another copy
of the license, but where should I refer to the copies on
http://www.r-project.org/Licenses/? In the DESCRIPTION file?
I used to mention
Hi,
I do not believe you can use the save.image() function in this case.
save.image() is a wrapper for save() with defaults for the global
environment (your workspace). Try this instead, I believe it does
what you are after:
myfun - function(x) {
y - 5 * x + x^2
save(list = ls(envir =
On Oct 14, 2010, at 11:36 AM, Stacey Wood wrote:
Thanks everyone. Now I know that I should not include another copy of the
license, but where should I refer to the copies on
http://www.r-project.org/Licenses/? In the DESCRIPTION file?
Stacey
snip
Not in the DESCRIPTION file. :-)
In my experience R runs just fine on the Mac. For basic use you don't
need to do anything special whatsoever. Just install R as you would
any other program. If you need to install packages from source you
will probably want to install Xcode. Other Mac FAQs are at
Dear Tiffany,
R works wonderfully with Macs (and *nix and Windows). The main
program should be all you need, but if you have any doubts or
concerns, here is the link to download R from the website for Mac
OSes:
http://cran.r-project.org/bin/macosx/
If you are just getting started using R, it is
On Oct 14, 2010, at 12:25 PM, Tiffany Kinder wrote:
Hello,
Is R very compatible with a Mac?
Very compatible. I have been using it as my work machine for the last
2.75 years and several of the regular contributors to rhelp are also
running Macs. Rock-solid. Better memory management than
On Thu, Oct 14, 2010 at 11:56 AM, Joshua Wiley jwiley.ps...@gmail.com wrote:
Hi,
I do not believe you can use the save.image() function in this case.
save.image() is a wrapper for save() with defaults for the global
environment (your workspace). Try this instead, I believe it does
what you
On 14.10.2010 18:07, Martin Tomko wrote:
Dear all,
I am sure this has been solved before, googling did not help much,.
Warning, I am not great with putty/linux servers
Situation: I have been given access to an R installation on a Linux
server to do some larger number crunching that was
-- Forwarded message --
From: John C Frain fra...@gmail.com
Date: 14 October 2010 18:20
Subject: Re: [R] [OT] (slightly) - OpenOffice Calc and text files
To: Schwab,Wilhelm K bsch...@anest.ufl.edu
Just a basic comment on Open Office Calc. I find Open Office Calc and
excellent
Hi,
Given what Hadley said, it looks like you don't need either one. In
any case the logic was this:
ls() gets the NAMES of the objects
save() gets the actual data
Suppose in your workspace you define:
y - Hello, from the Global Environment
and then you used that little function I showed,
The message days it all: This [grid] is the name of a base package.
If you need a new version of grid: Upgrade R to R-2.12.0 which will be
released tomorrow.
Best,
Uwe Ligges
On 14.10.2010 16:29, ogbos okike wrote:
Hi all,
I can't understand why grid package failed to installed on my
Thanks Joshua for your reply. However I could not understand one logic. If I
write ls(envir = environment(), all.names = TRUE), I am actually telling R to
grab all objects within the current environment (in my case, which the
environment within fn()). Then what is the point to put again the
Hi
Thanks for the reply. I managed to find a simpler solution using RJDBC. All
I needed to do was install RJDBC, DBI and download oracle driver for JDBC.
Regards
Siddharth
On Thu, Oct 14, 2010 at 5:32 PM, Marc Schwartz marc_schwa...@me.com wrote:
On Oct 14, 2010, at 12:45 AM,
Or here (kill R feature):
stem(islands, width=NULL)
It may looks like a bug.
2010/10/14 Marcin Kozak nyg...@gmail.com:
Could anyone pleaase clarify what is going on here?
--
Miłego dnia
__
R-help@r-project.org mailing list
I need help with RJava. So I run this R code:
library(rJava) #load the rJava library
.jinit(classpath=c:/Documents and Settings/GV/workspace/Test/src,
parameters=-Xmx512m)
#the above is to load the Java virtual machine,
x = runif(1000)
y = runif(1000)
#the above are two vectors to convolve
I have had no problems with R on my Mac ... just download, install,
and run ... let me know if you have any problems.
Cheers
David Cross
d.cr...@tcu.edu
www.davidcross.us
On Oct 14, 2010, at 11:25 AM, Tiffany Kinder wrote:
Hello,
Is R very compatible with a Mac? A colleague of mine
Awaiting some suggestion. Was my question not very understandable? Please let
me know how can I offer more elaborate clarification.
Additionally, I would like to solve the determinant of p1 for the values of
z (I am working with some multivariate time series modelling). When I use
det()
I have the following formula for a linear model:
z - lm(y~x + factor(a) + factor(b), data=NT2010)
where a (groups) and b (Sub-groups) are categorical variables (factors), x
is a continuous covariate, and y the response variable. Since b is nested
within a, the formula can also be written as:
Greg Snow Greg.Snow at imail.org writes:
It is not clear what exactly you want. Try looking at the functions
TkPredict, TkSpline, and TkApprox in the
TeachingDemos package to see if any of those do what you want.
If not, give a bit more of a description and include some sample data.
Hi Robert,
In R, the default treatment contrasts for factor class variables in
regression treats the first level as the reference group when creating
the contrast matrix for the regression, so it is not really a matter
of changing the formula.
This might provide some insight:
To be clear, this:
How can I get the output to show all 3 groups that I have inputted? There
are only group 2 and group 3 on the output, group 1 is missing. Also there
is a subgroup (subgroup 1) of the total 9 subgroups missing. I would like
to see the p-value of the missing group and
thank you guys, R CMD BATCH seems the way to go, and I will nudge my
admin to install screen /byobu
Thanks heaps,
Martin
On 10/14/2010 7:21 PM, Uwe Ligges wrote:
On 14.10.2010 18:07, Martin Tomko wrote:
Dear all,
I am sure this has been solved before, googling did not help much,.
Warning,
Hello,
I am currently running multivariate analysis to find prediction
equations for a specific event. Currently, we do this by using the
combination of LDA and SIR through the dr package. The advantage of
SIR is that we are giving constants for which weigh the importance of
the factors,
R works great on my Mac. In fact, the user interface in some ways
seems to be more friendly (ex. you type an open parenthesis, it
automatically includes a close parenthesis; color coding for coding
files, etc.)
Andrew Miles
On Oct 14, 2010, at 2:49 PM, David Cross wrote:
I have had no
Still doesn't work, any ideas?
Error in sqlTables(channel1) :
first argument is not an open RODBC channel
In addition: Warning messages:
1: In odbcDriverConnect(con, tabQuote = c([, ]), ...) :
[RODBC] ERROR: state IM002, code 0, message [Microsoft][ODBC Driver
Manager] Data source name not
I found the imgConvolve tool in the biOps package, but since I'm
primarily working on OSX computers, wondered if there are any other
2-dimensional convolution functions out there?
And, yes, I'm going to ask r-sig-mac whether biOps will compile from
source under OSX.
I did find one convolution
I know this thread is from a while back, but hopefully I can still get some
help on this.
I also used RODBC to connect to a SQL Server, and my stored procedure
returns a results set (that is not stored as a temp or permanent table).
So I was wondering if there was a way to access this results
Ron Michael ron_michael70 at yahoo.com writes:
Awaiting some suggestion. Was my question not very understandable?
Please let me know how can I offer more
elaborate clarification.
Additionally, I would like to solve the determinant of p1
for the values of z (I am working with some
Dear all,
I have a function f(x) which return a list as result.
$T1
[1] 0.03376190
$T2
[1] 0.04725
$T3
[1] 0.3796071
$T4
[1] 0.3713452
$T5
[1] 0.4523651
$T6
[1] 0.4575873
I now find the result for a vector of x values at one time. I want to
store the reuslt
for each xi value in a column of
Dear Hannah,
Well one issue is that you are trying to assign a list to a matrix
column. This is a hazardous move, and may well be your problem. Try:
lapply(x, f)
that should give you some nice results, and can probably be fairly
easily converted to a matrix if you want. It is really hard to
On 10/14/2010 2:53 PM, li li wrote:
Dear all,
I have a function f(x) which return a list as result.
$T1
[1] 0.03376190
$T2
[1] 0.04725
$T3
[1] 0.3796071
$T4
[1] 0.3713452
$T5
[1] 0.4523651
$T6
[1] 0.4575873
I now find the result for a vector of x values at one time. I want to
store the
Thanks for the kind help!
Hannah
2010/10/14 Brian Diggs dig...@ohsu.edu
On 10/14/2010 2:53 PM, li li wrote:
Dear all,
I have a function f(x) which return a list as result.
$T1
[1] 0.03376190
$T2
[1] 0.04725
$T3
[1] 0.3796071
$T4
[1] 0.3713452
$T5
[1] 0.4523651
If unlisting was the only issue, then this should also work, and will
save you the trouble of initializing a matrix, creating x, and using a
for loop.
## Brian's Function
f - function(x) {
r - as.list(rnorm(6))
names(r) - paste(T,1:6,sep=)
r
}
sapply(seq(0,1, by=0.1),
Hi Everyone,
I am trying to analyze a split plot experiment in the field that was
arranged like this:
I am trying to measure the fitness consequences of seed size.
Factors (X):
*Seed size*: a continuous variable, normally distributed.
*Water*: Categorical Levels- wet and dry.
*Density*:
On Thu, Oct 14, 2010 at 9:59 AM, Santosh Srinivas
santosh.srini...@gmail.com wrote:
Wow! That’s Amazing! Many thanks!
When I do the below ... why do the column names get thrown off? Ticker is a
factor / character ... I tried both
temp - head(MF_Data_Sub)
temp
Date Ticker Price
1
Hi all,
I would like to use the fpc and cluster packages for clustering. However, I
would like to create a custom dissimilarity object using a library in
python. Has anyone attempted or know of a work-around for creating a
dissimilarity object from a csv file containing pair-wise distance
On Thu, Oct 14, 2010 at 5:21 PM, Paul Rigor (ucla) pr...@ucla.edu wrote:
Hi all,
I would like to use the fpc and cluster packages for clustering. However, I
would like to create a custom dissimilarity object using a library in
python. Has anyone attempted or know of a work-around for
1 - 100 of 130 matches
Mail list logo