Displaying 20 results from an estimated 500 matches similar to: "scatter plot with Z value"
2011 Apr 30
4
QQ plot for normality testing
Hi all,
I am trying to test wheater the distribution of my samples is normal with QQ plot.
I have a values of water content in clays in around few hundred samples. Is the code :
qqnorm(w) #w being water content
qqline(w)
sufficient?
How do I know when I get the plots which distribution is normal and which is not?
Thanks, m
[[alternative HTML version
2011 Jul 13
3
adding text to spplot
hi all,
I have a plot to which i would like to add text labels. And i cant find a way...here is the code :
enaD2<-idw(D2~1, loca=dva, newdata=grd)
pts = list("sp.points", dva, pch = 20, cex=1.5, col = "darkred
spplot(enaD2, "var1.pred",sp.layout=pts, main = "globina 60 cm", sub="D2",
2011 May 02
3
subseting data
Hi,
Is it possible (i am sure it is) to subset data from a data.frame on the basis of SQL >LIKE< operator. I.e., i would like to subset a data where only values which contains a string >GP< would be used?
Example:
Gp<-subset(DF, DF$USCS like >GP<)
This like of course is not working,
Thanks, m
[[alternative HTML version deleted]]
2011 Nov 28
1
Comparing data
Hi all,
i have a data set cintaining 14 columns and 11 rows. Rows represent single point and columns represent the parameter measured.
I wiuld like to compare the data to see which are more alike. I used the cluster analysis, but now i ma wondering if there are some other methods, since the cluster analysis did not give me the result i like.
I tried to use factanal() for factor analysis
2010 Nov 02
1
splitting First 10 words in a string
Hi Steven,
Thank you for the help. I get an error though when i do this :
>lit<-read.csv("litologija.csv", sep=";", dec=".")
>sent <-data.frame(sentence=lit$Opis,stringsAsFactors=FALSE)
>str(sent)
>sentV<-rep(sent,10)
>str(sentV)
>first=second=third=fourth=fifth=sixth=seventh=eighth=ninth=tenth<-vector(length=10)
>DF
2010 Nov 20
1
Zerodist
Hi all,
I got the
>"chfactor.c", line 130: singular matrix in function LDLfactor()
Error in predict.gstat(g, newdata = newdata, block = block, nsim = nsim, :
LDLfactor<
Error, probably because there are some point pairs with zero distance in the matrix. My question is, how can i delete these duplicate nodes from the data set?
Thanks, m
[[alternative
2013 Feb 16
7
Passing R code from webpage
Hi all,
Is there a way to pass R code from web page (html file) to do some
statistics and than plot the output in web browser.
I am looking forever at this, and cant find a way.
Regards,m
--
View this message in context: http://r.789695.n4.nabble.com/Passing-R-code-from-webpage-tp4658800.html
Sent from the R devel mailing list archive at Nabble.com.
2010 Nov 02
2
count different words in a field
Hi all,
I started to ask this in the other post, but it is off topis...so here it is again.
I have a data.frame (created with the helpof this mail list) that looks like this :
'data.frame': 22801 obs. of 15 variables:
$ V1 : chr "HUMUS" "SLABO" "MALO" "SLABO" ...
$ V2 : chr "IN" "GRANULIRAN"
2010 Oct 13
4
loop
Dear all,
I am trying to run a loop in my codes, but the software returns an error: "subscript out of bounds"
I dont understand exactly why this is happenning. My codes are the following:
rm(list=ls()) #remove almost everything in the memory
set.seed(180185)
nsim <- 10
mresultx <- matrix(-99, nrow=1000, ncol=nsim)
mresultb <- matrix(-99, nrow=1000, ncol=nsim)
N
2010 Nov 03
1
deleteing all but some observations in data.frame
Hi,
I am sure that can be done in R....
How would i delete all but let say 20 observations in data.frame?
Thank you, M
[[alternative HTML version deleted]]
2010 Nov 01
1
spliting first 10 words in a string
Hi all,
I have a columnn with text that has quite a few words in it. I would like to split these words in separate columns, but just first ten words in the string. Is that possible in R?
Thank you, m
[[alternative HTML version deleted]]
2011 May 21
1
DocumentTermMatrix error
Hi all,
I have tried to create a DocumentTermMatrix with a tm package, but i get this error :
Error in tolower(txt) :
invalid input 'PROD Z LAHKO GNETNO MELJNO GLINO, ... in 'utf8towcs'
I tried doing this as it is showed in :
http://www.r-project.org/doc/Rnews/Rnews_2008-2.pdf (An Introduction to Text Mining),
with this R code :
2007 Sep 12
3
R: to view the memory
Hello,
I am wondering if it is possible to view what variables and vairable
values are stored in the R memory. This to enable debugging of R-scripts
I write.
Sumit
[[alternative HTML version deleted]]
2010 Oct 14
6
for loop
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 a matrix
x <- seq(0,1, by=0.1)
result <- matrix(0, nrow=6, ncol=length(x))
for (i in
2010 Dec 06
3
Please help with write.foreign(SPSS)
Dear all,
I get stuck when i try to export the data into SPSS format/file using
"write.foreign()"
Do you know how to do it exactly?
What i have done is
1) First i type the following code in R:
df<-data.frame(id,year,res1)
names(df)<-c("idcode","year","resarrvl")
2006 Jun 23
1
rearranging data frame rows
Hi All,
I have two data frames. The first contains data about a number of individuals,
coded in the first column with a name, in an order I find convenient.
The second contains different data about the same indivduals, in a different
order. Both data frame have the individual names in the first column.
I need to reorder the second data frame so the rows are rearranged in the same
manner as
2008 Jun 02
1
Ancova: formula with a common intercept
I have some data with two categorises plus/minus (p53) and a particular
time (Time) and the outcome is a continuous vairable (Result). I set up
a maximum model.
ancova <- lm(Result~Time*p53)
> summary(ancova)
..
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 0.05919 0.55646 0.106 0.916
Time -0.02134 0.01785 -1.195 0.241
p53plus
2011 Jul 01
3
multiple moderated regression steps
hi,
?m studying moderated effects of percieved social support and justice world
belief on relationship between stress coping strategies and depression
level. ? haver never run this analysis before soi ? want to check my steps
whether correct or not.
first ? run regression
in step 1
centered independent variables and centered moderators
in step2
two way interactions
instep 3
three way
2010 Aug 11
3
Using command line --file or -f
*What I want to do:
*Create a windows shortcut that will start the R gui **and**
simultaneously source a file
*What I have already tried:
*This almost works, but it's not the interactive R GUI:
R --no-save --sdi -file="C:\SomePath\example.R"
These open the R GUI, but doesn't recognize -f --f --file -file
RGUI --no-save --sdi -file="C:\SomePath\example.R"
2011 Nov 02
5
[LLVMdev] About JIT by LLVM 2.9 or later
Hello guys,
Thanks for your help when you are busing.
I am working on an open source project. It supports shader language
and I want JIT feature, so LLVM is used.
But now I find the ABI & Calling Convention did not co-work with MSVC.
For example, following code I have:
struct float4 { float x, y, z, w; };
struct float4x4 { float4 x, y, z, w; };
float4 fetch_vs( float4x4* mat