1. which(Exat Name == names(Data) ## Assuming Data is your data.frame
2. grep(Variable, names(Data))
Xiaohui
Dimitri Liakhovitski wrote:
Hello!
I have a data set with almost 2,000 variables (called 'Data').
I want to select only a set of variables that have a certain string in
them (e.g
see ?try
Jianping Jin wrote:
Dear group:
I wrote a code to iterate a non-linear fit with a set of data. The entire
process didn't implemented to the end because an error message, singular
gradient. I knew that some sub-sets (columns) do not fit my formula well
and may result in
Does system(command -arguments) works for you?
Xiaohui
akintayo holder wrote:
Hi,
Does any one know if it is possible to create an R script that can use
command line parameters. I can execute an R script from the command line,
but I cannot figure out how to pass parameters to the script
Hi,
Try MCLUST package. You can use the hierarchical clustering to find the
starting values of your EM.
Xiaohui
[EMAIL PROTECTED] wrote:
Hi,
I have a problem of estimating a mixture of two normal distributions. I
need to find the starting points automatically, since this is a part
Try: D1[setdiff(D1$dates,D2$dates) , ]
Xiaohui
[EMAIL PROTECTED] wrote:
Good day everyone,
Can anyone suggest an effective method to solve
the following problem:
I have 2 dataframes D1 and D2 as follows:
D1:
dates ws wc pwc
2005-10-19:12:00 10.8 80 81
2005-10-20
Jim Lemon wrote:
Xiaohui wrote:
... Then, I did a heatmap for 'test' matrix. But for now, I want to
specify each of the cell in the heatmap according to the values of
the corresponding matrix elements of test.
Let's say: col-c(red,yellow,green)
for test[1,1], the color on the map should
because the rect shift from the original map. Could any one
tell me how to fill the cells on the map with corresponding values? Or
can we get the actual coordinates of the image excluding the dendregram.
Any help would be appreciated. Thanks in advance!
Xiaohui
the rect shift from the original map. Could any one
tell me how to fill the cells on the map with corresponding values? Or
can we get the actual coordinates of the image excluding the dendregram.
Any help would be appreciated. Thanks in advance!
Xiaohui