Giter Site home page Giter Site logo

Comments (3)

melff avatar melff commented on July 21, 2024

The labels are not lost, they simply do not show up individually in the output str(), which just summarily reports that there are 9 labels present. You can see the labels with codebook(e).

from memisc.

buhtz avatar buhtz commented on July 21, 2024

That doesn't fix the problem. Please re-open and don't close a feauter before the opener told it is fixed. It is unpolite and wasting ressources.

The point is I need to use the labels for the ticks in some plots.

I can do this on the original 'data.set`.

> levels(d$a_strat)
[1] "(1,11]"  "(11,21]" "(21,31]" "(31,41]" "(41,51]" "(51,61]" "(61,71]"
[8] "(71,81]" "(81,91]"

But I can not do this

> levels(e)
NULL

You are right, I see kind of lables in the output of codebook(). But I can I get them as a list?

from memisc.

melff avatar melff commented on July 21, 2024

GitHub's issue reporting infrastructure is for bug reports, not for support questions. Therefore it is not impolite to close an issue that is a support question. Please respect that offering an open source R-package is voluntary work and does not oblige those who contribute a package to offer support. Before you file issues, please make sure that you have read and understand the documentation of the package, otherwise you are wasting the time of those who offer an open source software like 'memisc'. If you had read the documentation thoroughly enough you may have realized that "data.set" objects are meant to contain "item" objects. Those in turn are designed to serve a particular purpose, that is to facilitate management of data generated from social science surveys. Items with value labels inside a "data.set" object will usually be transformed into factors if the "data.set" object that contains them is transformed into a data frame.

from memisc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.