[R] Сolor specification in KML() {raster} function

2014-11-01 Thread Антон Морковин
Good morning, I use raster package to process sattelite image maps. Could anyone help me with exporting data into KML? I have a raster image which I need to transfer into Google Maps. The colors of this image is described in raster@legend@colortable slot. Each color corresponds to raster cell v

[R] several questions about R graphic properties

2009-09-05 Thread Антон Морковин
I have a several questions about R graphic properties. I use a "barplot2" function for creating plots with error bars. My data include species' names in first column, and I need make plots for each species. I know how to select species for each plot: D<-read.table("FD_R.txt", h=T) Dens<-D[D[,1

[R] t-distribution values

2010-02-26 Thread Антон Морковин
Dear all, how to calculate values of t-distribution for given values of d.f. using R functions? Anton __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-proje

[R] A complex case of distribution fitting

2010-03-15 Thread Антон Морковин
Dear all, I need to fit a set of empirical data to cumulative normal distribution to find the mean and sd of theoretical distribution. But I assume that my data set describes only part of PDF, for example, only half of theoretical distribution. What function allows it in R? Thank

[R] (no subject)

2010-03-15 Thread Антон Морковин
-- Отправлено из мобильной Яндекс.Почты: http://m.ya.ru/ymail __ R-help@r-project.org mailing list 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

[R] (no subject)

2010-03-15 Thread Антон Морковин
-- Отправлено из мобильной Яндекс.Почты: http://m.ya.ru/ymail __ R-help@r-project.org mailing list 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

[R] (no subject)

2010-03-15 Thread Антон Морковин
Hi, How to fit data to cumulative normal distribution? I tried such way: library(MASS) ed<-c(1:10) cnd<-function(mn,sdd){pnorm(c(1:10),mn,sdd)} fitdistr(ed,cnd,start=list(mn=mean(ed),sdd=sd(ed))) .but an error occured: Error in solve.default(res$hessian) : function Lapack 'dgesv': system are

[R] Cumulative normal distr

2010-03-15 Thread Антон Морковин
Hi, How to fit data to cumulative normal distribution? I tried such way: library(MASS) ed<-c(1:10) cnd<-function(mn,sdd){pnorm(c(1:10),mn,sdd)} fitdistr(ed,cnd,start=list(mn=mean(ed),sdd=sd(ed))) .but an error occured: Error in solve.default(res$hessian) : function Lapack 'dgesv': system are

[R] Fwd: Cumulative normal distr

2010-03-16 Thread Антон Морковин
Hi, How to fit data to cumulative normal distribution? I tried such way: library(MASS) ed<-c(1:10) cnd<-function(mn,sdd){pnorm(c(1:10),mn,sdd)} fitdistr(ed,cnd,start=list(mn=mean(ed),sdd=sd(ed))) ..but an error occured: Error in solve.default(res$hessian) : functio

[R] Weighted Spearman Correlation with significance test

2010-04-15 Thread Антон Морковин
Hi all, does anybody know a useful function in R to calculate Weighted Spearman Correlation with p-values, particularly for matrices? Thanks, A. Morkovin __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

[R] t-criterion calculation using means and SE

2009-11-19 Thread Антон Морковин
Dear all, is there any functions which allow to calculate Student t-criterion using means, their SE and sample size? I've seek for, but bulit-in t-criterion works only with initial sample... Best regards, A.Morkovin __ R-help@r-project.org mailing l

[R] t-criterion calculation using means and SE

2009-11-19 Thread Антон Морковин
Dear all, I need to create n*n table with sums of all possible pair combinations of numbers from n-row column. What function allows it? Best regards, A.Morkovin __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEA

[R] t-criterion calculation using means and SE

2009-11-28 Thread Антон Морковин
Dear all, is there any functions which allow to calculate Student t-criterion using means, their SE and sample size? I've seek for, but bulit-in t-criterion works only with initial sample... Best regards, A.Morkovin __ R-help@r-project.org mailing l

[R] (no subject)

2010-02-01 Thread Антон Морковин
-- Отправлено из мобильной Яндекс.Почты: http://m.ya.ru/ymail __ R-help@r-project.org mailing list 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,

[R] Weighted SD

2010-02-01 Thread Антон Морковин
Dear all, what function can be used to calculate weighted SD or/and SE¿ There's no such stuff in 'base' package. Best regards, A.A.Morkovin __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting gui

[R] How to coerce an object name to character vector?

2013-12-09 Thread Антон Морковин
For example, I have a numeric vector named "d" (without any attributes) and I want to coerce it to character vector "d". Is there any such functions? I need it to make a function which applies other functions to objects, something like this: do<-function(x,fun, ...) { fun<-mat

[R] Slope comparision

2011-03-18 Thread Антон Морковин
Hi all, I need to test the significnce of difference between slopes of two regression lines and regression line with theoretical line. Is it correct to use t-test in this situation? Here is my script: library(car) d1<-data.frame(P1=c(1,2,3,5,7,8,9,13,14,15), P2=c(1,2,5,8,11,13,1

[R] Problem with Slope.test function

2011-03-18 Thread Антон Морковин
Hi all, I need to test the significnce of difference between slopes of two regression lines and regression line with theoretical line. I try to use Slope.test function from emu package, but an error occured... library(emu) d1<-data.frame(P1=c(1,2,3,5,7,8,9,13,14,15), P2=c(1,2,5,8,11,13,15,15,1

Re: [R] Problem with Slope.test function

2011-03-18 Thread Антон Морковин
; estimator. For your regression models m1 and m2 you can enter > > vcov(m1) > vcov(m2) > > to get the variance-covariance matrix of m1 and m2. Then, assuming that > the slope estimator is normal, you compute the p-value for slope_theo > with respect to this normal distribution.

[R] Weights for Kruskal-Wallis test

2012-03-24 Thread Антон Морковин
Hello, Is there any functions in R to proceed Kruskal-Wallis test with weights for each observation, without pseudoreplicating the sample? __ Best Regards A.A. Morkovin __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r