similar to: tapply and NA value

Displaying 20 results from an estimated 400 matches similar to: "tapply and NA value"

2004 Dec 10
1
bar charts
Hi, I'd like plot a bar graphic of a array. I'd like to have the values of the single columns as juxtaposed bars (like in "barplot" with beside=TRUE) and I'd like to have the values of the single columns expressed like percentage of the sum of the coloumn. In this way all the bars are composed by the sum of the percentage of the values of a coloumn (with different colors)
2005 Aug 05
1
lda discriminant functions
Hi list, I'm looking about lda function. I'd like to know how calcolate the value of the discriminant functions for the original datas. I see that in the result object "lda" there is $scaling a matrix which transforms observations to discriminant functions, normalized so that within groups covariance matrix is spherical. I'd like to have the value of the discriminant
2005 Aug 03
1
lda function
Hello, I'm tring to make a linear discriminant analysis eith lda (MASS). In the value of the resulting object is there information about the value of the centroids of the discriminated group for the discriminant functions? Thank you in advance for your help! Leonardo -- Leonardo Lami lami at faunalia.it www.faunalia.it Via Colombo 3 - 51010 Massa e Cozzile (PT), Italy Tel:
2006 Aug 09
1
data.frame to shape
Hi all, I have a simple question: I have a data.frame like this: id x y 1 50 1647685 4815259 2 50 1647546 4815196 3 50 1647454 4815294 4 50 1647405 4815347 5 50 1647292 4815552 6 50 1647737 4815410 7 74 1647555 4815201 8 74 1647464 4815023 9 74 1646970 4815129 10 74 1646895 4815264 11 74 1646762 4815513 and I'd like to trasform it with the "convert.to.shapefile"
2006 Aug 09
0
R: data.frame to shape
assuming that the rows are sorted correctly dat id x y 1 50 1647685 4815259 2 50 1647546 4815196 3 50 1647454 4815294 4 50 1647405 4815347 5 50 1647292 4815552 6 50 1647737 4815410 7 74 1647555 4815201 8 74 1647464 4815023 9 74 1646970 4815129 10 74 1646895 4815264 11 74 1646762 4815513 > list.dat<-split(dat, dat$id) > > closed.polygons<-lapply(list.dat,
2007 Jul 03
2
select row
Hi all, I have a little problem selecting some rows from a data.frame. I'd like to select the rows where a determinated column take a partivolar value. For example: tab id x y 1 24-2005 1621814 4834991 2 24-2005 1621856 4834907 3 24-2005 1621763 4834956 4 25-2006 1622330 4835189 5 25-2006 1622533 4834834 6 25-2006 1622535 4834909 7 25-2006 1622543
2007 Apr 04
2
selection of character
Hi all, I have a simple question: I have a character vector like this [1] "10_1" "1_1" "11_1" "2_1" "3_1" "4_1" "5_1" "6_1" "7_1" "8_1" [11] "9_1" "1_3" "2_3" "3_3" "4_3" "1_4" "2_4" "3_4"
2006 Sep 18
1
PHP Dingus Fix
I just realised I hadn't updated the version of PHP Markdown and Extra on the dingus as I pretended I did in my two announcements. It is now fixed: PHP Markdown 1.0.2b7 and PHP Markdown Extra 1.1b1 can now be tested on the dingus. <http://www.michelf.com/projects/php-markdown/dingus/> Sorry for any inconvenience. Michel Fortin michel.fortin@michelf.com http://www.michelf.com/
2009 Mar 02
2
R-code help for filtering with for loop
Dear Sir / Madam, I am new for R coding. Kindly help me out in sorting out the following problem. There are 50 rows with six coloumns(you could see in the attached .txt file). I wish to go for filtering this 50 rows for any one of the six coloumns satisfying the value >= 64. I need to have a final table with rows having >= 64 value in any one of the six coloumns and the rest could be
2011 May 05
1
problem with location of libraries 64-bit (opensuse)
Dear list, there seems to be a problem with the standard location of R?s 64-bit libs at least under openSUSE. I had two user questions regarding the compilation of rpy2 for 64-bit systems. Personally I don`t know rpy2 but maybe someone on this list can decide if the mistake lies on R`s side or on rpy2?s side or in between. R-devel is installed in these cases, I asked. Latest R-base or
2008 Jun 10
4
Hello
Hello, I am facing a problem in drawing heat map using R. I have a 70X3 matrix and I want to draw a heat map with 1 coloumn on X axis another on Y axis and want to show the value of 3rd coloumn using heat colours. Could you please help me with this . Thank you . Regards, Sumit [[alternative HTML version deleted]]
2008 Oct 27
0
adehabitat version 1.8
Dear all, I have uploaded to CRAN the version 1.8 of the package 'adehabitat'. Significant changes are listed below: * getverticeshr now relies on the function contourLines(), and returns smoother estimates of the kernel home range (see the help page). * the new function kernelkc (and related functions) now allows the estimation of the utilization distribution in space and time of
2011 Jun 07
3
Classifying boolean values
Hi to all, I'm new to this forum and new to R. I have to build a tree classifier that has boolean values as response. When I build the tree with: echoknn.tree <- tree(class ~ ., data=echoknn.train) where "class" is a coloumn of my dataset (echoknn.train) of boolean values, the result is a tree where leaf nodes are numbers in the range [0,1]; but this isn't the result that I
2007 Oct 29
5
problem in starting xend
problem in starting xend I tried to install xen, but got some errors when starting xend. as I logged in and tried to start xend (/etc/init.d/xend start). I just got six-seven dot (.) printed out, then it stops. I looked more closely and found that xend could not start. then I looked at /var/log/xend-debug.log. here is the last few lines: ^^^    Exception starting Xend: no element found:
2009 Apr 29
3
mode(x) <- "double"
Hi, I need your help!! I imported a big coloumn vector from a txt file but it results as mode :"list" I want to change it in numeric otherwise I can't do my analysis. This is what i get: mode (data) <- "double" Error in eval(expr, envir, enclos) : (list) object cannot be coerced to type 'double' > Thanks a lot!!! Alessandra -- View this message in
2000 May 25
4
Needed: Understading runif() output :-)
Dear all, I have been trying to understand what runif() is telling me. I am generating lots of numbers (billions and billions (wow, I''ve dreamed about saying that for many years... :-) ), for a distribution that has the following quantile function: 1 / (2 * sqrt(1 - p)) (that is, the distribution has a lower cutoff) As you can imagine, this has rather heavy upper tail. I was
2006 Jun 16
1
Assignemt problem ,,,,,,,,,,,,,,,
  Hello list, i have a very simple question about matrix assignment. i did like this. res<-1:30 dim(res)<-c(5,6) ind<-1:6 now i want to assign the value of this variable ind to first coloumn in matrix res. like res[,1]<-ind but this code is giving error , Actualy i have a for loop and value of ind variable is changing every time ,,total 6 times,,i want to assign every vlaue
2005 Nov 18
1
pr[in]comp: predict single observation when data has colnames (PR#8324)
To my knowledge, this has not been reported previously, and doesn't seem to have been changed in R-devel or R-patched. If M is a matrix with coloumn names, and mod <- prcomp(M) # or princomp then predicting a single observation (row) with predict() gives the error Error in scale.default(newdata, object$center, object$scale) : length of 'center' must equal the number of
2012 Oct 04
1
data structure for plsr
I am having a similar problem understanding the data structure of the "yarn" dataset described in the "[R] data structure for plsr" posts. I have spectroscopic data I'd like to run through a PLSR and have read the tutorial series, but still do not understand the data format required for the code to process my data. My current data structure consists of a .csv file read into
2018 Apr 17
2
Time intervals in a datframe
Hi all I have a list of multiple datframes with the same column headers. The last column in each datframe contains a vector of "Interval" class after I have produced this column using "lubridate" package. I needed to convert my list of dataframes to be in a single dataframe for further analysis. I did this using the following syntax : SingleDataframe <- ldply