On 21 Jun 2014, at 20:20 , David Winsemius wrote:
> # In the line above we see non-matching double quotes. I would have guessed
> that it would throw an error or simple ask you for more input due to the non
> matching quotes..
>> data <- sapply(temp, read.csv)
>
> If that is not the problem (
What you want here, of course, is pass by reference. It can be done in
R (via environments), but in general, it violates the functional
programming paradigm that mostly underlies R. So you should heed the
advice given to you by Duncan and Jeff.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Bio
You are not following the Posting Guide. This is a plain text mailing list
(HTML does not necessarily show us what you see). Also, you should be providing
a reproducible example that we can run to understand what you are actually
dealing with.
The only general advice I can give you at this poin
On 22/06/2014, 6:00 AM, Ragia Ibrahim wrote:
> Dear group
> I have some thing like the following code...
> ##start
> my_list (global object)
>
> function 1
> {
> list1<-mylist
>
> function2(list1)
> function3(list1)
> function4(list1)
> }
>
> function2(list1)
> {
> assign values via <<- to the
Dear group
I have some thing like the following code...
##start
my_list (global object)
function 1
{
list1<-mylist
function2(list1)
function3(list1)
function4(list1)
}
function2(list1)
{
assign values via <<- to the object items
}
function3(list1)
{
assign values via <<- to the object items
}
Bert,
My queries are directly related to R:
1. Can the R package frm can be used to compare nested models. If so, how.
2. Are there alternative R packages to perform ANOVAs on a dependent variable
that is a proportion with significant mass one one extreme?
Also, my statistical problem is well
My purpose involves creating a dissimilarity matrix using the daisy package
in R before applying k-mediod clustering for customer segmentation. The
dataset has 133,153 observations of 35 variables in a data.frame with
numerical, categorical, blank cells and missing values. Missing values
refer to N
On Sun, 22 Jun 2014 06:00:19 AM Chitra Baniya wrote:
> Can someone go through the same and suggest what I am missing
out.
>
> > cftc = read.table("cftcdata_ncn.csv", sep = ',', header = TRUE, fill =
>
> TRUE)
> Warning message:
> In scan(file, what, nmax, sep, dec, quote, skip, nlines, na.string
Can someone go through the same and suggest what I am missing out.
> cftc = read.table("cftcdata_ncn.csv", sep = ',', header = TRUE, fill =
TRUE)
Warning message:
In scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, :
EOF within quoted string
Hi, I guessed you have also tried wi
On Sat, 21 Jun 2014 11:49:46 AM Kate Ignatius wrote:
> I'm trying to have a layout of two graphs on a page... this has
worked
> before... but I changed up the way I do my venn diagrams so now
> instead of the Venn Diagram being at the bottom of the page below
the
> bar/line graph it takes up the
On Jun 20, 2014, at 3:42 AM, svendeswan wrote:
> Hi,
> I am a beginner in R and already read and (thought that I) understood the R
> introduction tutorial. However there is this reading .csv which I cant
> solve. The question is: Why has data in the both cases a different content?
>
> I have a d
On Jun 20, 2014, at 12:45 PM, Laurent Rhelp wrote:
> Hi,
>
> I like to use with xyplot (package lattice) the groups argument and
> superpose.symbol to compare several curves. But, when there are a great many
> points, the symbols are very close and the graph becomes unreadable. Would
> there
Hi,
Try:
set.seed(42)
X <- as.data.frame(matrix(sample(0:1, 4*50,replace=TRUE), ncol=4))
table(X[1:2])[4]
#[1] 15
sum(rowSums(X[1:2])==2)
#[1] 15
A.K.
On Saturday, June 21, 2014 10:59 AM, Kate Ignatius
wrote:
I have 4 columns, and about 300K plus rows with 0s and 1s.
I'm trying to count h
Although your queries certainly intersect R, they are primarily about
statistical modeling, which is OT for this list. Your issues also
appear to be complex. I would therefore suggest that you eschew remote
Internet advice and consult a local statistical expert for help.
Cheers,
Bert
Bert Gunter
Hello Richard
Initially it appears that you left off a closing " mark at the end of the
file name. Also why don't you use read csv?
Steve
On Jun 21, 2014 12:01 PM, "Richard Lerner" wrote:
> I saved what I consider a medium size Excel file--about 2000x 40 as a CSV.
> I am NOT sure the save went
I am trying to perform an ANOVA on a dependent variable that has large mass
on the 1 side of the (0, 1] interval. I decided to use Fractional Regression
Models, as implemented in the package frm. This package seems well-suited for
my problem, but I don't see how to perform model comparisons of nes
I saved what I consider a medium size Excel file--about 2000x 40 as a CSV.
I am NOT sure the save went well as it took over five minutes to do it
(Intel i7 running at 240 GHz, 12 GB RAM).
When I put in the following code , I get a "+" instead of ">".
read.table("c:/users/Richard lerner/downloads/
I'm trying to have a layout of two graphs on a page... this has worked
before... but I changed up the way I do my venn diagrams so now
instead of the Venn Diagram being at the bottom of the page below the
bar/line graph it takes up the whole page and its overlays the
bar/line graph placed on the to
Thanks!
On Sat, Jun 21, 2014 at 11:05 AM, Jorge I Velez
wrote:
> Hi Kate,
>
> You could try
>
> sum(X[, 1] == 1 & X[, 2] == 1)
>
> where X is your data set.
>
> HTH,
> Jorge.-
>
>
>
> On Sun, Jun 22, 2014 at 12:57 AM, Kate Ignatius
> wrote:
>>
>> I have 4 columns, and about 300K plus rows with
On Thu, Jun 12, 2014 at 2:31 PM, Patrick Connolly
wrote:
> On Mon, 09-Jun-2014 at 08:33AM +0100, Prof Brian Ripley wrote:
>
> |> The issue here is not trellis.device.
> |>
> |> You are using lattice plots (without mentioning lattice), which are
> |> based on package 'grid' and so using the grid su
Hi Kate,
You could try
sum(X[, 1] == 1 & X[, 2] == 1)
where X is your data set.
HTH,
Jorge.-
On Sun, Jun 22, 2014 at 12:57 AM, Kate Ignatius
wrote:
> I have 4 columns, and about 300K plus rows with 0s and 1s.
>
> I'm trying to count how many rows satisfy a certain criteria... for
> instan
I have 4 columns, and about 300K plus rows with 0s and 1s.
I'm trying to count how many rows satisfy a certain criteria... for
instance, how many rows are there that have the first column == 1 as
well as the second column == 1.
I've tried using rowSums and colSums but it keeps giving me this type
Dear Orvalo Augusto,
If you are using a PC, you need to get the zip file, not the tar.gz file.
It is at http://personality-project.org/r/src/contrib/
For Macs it is an “other repository” (source option) at
http://personality-project.org/r/
Bill
On Jun 21, 2014, at 12:36 AM, Orvalho A
As much as I admire RStudio for making these documentation formats easy to use,
they did not invent any of them. The closest they came to that was hiring Yihui.
Having occupied our time with your questions, it would be polite if you closed
the topic by explaining which approach you settled on an
Data?
Please have a look at https://github.com/hadley/devtools/wiki/Reproducibility
and/or
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
I don't see where you are tellling R what data.frame you are using.
p1 <- ggplot(NULL, aes(WUA_discharge,WUA_ta
Dear all thank you very much for all the advices and help :)
I think that Rstudio formats do what I need!
2014-06-21 3:31 GMT+02:00 David Winsemius :
>
> On Jun 20, 2014, at 2:40 AM, Luca Cerone wrote:
>
>> Hi Berend, sorry if it OT (though I think that the process is pretty
>> much Rstudio inde
26 matches
Mail list logo