Displaying 7 results from an estimated 7 matches for "v6t1z4".
Did you mean:
26t14
2012 Aug 01
2
plotting 0,1 data
Hello,
Anyone know why the command:
> plot(x,y) where y is a 0,1 result
sometimes plots the y values as 1,2 rather than 0,1?
And how to prevent this?
Thank you,
Georgiana May
[[alternative HTML version deleted]]
2012 May 07
2
Matrix "BYTES" size
Dear R people.
I´m facing a big problem.
I need to create a matrix with 10.000 columns and 750.000 rows.
matrix<- as.data.frame(matrix(data=0L, nrow=750000, ncol=10000)
as you can see, the data frame has huge dimesions. I was able to find out
about thr "L" in data, this way I´m telling that my data is "integer"
class. By doing this
object.size(matrix) tells me that this is
2012 Jul 30
2
Alternating between "for loops"
Dear All,
I would like to apply two different "for loops" to each set of four columns
of a matrix (the loops here are simplifications of the actual loops I will
be running which involve multiple if/else statements).
I don't know how to "alternate" between the loops depending on which column
is "running through the loop" at the time.
## Set up matrix
J <- 10
N
2012 Apr 30
2
Generate Dendrogram
Hi
I have a distance matrix which is computed by user defined method. I
would like to plot the dendrogram. I would like to use different color
and want the leaves laying down bottom.
The script like this. I am not familiar with R. I followed the example
shown in
http://stat.ethz.ch/R-manual/R-devel/library/stats/html/dendrogram.html
dist.obj <- as.dist(matrix.distance)
hc.obj <-
2012 May 17
3
New Eyes Needed to See Syntax Error
One of many scripts to produce 4 lattice plots on one page keeps throwing
an error. I've tried manipulating the file to eliminate the error, but have
not been able to do so. The error is:
> source('bicarb.R')
Error in source("bicarb.R") : bicarb.R:15:1: unexpected symbol
14: 15: hco33
^
The 'h' is in column 0 so the caret would be column -1, but it's
2012 May 08
3
Unexpected input while building package in R
I am a newbie in R, and I am trying to build an R package but I keep getting
an unexpected input error when I try using the build, check or install
commands. I used the following command to generate the skeleton:
package.skeleton("test")
After this I went to the command prompt and to the directory with the test
folder and ran the command:
R CMD build test
I got the following error
2012 Aug 29
5
Extracting the name of a function (inverse of match.fun("myFun"))
Hi all,
is there a way to extract the name of a function, i.e. do the reverse
of match.fun applied to a character string? I would like to print out
the name of a function supplied to another function as an argument.
For example:
myFunc = function(x) { x+1 }
applyFunc = function(fnc, x)
{
fnc = match.fun(fnc)
fnc(x)
}
Is there a way to obtain "myFunc" from the argument fnc in