Assigning rownames to DataFrames using DeployR in C#

93 Views Asked by At

I am using DeployR library to interface with R from C# .Net.

I am currently in the process of implementing DataFrames. I could create DataFrames with rows being numbered as 1,2,3.., but my requirement is to provide names to rows as it is supported with DataFrames in R. How to achieve this?

For example, I have my model has EmpId, Empname, EmpSalary, Age, DepartmentName. How to reference the rows in this dataframe using EmpName?

Thanks, Shiras

0

There are 0 best solutions below