You can use assign
(doc) to change the value of perf.a1:
> assign(paste("perf.a", "1", sep=""),5)
> perf.a1
[1] 5
More Related Contents:
- Example of using dput()
- How to use grep()/gsub() to find exact match
- calculate the mean for each column of a matrix in R
- Unable to install packages in latest version of RStudio and R Version.3.1.1 [duplicate]
- Check if the number is integer
- How can I make consistent-width plots in ggplot (with legends)?
- R.exe, Rcmd.exe, Rscript.exe and Rterm.exe: what’s the difference?
- Specification of first and last tick marks with scale_x_date
- How to flatten a list of lists?
- Why is allow.cartesian required at times when when joining data.tables with duplicate keys?
- How to organize large R programs?
- Plotting over multiple pages
- What do the %op% operators in mean? For example “%in%”?
- How to learn R as a programming language [closed]
- What’s the difference between lapply and do.call?
- Stepwise regression using p-values to drop variables with nonsignificant p-values
- Finding overlap in ranges with R
- R Convert to date from multiple formats
- Creating a unique sequence of dates
- Convert binary string to binary or decimal value
- Multiple ggplots of different sizes
- Determine the number of NA values in a column
- R: What do you call the :: and ::: operators and how do they differ?
- how to spread or cast multiple values in r [duplicate]
- Conditionally Count in dplyr
- propagating data within a vector
- rbind error: “names do not match previous names”
- Programmatically insert header and plot in same code chunk with R markdown using results=’asis’
- ggplot geom_text font size control
- What’s the difference between `=` and `