Displaying 20 results from an estimated 20000 matches similar to: "looking for matches"
2011 Jun 20
3
importing a file
I haven't used R in a couple of years, and now am trying something as
simple as importing a csv file and am running into problems right away.
*
mydata <- read.csv (Wordata1.csv, sep="")
Error in read.table(file = file, header = header, sep = sep, quote = quote,
:
object 'Wordata1.csv' not found
*I've tried in both as as read.csv and read.table and still get the
2009 Jan 21
2
Replacing dates with consecutive observations
I am working with a list of dates and I would like to replace each date with
the one that comes after, ie. 1/1/07 will become 1/5/07, 1/5/07 will become
1/7/07, etc. The number of days between my dates always varies, so I can't
just increase each one by 5 days or so. Does anyone know of a way I can do
this in R?
thank you
[[alternative HTML version deleted]]
2011 Jun 21
5
converting character to numeric
I'm trying to convert data from character to numeric.
I've imported data as a csv file, I'm assuming that the import is a
database - are all the columns in a database considered "vectors" and that
they can be operated on individually
Therefore I've tried the following
mydata <- as.numeric(mydata$apples)
when i then look at mydata again the named column is still
2009 Mar 31
1
target of assignment expands to non-language object
I'm running the following code
numbers <- 1:50
for (i in 1:50)
assign(paste("model",numbers[i]),i)<-(lm(temp$Overall.Scaled.Score~temp$raw.score))
where I want R to create 50 different models-1:50, but get the following
error message
"target of assignment expands to non-language object". I've tried it with
2009 Feb 19
2
colored maps again
I'm trying to create a colored map that would show the number of students
per state.
My data frame consists of two columns - state and count.
I'm using the following code
library(maps)
map("usa")
library(plotrix)
state.col<-color.scale(gre$count,0,0,c(0,1))
map("state",fill=TRUE,col=state.col)
I'm getting a map, but the values are not being mapped to correct
2009 Feb 17
2
creating a map
I'm trying to create a fairly basic map using R. What i want to get is the
map of the country with circles representing a count of students in each
state.
What I've done so far is as following -
map("state")
symbols(data1$count,circles=log(data1$count)*3,fg=col,bg=col,add=T,inches=F)
this gives me the map of the country, but one that's not populated by my
counts.
Does
2009 Mar 31
1
model selection using ANOVA
I've created a number of models using lm and now want to pick one with the
smallest standard error or the smallest RSS,
I can get a list of RSS using anova function, but is the any way I can then
select one with the smallest RSS from the list?
[[alternative HTML version deleted]]
2020 Feb 10
2
RFC: Mark BasicAA as a CFG-only pass.
On 2/10/20 2:35 PM, Alina Sbirlea wrote:
> Hi,
>
> Here's a tentative patch of the changes for this: D74353
> <https://reviews.llvm.org/D74353>.
I suppose that, as expected, it's invalidated less often this way. Given
that it's generally stateless, does this really represent a cost savings?
-Hal
>
> Thank you,
> Alina
>
>
> On Mon, Feb 10,
2017 Oct 10
2
Expose aliasing information in getModRefInfo (or viceversa?)
Yes, this is odd.
On my clang.bc
Without:
2.2967 ( 53.8%) 0.0242 ( 26.4%) 2.3210 ( 53.2%) 2.3227 ( 53.2%)
Memory SSA
2.3364 ( 53.7%) 0.0246 ( 25.7%) 2.3610 ( 53.1%) 2.3636 ( 53.1%)
Memory SSA
2.3353 ( 54.0%) 0.0258 ( 27.0%) 2.3611 ( 53.4%) 2.3632 ( 53.3%)
Memory SSA
With two getModRefInfo calls:
3.0302 ( 58.8%) 0.0328 ( 29.9%) 3.0630 ( 58.2%) 3.0858 ( 58.2%)
2017 Aug 10
1
Plotting log transformed predicted values from lme
Thank you Michael,
Curves for each level of the factor sounds very interesting,
Do you have a suggestion how to plot them?
Thank you!
Alina
*Alina Vodonos Zilberg*
On Thu, Aug 10, 2017 at 7:39 AM, Michael Dewey <lists at dewey.myzen.co.uk>
wrote:
> Dear Alina
>
> If I understand you correctly you cannot just have a single predicted
> curve but one for each level of your
2009 Mar 04
1
mapping lat and long with maps package
I am trying to overlay a data frame with lat and longitude(which refer to
zip codes) on the map of US that I get by using map ("states").
Is there anyway to do this or do I have to resort to using maptools?
thank you
[[alternative HTML version deleted]]
2017 Oct 09
2
Expose aliasing information in getModRefInfo (or viceversa?)
On Mon, Oct 9, 2017 at 1:57 PM, Daniel Berlin <dberlin at dberlin.org> wrote:
> FWIW: Bootstrap is probably not a good test of this, there are bugs filed
> where we end up with tons of loads and stores to test against each other.
> That's actually fairly rare in bootstrap, as you can see.
> Let me get you some test cases.
>
SG, thanks!
>
> My guess is that we
2017 Aug 10
0
Plotting log transformed predicted values from lme
Dear Alina
If I understand you correctly you cannot just have a single predicted
curve but one for each level of your factor.
On 09/08/2017 16:24, Alina Vodonos Zilberg wrote:
> Hi,
>
> I am performing meta-regression using linear mixed-effect model with the
> lme() function that has two fixed effect variables;one as a log
> transformed variable (x) and one as factor (y)
2020 Mar 10
2
RFC: Making a common successor/predecessor interface
On Tue, Mar 10, 2020 at 2:30 PM David Blaikie <dblaikie at gmail.com> wrote:
>
>
> On Tue, Mar 10, 2020 at 8:31 AM Alina Sbirlea <alina.sbirlea at gmail.com>
> wrote:
>
>> Hi Dave,
>>
>> It may be possible to do this with the current API, but what I was
>> looking for is a common API for existing block types. For example there is
>> no
2019 Mar 05
2
RFC: Contained stateful AliasAnalysis
Hi Hal,
Yes, the "internal" caches AA would be valid as long as the IR is not
mutated. Are you suggesting keeping them? It's possible, but it will be
very tricky to ensure they are cleared at the right times and they will
likely be prone to adding hidden bugs.
I don't have strong indications currently that keeping such information
would be useful by other users, other than
2017 Oct 09
1
Expose aliasing information in getModRefInfo (or viceversa?)
On 10/09/2017 03:57 PM, Daniel Berlin wrote:
> FWIW: Bootstrap is probably not a good test of this, there are bugs
> filed where we end up with tons of loads and stores to test against
> each other. That's actually fairly rare in bootstrap, as you can see.
> Let me get you some test cases.
>
> My guess is that we should go with mustmod.
I agree.
-Hal
>
>
>
2020 May 21
2
LLVM Alias Analysis Technical Call - Doodle Poll
Great, thanks!
Are you planning on just talking about these things with slides? Do we have other things to which we can link for people to read?
-Hal
Hal Finkel
Lead, Compiler Technology and Programming Languages
Leadership Computing Facility
Argonne National Laboratory
________________________________
From: Tarique Islam <tislam at ca.ibm.com>
Sent: Thursday, May 21, 2020 8:19:31 AM
To:
2016 Mar 01
2
RFC: Add bitcode tests to test-suite
> On Feb 29, 2016, at 11:28 PM, Chandler Carruth <chandlerc at google.com> wrote:
>
> I really don't understand this. Why is a C++ reference useful? Instead, we have an IR reference: the unoptimized IR.
Mmmmm, thinking more about it, yes we could compile the IR two times and use the unoptimized one as a reference.
However, right now the tests are only running llc, so the
2016 Feb 29
0
RFC: Add bitcode tests to test-suite
> On Feb 29, 2016, at 11:16 AM, Alina Sbirlea via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> All,
>
> To get the discussion going in a focused manner, here is an initial patch with a running test. The test is from the Halide suite and is checking the correctness of several simd operations.
> (Notes: the patch is large due to the number of operations being tested;
2017 Nov 28
1
Expose aliasing information in getModRefInfo (or viceversa?)
> In your new proposal, doing & on the result of getModRef() may yield
unexpected results.
Agreed. I made the change I proposed locally, and, while it simplifies some
cases, it makes other bit-wise operations look unintuitive.
> Maybe we should just hide all that in inline functions or something and
make it an enum class
Noted, and looking into this option. Hoping a couple of static