Top "Names" questions

"names" (plural) is an attribute of some R objects in the R language

How to use reference variables by character string in a formula?

In the minimal example below, I am trying to use the values of a character string vars in a regression …

r string formula paste names
Function to add names to data frame

I'm have a data frame without columns: df<-data.frame(v1=c(1:10), v2=seq(1, 100, length=10)) I want to change …

r dataframe names
R: losing column names when adding rows to an empty data frame

I am just starting with R and encountered a strange behaviour: when inserting the first row in an empty data …

r dataframe names rbind
Is there away to generate Variables' names dynamically in Java?

Let's say that I need to generate variables to hold some input from the user (I don't know how many …

java dynamic code-generation names
Specifying column names in a data.frame changes spaces to "."

Let's say I have a data.frame, like so: x <- c(1:10,1:10,1:10,1:10,1:10,1:10,1:10,1:10,1:10,1:10) df <- data.frame("Label 1"=x,"…

r dataframe names illegal-characters
Avoid that space in column name is replaced with period (".") when using read.csv()

I am using R to do some data pre-processing, and here is the problem that I am faced with: I …

r names read.csv
Numbers as column names of data frames

Is there a reason why R won't allow me to have a number as the column name of my dataframe? …

r dataframe names
PHP Regex for human names

I've run into a bit of a problem with a Regex I'm using for humans names. $rexName = '/^[a-z' -]$/…

php regex names
3 Dimensional Array Names in R

In the 3 Dimensional array bellow : ar <- array(someData, c(5, 5, 5)); rownames(ar) <- ...; #to set up row names …

arrays r names
Create variable names using a loop in Java?

first time poster, long time reader so be gentle with me :) See the following code which works to generate me …

java dynamic variables loops names