HI,
The question is not clear.
Lines1<- readLines(textConnection("Year, Day, Hour, Value
2010, 001, 0, 15.9
2010, 001, 1, 7.3
2010, 001, 2, 5.2
2010, 001, 3, 8.0
2010, 001, 4, 0.0
2010, 001, 5, 12.1
2010, 001, 6, 11.6
2010, 001, 7, 13.9
2010
Henry,
Have look at the qdap package's termco, wfm, adjacency_matrix, and (possibly)
word_associate functions. I'm not sure if they'll work as you really don't
give much in the way of what the data is and the desired output (an example of
the output).
Cheers,
Tyler Rinker
--
Hi all;
I have a data set with the format below:
Year, Day, Hour, Value
2010, 001,0,15.9
2010, 001,1,7.3
2010, 001,2,5.2
2010, 001,3,8.0
2010, 001,4,0.0
2010, 001,5,12.1
2010, 001,6,11.6
2010, 001,7,13.9
2010, 001,8,
Dear all,
I am facing a problem with running a script that i have written in R and i hope
you can help me spot which exactly is the problem and how i can solve it.
The error I get is the following:
Error in .jcheck(silent = FALSE) :
Java Exception .jcall(row[[ir]],
"Lorg/apache/poi/ss/us
I have a data frame with a character field of the form "ACUTE URI NOS", "OPEN
WOUND OF FOREHEAD", "CROUP", "STREP SORE THROAT",
How can I get counts of all the words and their co-occurences? I've spent a
long time searching on google, but it just takes me on a wild goose chase of
dozens o
I have a data frame with a character field of the form "ACUTE URI NOS", "OPEN
WOUND OF FOREHEAD", "CROUP", "STREP SORE THROAT",
How can I get counts of all the words and their co-occurences? I've spent a
long time searching on google, but it just takes me on a wild goose chase of
dozens o
Hi everyone.
I would like to know if it is possible to combine rasters in R to form a
"collage".
For example, I would like to place 2 copies of the R logo side by side.
r = raster(system.file("external/rlogo.grd", package = "raster"))
After reading the help file (maybe I missed it) I did no
On Fri, 6 Sep 2013 16:36:02 +0200, Francesco Miranda wrote:
FM> How to calculate the probability P (xt are two time series and q is a conditional quantile. thankFrancesco
FM> Miranda [[alternative HTML version deleted]]
FM>
This is a non-R question.
What do you know about these time series, sp
[Probably an R-Sig-geo question...]
On Fri, Sep 6, 2013 at 3:57 PM, philippe massicotte
wrote:
> Hi everyone.
>
> I would like to know if it is possible to combine rasters in R to form a
> "collage".
>
> For example, I would like to place 2 copies of the R logo side by side.
>
>
> r = raster(s
Hello,
I have developed this model to test change in PTFines6 over time. I have random
effects of watershed (HUC3) and management type (mgmt3), and then I have the
YrC/SiteID random effect which is the longitudinal time effect. But I recently
found out that I need to incorporate a compound cor
HI,
No problem. Suppose you have many matrices and you want to sum up the repeated
variables, may be this helps:
#Creating one more matrix which has some repeated variables.
m6<- as.matrix(read.table(text="y1 e5 s2
y1 0 1 1
e5 1 0 1
s2 1 1 0",sep="",header=TRUE))
#m1:m5 same as previous
dat
HI,
Using the example dataset (Test_data.csv):
dat1<- read.csv("Test_data.csv",header=TRUE,sep="\t",row.names=1)
indx2<-expand.grid(names(dat1),names(dat1),stringsAsFactors=FALSE)
indx2New<- indx2[indx2[,1]!=indx2[,2],]
res2<-t(sapply(seq_len(nrow(indx2New)),function(i) {x1<- indx2New[i,];
x2<-c
You would do better to post this on the R-sig-mixed-models or
R-sig-ecology list.
Cheers,
Bert
On Fri, Sep 6, 2013 at 9:57 AM, Meredith, Christy S -FS <
csmered...@fs.fed.us> wrote:
>
>
> Hello,
> I have developed this model to test change in PTFines6 over time. I have
> random effects of wate
I have been struggling to try many ways with old version of R tools,
MikTex, and R versions including R-patached and R-devel, os version
(windows 7 and 8), but no luck to pass R CMD check at all. It seems that
the missing inconsolata.sty is a key issue to bother so many R users,
especially for thos
Dear Gavin
I got the code to work by setting the 'bar' to DOY as this was the measured
time step. I stumbled across another problem, on some days I have multiple
measurements which isn't allowed in corCAR1, therefore I've had to take the
average of the replicates as suggested in another R help
Elaine:
You would do better posting this on the R-sig-ecology list, I believe. THE
r-help list is mostly for general R programming questions, while the
ecology list readers will have expertise more closely related to your
specific issues.
Cheers,
Bert
On Fri, Sep 6, 2013 at 3:25 PM, Elaine Kuo
Dear List,
This is Elaine, a postgraduate studying in bird distributions in East Asia.
I want to calculate Simpson dissimilarity index,
based on a presence/absence matrix of bird species in islands in East Asia.
(matrix row: 36 islands/matrix column: species ID)
(R package vegan to make NM
It looks like all of your problem are associated with failing to installing
dependencies of the plantbreeding package.
install.packages("qtl")
install.packages("ggplot2")
install.packages ("onemap")
install.packages("grid")
install.packages ("agricolae")
install.packages ("reshape")
install.packag
Hi Benjamin,
This looks like a bug, whereby melt fails when numeric id.vars have
attributes. Consider:
D <- structure(list(ID = c("A", "B", "C", "D", "E", "F", "G", "H", "I", "J"),
AGE = structure(c(68L, 63L, 55L, 64L, 60L, 78L,
60L, 62L, 60L, 75L),
On 06/09/2013 5:29 AM, Markus Gschwind wrote:
Hello,
I am a beginner of R but knowing SPSS and matlab.
I need to analyse my data with a mixed type cluster analysis, that's why I
am looking into R.
I have a datasheet with 45 subjects (rows) and 30 variables of each subjet
(columns) in Excel (da
On 06-09-2013, at 19:32, Waqas Shafqat wrote:
> -- Forwarded message --
> From: Waqas Shafqat
> Date: Fri, Sep 6, 2013 at 10:31 PM
> Subject:
> To: rosy...@msu.edu
>
>
> sorry sir
>
>
> i have istalled plantbreeding libraray..but when i give command
> "require(plantbreeding)
i dont think it works. is there any function in any package?
--
View this message in context:
http://r.789695.n4.nabble.com/Impute-missing-data-by-regression-in-R-tp2996520p4675516.html
Sent from the R help mailing list archive at Nabble.com.
__
R-he
I'm stumped. I have a dataset I want to melt to create a temporal sequence of
events for each subject, but in each row, I would like to retain the baseline
characteristics.
D <- structure(list(ID = c("A", "B", "C", "D", "E", "F", "G", "H", "I", "J"),
AGE = structure(c(68L,
-- Forwarded message --
From: Waqas Shafqat
Date: Fri, Sep 6, 2013 at 10:31 PM
Subject:
To: rosy...@msu.edu
sorry sir
i have istalled plantbreeding libraray..but when i give command
"require(plantbreeding)" then following message appear
> require(plantbreeding)
Loading require
gist with code and respective errors: http://goo.gl/r6VrHl
would appreciate any input on how to get around the java vm problem.
btw, the very idea of connecting R and netlogo is superb
copying Jan in case he might have some input
many thanks
__
R-help
Hello,
I am a beginner of R but knowing SPSS and matlab.
I need to analyse my data with a mixed type cluster analysis, that's why I
am looking into R.
I have a datasheet with 45 subjects (rows) and 30 variables of each subjet
(columns) in Excel (datasheet.csv) or SPSS (datasheet.sav).
In SPSS I
Does this modification work for you:
par(mar=c(10,4,4,2))
plot(set1$duration,set1$duration.1,type="b",col = "blue", ylab="", xaxt =
'n', xlab="",las=2,lwd=2.5, lty=1,cex.axis=2.5)
# now plot you times
axis(1
, at = set1$duration
, labels = format(set1$duration, format = "%H:%M")
, las
On Sep 6, 2013, at 9:36 AM, Francesco Miranda wrote:
> How to calculate the probability P (xt time series and q is a conditional quantile.
> thankFrancesco Miranda
You were told previously, directly and indirectly, that this is not the proper
place t
How to calculate the probability P (xt https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
That's perfect. Thanks!
On Fri, Sep 6, 2013 at 12:45 AM, Pascal Oettli wrote:
> Hello,
>
> Using a web search engine, I found, for example:
>
> http://www.unt.edu/benchmarks/archives/2003/february03/rss.htm
>
> http://sas-and-r.blogspot.jp/2012_09_01_archive.html
>
> Hope this helps,
> Pascal
>
On Fri, 6 Sep 2013, S Ellison wrote:
#Test data
ym <-as.data.frame(expand.grid(Y=c(2004:2006, 2010:2012), A=1:4)) #A is an
arbitrary variable to give us some panels.
ym$x <- runif(nrow(ym))
library(lattice)
#Plots without, andf with, a groups argument
xyplot(x~Y|A, data=ym, type="l")
xyplot(
>My xyplot() with superposed multiple condiions looks
> better with lines than with points (it's easier to see
> changes over time with the lines). But, there are gaps in the
> years (the x axis) for which there are data to be plotted.
> For example, there are data for years 2004-2006 and
On Sep 6, 2013, at 12:34 , Gerrit Eichner wrote:
> Hello, Francesco,
>
> these could be considered as two of the central questions in statistics in
> general ... but they do not necessarily have anything to do with R.
>
> Regards -- Gerrit
Yes.
However, since it is Friday and my brain is fri
It should work. I've used it several times with 3.01 in Linux. Just make
sure you load the library:
library(foreign)
day<-read.dta("filelocation/abc.dta")
Carlos
On Thursday, September 5, 2013, Debasish Roy wrote:
> I've been using R 3.0.1 version. I tried to read a file named abc.dta()
>
> I
Hello, Francesco,
these could be considered as two of the central questions in statistics in
general ... but they do not necessarily have anything to do with R.
Regards -- Gerrit
On Fri, 6 Sep 2013, Francesco Miranda wrote:
how can i calculate the probability of occurrence of an event and t
how can i calculate the probability of occurrence of an event and the
probability of an event upon the occurrence of another event.
P (A) and P (A | B) ..
[[alternative HTML version deleted]]
__
R-help
set1$duration<- as.POSIXct(paste('2013-08-24', set1$duration))
plot(set1$duration,as.numeric(levels(set1$duration.1)[set1$duration.1]),type="b",col
= "blue",
ylim=c(0,max(as.numeric(levels(set1$duration.1)[set1$duration.1]))),ylab="Duration",
xaxt = 'n', xlab="Time",las=2,lwd=2.5, lty=1,cex.ax
37 matches
Mail list logo