Displaying 8 results from an estimated 8 matches for "emptican".
Did you mean:
emoticon
2013 Aug 21
3
data import: strange experience
Dear List:
I had some strange experience in importing data. I wonder if anyone of you
had the same problem before and would greatly appreciate your suggestion in
advance.
The original data set in excel format.
Here is a brief summary of the procedure I did:
1. I saved the original excel data as csv and txt formats, separately.
2. I imported two data using the following codes. There were no
2013 Mar 13
2
Extract letters from a column
Dear list:
I would like to extract three letters from first and second elements
in one column and make a new column.
For example below,
> tempdf = read.table("clipboard", header=T, sep='\t')
> tempdf
name var1 var2 abb
1 Tom Cruiser 1 6 TomCru
2 Bread Pett 2 5 BrePet
3 Arnold Schwiezer 3 7 ArnSch
> (p1 =
2011 Mar 04
1
grouping data
Hi R-list,
I have a data set with plot locations and observations and want to label
them based on locations. For example, I have GPS information (x and y) as
follows:
> x
[1] -87.85092 -87.85092 -87.85092 -87.85093 -87.85093 -87.85093 -87.85094
[8] -87.85094 -87.85094 -87.85096 -87.85095 -87.85095 -87.85095 -87.85096
[15] -87.85096 -87.85096 -87.85096 -87.85088 -87.85088 -87.85087
2009 Sep 22
0
AIC vs. extractAIC
Dear list,
I am confused about two functions in R: AIC(fm) and extractAIC(fm). What is
the difference between two and when do I have to use one over the other? I
have found the similar question previously and still not clear for me to
understand. I also looked at '?AIC' and '?extractAIC' in R, which is also
unclear. I pasted faked data set, fitting summary, and AICs.
Thank
2009 Jul 15
1
Simulation code error
Dear List,
I have some problem with my simulation code. Here is output from R:
> sim.sp <- function(data,CM,n,N)
+ {
+ C <- matrix(rep(NA,N),ncol=1)
+ for(i in 1:N)
+ {
+ j <- n
+ xx <- which(colSums(CM[j,])==1)
+ V <- names(xx)
+ V <- paste(V, collapse="+")
+ V <- paste("SBA~", V)
+ rd <- round(nrow(data)*(2/3))
+ d <-
2009 Jul 15
1
Error in simulation R-code
Dear List,
I have got error message when I run the R-code. Can anyone has a suggestion?
v.code <- df.bm7[,c(10:31)]; v.code[1:3,]
names(v.code)
CM = v.code # variable binomial code
sim.sp <- function(data,CM,n,N)
{
C <- matrix(rep(NA,N),ncol=1)
for(i in 1:N)
{
j <- n
xx <- which(colSums(CM[j,])==1)
V <- names(xx)
V <- paste(V,
2011 Jan 14
0
Fwd: helps in data analysis
Dear List,
I posted this in R-mixed and did not receive any feedback. I might post it
in the wrong place. I re-post in R-help and hope to receive any suggestions
and\or thoughts regarding data analysis.
The objective of the study is to investigate effects of soil properties on
insect outbreaks. There are four study fields (or sites). Data were
collected from 1996 through 2009. Below is
2009 Sep 16
1
re-code missing value
Dear all,
I have partial data set with four colums. First column is "site" with three
factors (i.e., A, B, and C). From second to fourth columns (v1 ~ v3) are my
observations. In the observations of the data set, "." indicates missing
value. I replaced "." with NA. To replace "." with NA, I used two steps.
First, I replaced "." with NA, and